XuvTools is developed in a cooperative effort from:
  • Chair of Pattern Recognition and Image Processing [www]
  • Friedrich Miescher Institute for Biomedical Research [www]
  • Center for Biological Systems Analysis [www]
 

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
devel:subversion_examples [2009/07/23 21:45]
mario fixed layout, added more details
devel:subversion_examples [2010/01/14 14:20]
niko generalized svn tagging instructions
Line 21: Line 21:
  
 Since we do not need (or want) to tag the whole trunk directory, we can select the individual parts we need: Since we do not need (or want) to tag the whole trunk directory, we can select the individual parts we need:
 +<​code>​
 +TAG_REVISION="​3176"​
 +TAG_NAME="​xuvtools-1.7.0"​
 +TAG_DIRS="​libBlitzFFTW libBlitzHDF5 libBlitzNetCDF libGenFile \
 +    libcmdline project thirdparty xuvtools xuvtools_gui"​
 +
 +svn mkdir -m "​created base directory for ${TAG_NAME} tag" \
 +    svn://​tim.informatik.uni-freiburg.de/​lmbsoft/​tags/​${TAG_NAME}
 +for DIR in ${TAG_DIRS} ; do
 +    svn copy -r ${TAG_REVISION} -m "​tagged ${TAG_NAME} (${DIR}) from trunk r${TAG_REVISION}"​ \
 +        "​svn://​tim.informatik.uni-freiburg.de/​lmbsoft/​trunk/​${DIR}"​ \
 +        "​svn://​tim.informatik.uni-freiburg.de/​lmbsoft/​tags/​${TAG_NAME}/​${DIR}"​ \
 +        || break
 +done
 +</​code>​
 +
 +Branching is done in the exact same way, by changing the server directory to %%svn://​tim.informatik.uni-freiburg.de/​lmbsoft/​branches/​%%.
 <​code>​ <​code>​
 RELEASE_REVISION="​2768"​ RELEASE_REVISION="​2768"​
-svn mkdir -m "​created base directory for xuvtools-1.5.release ​tag" \ +svn mkdir -m "​created base directory for xuvtools-1.5.release ​branch" \ 
-    svn://​tim.informatik.uni-freiburg.de/​lmbsoft/​tags/​xuvtools-1.5.0 +    svn://​tim.informatik.uni-freiburg.de/​lmbsoft/​branches/​xuvtools-1.5.x 
-TAGDIRS="​libBlitzFFTW libBlitzHDF5 libBlitzNetCDF \+BRANCHDIRS="​libBlitzFFTW libBlitzHDF5 libBlitzNetCDF \
     libGenFile libcmdline project thirdparty xuvtools \     libGenFile libcmdline project thirdparty xuvtools \
     xuvtools_gui"​     xuvtools_gui"​
-for DIR in ${TAGDIRS} ; do +for DIR in ${BRANCHDIRS} ; do 
-    svn copy -r ${RELEASE_REVISION} -m "tagged ​xuvtools-1.5.${DIR}"​ \+    svn copy -r ${RELEASE_REVISION} -m "branched ​xuvtools-1.5.${DIR}"​ \
         "​svn://​tim.informatik.uni-freiburg.de/​lmbsoft/​trunk/​${DIR}"​ \         "​svn://​tim.informatik.uni-freiburg.de/​lmbsoft/​trunk/​${DIR}"​ \
-        "​svn://​tim.informatik.uni-freiburg.de/​lmbsoft/​tags/​xuvtools-1.5.0/​${DIR}"​ \+        "​svn://​tim.informatik.uni-freiburg.de/​lmbsoft/​branches/​xuvtools-1.5.x/​${DIR}"​ \
         || break         || break
 done done
 </​code>​ </​code>​
- 
-Branching is done in the exact same way, by using the server directory %%svn://​tim.informatik.uni-freiburg.de/​lmbsoft/​branches/​%%. 
  
 ====== More Hands-On Examples for Subversion ====== ====== More Hands-On Examples for Subversion ======
devel/subversion_examples.txt · Last modified: 2010/01/14 14:20 by niko
Contact: admin(a)xuvtools.org