svn diff --summarize http://${REPOSITORY}/tags/${tag_name} http://${REPOSITORY}/tags/${tag_name_2}
Author Archives: james
SVN – Difference between 2 tags
svn diff --summarize http://${REPOSITORY}/svn/online/tags/build/${BUILD_NUM} http://${REPOSITORY}/svn/online/tags/build/${BUILD_NUM}
SVN – Diff between 2 revision numbers of repository
cd ~/workspaces/foo_repo/trunk svn log -r ${num1}:${num2}
SVN Diff between 2 dates in a local working repository
svn log ${url} -r {2006-08-09}:{2006-08-17}
SVN Access – svn_access_file
Edit your svn_access_file
This example is for a repo called foo.
[groups] admin = jsmith foo_mgt = dapeople foo_dev = gwashington, bclinton, rreagon foo_qa = rnixon, alincoln everyone = @foo_mgt, @foo_dev, @foo_ga ... # # Establish Repository Access by Group. # [foo:/] @admin = rw @foo_dev = r @foo_qa = r [foo:/branches] @admin = rw @foo_dev = rw @foo_qa = rw @everyone = r [foo:/tags] @admin = rw @foo_dev = rw @foo_qa = rw @everyone = r
SVN – Show details of a specific version
$ svn log -vr 784 ------------------------------------------------------------------------ r784 | who | 2011-01-25 18:47:49 -0800 (Tue, 25 Jan 2011) | 1 line Changed paths: M /branches/app-1_0/app1/.classpath R /branches/app-1_0/app1/pom.xml D /branches/app-1_0/app1/src/main/java/com/rest/response/elements A /branches/app-1_0/app1/src/main/webapp/schema/binding.xjb App-1 -> modify some files & delete the elements dir.. ------------------------------------------------------------------------
SVN – Check out specific version of a file
In SVN, you cannot checkout a specific file. You must check out a directory. Therefore, you check out the parent directory then update the specific file.
$ svn update -r27684 release-build.xml U release-build.xml Updated to revision 27684.
Solaris – Shutdown zone
<cmsys1:2388># zoneadm -z ${zonename} halt
Solaris – Reboot a zone
<cmsys1:2388># zoneadm -z ${zonename} reboot
Solaris – Log into zone
<cmsys1:2388># zlogin -C nagios