3 # Run script from the main cvs2svn directory to create the
4 # exclude-ntdb cvs repository.
6 CVSROOT
=`pwd`/test-data
/exclude-ntdb-cvsrepos
19 echo 'Import proj/file.txt:'
21 echo '1.1.1.1' >file.txt
22 cvs
-d $CVSROOT import
-m "First import" proj vendorbranch vendortag1
26 echo 'Check out the repository:'
27 cvs
-d $CVSROOT co
-d wc .
29 echo 'Add a tag and a branch to trunk (these appear on revision 1.1.1.1)'
30 echo 'and commit a revision on the branch:'
35 echo 1.1.1.1.2.1 >file.txt
36 cvs ci
-m 'Commit on branch branch1'
40 echo 'Import proj/file.txt a second time:'
42 echo '1.1.1.2' >file.txt
43 cvs
-d $CVSROOT import
-m "Second import" proj vendorbranch vendortag2
47 echo 'Add a second tag and branch to trunk (these appear on revision'
48 echo '1.1.1.2) and commit a revision on the branch:'
54 echo 1.1.1.2.2.1 >file.txt
55 cvs ci
-m 'Commit on branch branch2'
59 echo 'Commit directly to trunk. This creates a revision 1.2 and'
60 echo 'changes the default branch back to trunk:'
64 cvs ci
-m 'First explicit commit on trunk'
68 echo 'Import again. This import is no longer on the non-trunk vendor'
69 echo 'branch, so it does not have any effect on trunk:'
71 echo '1.1.1.3' >file.txt
72 cvs
-d $CVSROOT import
-m "Third import" proj vendorbranch vendortag3
76 echo 'Create a tag and a branch explicitly from the vendor branch, and'
77 echo 'commit a revision on the branch:'
79 cvs up
-r vendorbranch
83 echo 1.1.1.3.2.1 >file.txt
84 cvs ci
-m 'Commit on branch branch3'