Difference: DIRAC3SVN (2 vs. 3)

Revision 32009-12-07 - JoelClosier

Line: 1 to 1
 
META TOPICPARENT name="DiracProject"

Dirac SVN Repository

Line: 113 to 113
 Environment variables for the repositories:
  • DIRACCVS=:kserver:isscvs.cern.ch/local/reps/Dirac
  • DIRACSVN
Changed:
<
<
anonymous read-only access
DIRACSVN=https://svnweb.cern.ch/guest/dirac
>
>
anonymous read-only access
DIRACSVN=http://svnweb.cern.ch/guest/dirac
 
read-write access
DIRACSVN=svn+ssh://svn.cern.ch/reps/dirac

Checkout

  • Checkout head version of a package
    • cvs

Changed:
<
<
cvs -d $DIRACCVS checkout DiracConfig
>
>
cvs -d $DIRACCVS checkout LHCbDIRACConfig
 
    • svn

Changed:
<
<
svn checkout $DIRACSVN/DIRAC/DiracConfig/trunk/DiracConfig
>
>
svn checkout $DIRACSVN/LHCbDIRAC/trunk/LHCBDIRACConfig
 
  • Checkout tagged version of a package
    • cvs
Line: 133 to 133
 
    • svn

Changed:
<
<
svn checkout $DIRACSVN/DIRAC/tags/DiracConfig/v20r0 DiracConfig
>
>
svn checkout $DIRACSVN/DIRAC/tags/LHCbDIRACConfig/v1r0 LHCbDIRACConfig
 
  • Checkout a complete project head version
    • cvs (Dirac only)
Line: 144 to 144
 
    • svn

Changed:
<
<
svn checkout $DIRACSVN/DIRAC/trunk DIRAC
    • svn read-only access
      svn checkout $DIRACSVN/distribution/tags/DIRAC/DIRAC_HEAD DIRAC
>
>
svn checkout $DIRACSVN/LHCbDIRAC/trunk LHCbDIRAC
 
  • Checkout tagged version of a complete project
    • cvs (Dirac only)
      mkdir -p DIRAC/DIRAC_v20r0
      cd DIRAC/DIRAC_v20r0
Changed:
<
<
cvs -d $DIRACCVS checkout -r DIRAC_v20r0 all
>
>
cvs -d $DIRACCVS checkout -r DIRAC_v1r0 all
 
    • svn
      mkdir DIRAC
      cd DIRAC
Changed:
<
<
svn checkout $DIRACSVN/DIRAC/tags/DIRAC/DIRAC_v20r0
>
>
svn checkout $DIRACSVN/LHCbDIRAC/tags/LHCBDIRAC/LHCBDIRAC_v1r0
 

Commit

Line: 209 to 205
 
    • svn

Changed:
<
<
svn switch $DIRACSVN/PROJECT/trunk/MyPackage
>
>
svn switch $DIRACSVN/LHCbDIRAC/trunk/MyPackage
 
  • Move the working copy from the current tag to the another tag (assuming you are in the top directory of the package)
    • cvs
Line: 218 to 214
 
    • svn

Changed:
<
<
svn switch $DIRACSVN/PROJECT/tags/MyPackage/other_tag
>
>
svn switch $DIRACSVN/LHCbDIRAC/tags/MyPackage/other_tag
 

Check for updates in the repository

Line: 252 to 248
 
    • svn

Changed:
<
<
svn diff $DIRACSVN/PROJECT/tags/MyPackage/tag1 $DIRACSVN/POJECT/tags/MyPackage/tag2
>
>
svn diff $DIRACSVN/LHCbDIRAC/tags/MyPackage/tag1 $DIRACSVN/LHCbDIRAC/tags/MyPackage/tag2
 

Tagging and Branching

Line: 263 to 259
 
    • svn

Changed:
<
<
svn cp . $DIRACSVN/PROJECT/tags/MyPackage/the_tag
>
>
svn cp . $DIRACSVN/LHCbDIRAC/tags/MyPackage/the_tag
 
  • Tag the head version in the repository
    • cvs
Line: 272 to 268
 
    • svn

Changed:
<
<
svn cp $DIRACSVN/PROJECT/trunk/MyPackage $DIRACSVN/PROJECT/tags/MyPackage/the_tag
>
>
svn cp $DIRACSVN/LHCbDIRAC/trunk/MyPackage $DIRACSVN/LHCbDIRAC/tags/MyPackage/the_tag
  Branching is done in CVS addind the option '-b' to the command 'tag', while in Subversion it is enough to replace tags with branches.
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback