[Top][All Lists]

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

Re: Question about version numbers.

From: Peter Kroon
Subject: Re: Question about version numbers.
Date: Thu, 1 Nov 2001 14:21:01 +0100

"Larry Jones" <address@hidden> wrote in message news:address@hidden
> Frederico Costa writes:
> >
> > All the version numbers in the CVS, are the form of 1.x, or 1.1.x and so
> > on. But they all start with 1.
> >
> > Is this by design or when the first number 1 turns into 2.
> It's a hold-over from RCS.  CVS will never increment the first number,
> although the user can force it to something other than 1 (with ci -r,
> for example).  We generally advise against it, however.

I don't know why Frederico asks this question but I can at least think of a 
reason that applies to us:
If have a collection of files, each of which has undergone many revisions 
before we started using CVS.
Now assume that I want to import revision 6.27 of file gamma.c into the 
As there is no -r switch on the "cvs import" command, I use (omitting the -m 

  cvs add gamma.c
  cvs ci -r 6.27 gamma.c

At first look this works as I want. But then I edit gamma.c and try to commit 
it again with:

  cvs ci gamma.c

I get:

  cvs server: sticky tag `6.27' for file `delta.c' is not a branch
  cvs [server aborted]: correct above errors first!

Larry, is this why you advise against it? And if I really want to do this, is 
there a way around this?

Thanks, Peter Kroon.

reply via email to

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