[cvsnt] Re: Switching Back and forth between branches
Bo Berglund
bo.berglund at telia.com
Fri Oct 1 01:01:02 BST 2004
On Thu, 30 Sep 2004 15:17:52 -0600, "Siegfried Heintze"
<siegfried at heintze.com> wrote:
>"cvs update -d -r main"
>
>I look at the source code and I see I'm back on the main branch. Everything
>is going great!
No, it is not!
You have succeeded in updating your sandbox to the sticky tag "main"
which means you are no longer on an updatable branch.
You should have done this instead:
cvs update -A
or possibly
cvs update -r HEAD
since this resets all tags and brings you right back to the top of the
TRUNK (to HEAD revision of all files).
>Now I try to make some changes to the main branch and commit those changes
"main" is not a branch!
/Bo
(Bo Berglund, developer in Sweden)
More information about the cvsnt
mailing list