[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Branching on a locked branch
From: |
Jim Hyslop |
Subject: |
Re: Branching on a locked branch |
Date: |
Mon, 09 Jan 2006 23:51:03 -0500 |
User-agent: |
Mozilla Thunderbird 1.0.6 (Windows/20050716) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Matthew Rich wrote:
> Well it is going to take some time to set up an
> experiment
How complicated a test do you plan on making? It should take no more
than a few minutes:
(OK, if you don't have cvs-test set up, that'll take an extra minute or so).
cvs co cvs-test
cd cvs-test
echo this is a file>file.txt
cvs add file.txt
cvs ci -m"new file" file.txt
cvs tag -b abranch file.txt
cvs update -r abranch
cvs ci -f -m"forcing a change" file.txt
cvs tag first_rev_on_branch
cvs ci -f -m"forcing a change" file.txt
cvs admin -l abranch file.txt
cvs tag -b will_this_work
cvs lo file.txt
Experiment concluded. Now that the basic framework is there, another two
commands will answer your last question:
cvs tag -rfirst_rev_on_branch -b how_about_this file.txt
cvs lo file.txt
I'm not trying to be difficult, I'm just trying to teach you how to be
self-reliant in finding the answers. And as a bonus, your co-workers
will be awed at your awesome CVS knowledge ;=)
- --
Jim Hyslop
Dreampossible: Better software. Simply. http://www.dreampossible.ca
Consulting * Mentoring * Training in
C/C++ * OOD * SW Development & Practices * Version Management
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDwz03LdDyDwyJw+MRAji6AKCa5iY92a9pAt3wWvZqkBa3UrPEbQCgoEiE
gg9uQkcUrvdZpoG5Zu8hB94=
=wjCy
-----END PGP SIGNATURE-----