Ming Kin Lai wrote:
I need some clarification and confirmaton. By "default branch", you do
not mean a branch created by
cvs tag -b mybranch
You mean either the "vendor branch" that is imported or the trunk. Right?
The default branch is set using the command 'cvs admin -b'. If you set
the default branch, then commands that do *not* use the -r option to
specify a branch will refer to that branch instead of the trunk. The
sticky tag will not be set.
For example, run the following sequence of commands and study the output
(do these commands within a test directory in your repository):
mkdir test_default
cvs add test_default
cd test_default
echo test file>test.txt
cvs add test.txt
cvs ci -m "a test file" test.txt
cvs tag -b abranch
cvs up -r abranch
echo changes on the branch>>test.txt
cvs ci -m "changes on a branch"
cvs admin -babranch
cvs up -A
cvs st
cat test.txt
Pay particular attention to the output of the last two commands.
--
Jim
_______________________________________________
Info-cvs mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/info-cvs