cvs.rst
changeset 1829 f001ff60c027
parent 1437 caeb534c6e59
child 1830 b4a5c76521df
equal deleted inserted replaced
1828:89380c212670 1829:f001ff60c027
    92 Revert file::
    92 Revert file::
    93 
    93 
    94   $ rm $file            # remove it from local sources
    94   $ rm $file            # remove it from local sources
    95   $ cvs update $file    # get a new copy from the repository
    95   $ cvs update $file    # get a new copy from the repository
    96 
    96 
    97 List of CVS branches.
    97 Working with CVS branches.
    98 =====================
    98 ==========================
    99 
    99 
   100 There are no such command but this command allow extract such info::
   100 There are no such command but this command allow extract such info::
   101 
   101 
   102   $ cd $CVS_PROJ
   102   $ cd $CVS_PROJ
   103   $ cvs rlog -l -h -b $(cat CVS/Repository)
   103   $ cvs rlog -l -h -b $(cat CVS/Repository)
   104 
   104 
   105 Update to HEAD.
   105 Switch branch::
   106 ===============
   106 
   107 ::
   107   $ cvs up -r $BRANCH
       
   108 
       
   109 Update to HEAD::
   108 
   110 
   109   $ cvs up -A
   111   $ cvs up -A
   110 
   112 
       
   113 Replace head::
       
   114 
       
   115   $ cvs up -j$HEAD -j $NEWBRANCH
       
   116 
       
   117 Replace branch::
       
   118 
       
   119   $ cvs up -j$OLD -j $NEW
       
   120