[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: how to change a rev number
From: |
Thornley, David |
Subject: |
RE: how to change a rev number |
Date: |
Wed, 6 Feb 2002 14:13:33 -0600 |
> -----Original Message-----
> From: Shane McDaniel [mailto:address@hidden
> > > I accidently checked in a file with the wrong rev number.
> How do I go
> > > about changing the rev number in the DB? Is there an
> easier way than
> > > checking the rev out, removing it from the DB and putting it
> > > back with the
> > > new rev?
> > >
> > The right answer is to stop thinking about the rev number and just
> > apply a tag when you want something you can refer to. Leave the
> > revision numbers to CVS.
>
>
> point taken. but then what is the use of having a hierchal
> rev number if
> tags are what one should use? wouldn't cvs just use an incrementing
> number ie 1,2,3,4 instead of 1.0.1,1.0.2,etc..
>
The reason is historical. Originally, CVS was a set of wrapper scripts
over RCS, and CVS continues to use the RCS format of save files. (There's
advantages there.) One intended successor to CVS, Subversion
(http://subversion.tigris.org/index.html), does use sequential numbers
for its revisions.