info-cvs
[Top][All Lists]
Advanced

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

Re: Major revision numbers


From: Larry Jones
Subject: Re: Major revision numbers
Date: Tue, 6 Apr 2004 20:14:34 -0400 (EDT)

Krzysztof GORBIEL writes:
> 
> As I can read in CVS manual, new file added to a module should obtain major
> revision number eqal to the highest revision number in that directory (for
> example 2.1 if highest existing revision nubmer is 2.xx). Unfortunately it
> doesn't work. New file will have revision 1.1.

That depends on whether you're using local mode or client/server mode. 
In local mode (which is how CVS was originally designed), it works
exactly like the manual says.  In client/server mode (which was grafted
on after the fact, and after the CVS manual was written), only files
that are actually sent to the server are considered.  I've updated the
manual to note that fact.

> Have you any ideas how to create new files with the correct major revision
> number withour forcing it with commit oprions? Maybe there is a patch that
> will fix this problem?

The "correct" major revision number is whatever CVS chooses to assign --
revision numbers are for CVS's internal use, you should not care what
they are.  Use tags if you want meaningful information.

-Larry Jones

He just doesn't want to face up to the fact that I'll be
the life of every party. -- Calvin




reply via email to

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