[Top][All Lists]

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

RE: Unable to increment revision number

From: Dave Korn
Subject: RE: Unable to increment revision number
Date: Tue, 13 Sep 2005 15:55:26 +0100

----Original Message----
>From: Christopher Cheng
>Sent: 13 September 2005 15:41

> Could somebody help me out?
> I am not sure whether the cvs file is corrupt or I have done something
> terribly wrong. 
> Whenever I commit a file to the CVS, it increments a number after the
> revision number only 
> For example,
> new revision:; previous revision: 1.22
> When I inspect the file in the server, I have the following. The head is
> definitely 1.23, but I am keep committing to 1.22 branches. 

  Then you probably have a sticky branch tag on the file - check with "cvs
status <filename>".  You can use "cvs update -A <filename>" to get rid of
it; this will return your working directory copy to the trunk, merging
across any local changes that you have made.  (But keep a copy of the file
just in case the merge goes awry; I don't think that -A makes a
.#filename.rev backup in the way that -C does).

Can't think of a witty .sigline today....

reply via email to

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