info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help with committing change


From: Larry Jones
Subject: Re: help with committing change
Date: Mon, 18 Mar 2002 16:54:06 -0500 (EST)

Corey Wirun writes:
> 
> If I download a working directory based on a tag, can I not
> commit my changes?

Exactly.  When you update to (or checkout) a particular revision, you
can't commit because there's no place (in general) to put the new
revision.  For example, if you have 1.1 and 1.2 already exists, you
probably don't want to overwrite 1.2 (and what if there are more
revisions following 1.2?), nor do you want to change it retroactively,
and if CVS automatically made a branch, you wouldn't have any good way
to refer to it.  What you want to do is to use "update -A" to get rid of
the sticky tag and update to the head of the trunk, which in your case
is exactly the same revisions of the files as you already have.  Once
you do that, you'll be able to commit.

-Larry Jones

My brain is trying to kill me. -- Calvin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]