CVS

Resources: http://ximbiot.com/cvs/wiki/index.php?title=CVS_FAQ#General_Repository_Administration http://cvsbook.red-bean.com/cvsbook.html#update http://www.cs.utah.edu/dept/old/texinfo/cvs/cvs_18.html#SEC74 Checking out a new branch to local: set repository directory as the CVSROOT      gunnalag@TestSun2:/u/gunnalag> setenv CVSROOT master.site2:/src/local/repository cd to the required folder. In case if you are updating sub-folder under existing hierarchy.    Example to add /dev folder under /u/gunnalag/cvs/Windows/software/ folder    1. just create a temp folder "test"    2. setenv CVSROOT master.site2:Windows/software    3. run "cvs checkout dev" or "cvs checkout dev/int" for it’s subfolder then perform the cvs checkout of required module.     Example: if I want to checkout mail tree from /src/local/repository/Windows/ directory.     Then    cd">gunnalag@TestSun2:/u/gunnalag>cd cvs/proj/   cvs">gunnalag@master:/u/gunnalag/cvs/Windows>cvs checkout […]

Read more

SVN

Resources: http://subversion.tigris.org/ http://subversion.apache.org/ http://svnbook.red-bean.com/ (Book) http://subversion.apache.org/docs/community-guide/ SVN Commands: gunnalag@TestSun2:/u/gunnalag/repository/svntest> svn -h usage: svn <subcommand> [options] [args] Subversion command-line client, version 1.6.11. Type ‘svn help <subcommand>’ for help on a specific subcommand. Type ‘svn –version’ to see the program version and RA modules   or ‘svn –version –quiet’ to see just the version number. Most subcommands take file and/or directory arguments, recursing on the directories.  If no arguments are supplied to such a command, it recurses on the current directory (inclusive) by default. Available subcommands:    add    blame (praise, annotate, ann)    cat    changelist (cl)    checkout (co)    […]

Read more

CVS Branching

Created file and checked-in to the trunck gunnalag@TestSun1:/u/gunnalag/localcvs/cvstest> echo "this is a test files" > test.txt gunnalag@TestSun1:/u/gunnalag/localcvs/cvstest> cvs add test.txt cvs add: scheduling file `test.txt’ for addition cvs add: use ‘cvs commit’ to add this file permanently gunnalag@TestSun1:/u/gunnalag/localcvs/cvstest> cvs commit test.txt RCS file: /u/gunnalag/repository/cvstest/test.txt,v done Checking in test.txt; /u/gunnalag/repository/cvstest/test.txt,v  <–  test.txt initial revision: 1.1 done gunnalag@TestSun1:/u/gunnalag/localcvs/cvstest> Update file on other user and verify initial contents gunnalag@TestSun2:/u/gunnalag/localcvs/test/cvstest> cat test.txt this is a test files gunnalag@TestSun2:/u/gunnalag/localcvs/test/cvstest> Created branch_1: gunnalag@TestSun1:/u/gunnalag/localcvs/cvstest> cvs tag -b BRANCH_1 test.txt T test.txt gunnalag@TestSun1:/u/gunnalag/localcvs/cvstest> Made editions in branch_1:  unless I commit these changes wouldn’t be avail under trunck gunnalag@TestSun1:/u/gunnalag/localcvs/cvstest> […]

Read more