[Top][All Lists]

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

Re: Cannot re-add files

From: Larry Jones
Subject: Re: Cannot re-add files
Date: Tue, 13 Mar 2001 15:15:37 -0500 (EST)

Ross Burton writes:
> Argh!  The old files was version 2.2, so why is cvs not noticing and
> setting the version number to 2.3?

It's a bug in CVS (and yet another example of why you shouldn't mess
with the revision numbers).  When resurrecting a file, CVS looks at the
major revision numbers of all the existing files in the same directory
and uses the highest one it finds for the resurrected file, but it
doesn't look at the resurrected file's revisions.  In this case, it
appears that all the other files in the directory are revision, so
it's trying to commit the resurrected file at revision 1.  You can work
around this by explicitly specifying revision 2 on the commit:

        cvs commit -m "Re-arranged files" -r 2 absolute.oc

-Larry Jones

Don't you hate it when your boogers freeze? -- Calvin

reply via email to

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