info-cvs
[Top][All Lists]
Advanced

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

Re: Cannot re-add files


From: Ross Burton
Subject: Re: Cannot re-add files
Date: 13 Mar 2001 09:53:06 +0000

On 12 Mar 2001 13:14:42 -0500, Larry Jones wrote:
> Ross Burton writes:
> > 
> > $ cvs add absolute.oc
> > cvs server: re-adding file absolute.oc (in place of dead revision 2.2)
> > $ cvs commit absolute.oc
> > cvs server: cannot add file `absolute.oc' when RCS file
> > `/opt/cvsroot/ORIGIN/Libraries/DataArea/NumberItem/absolute.oc,v'
> > already exists
> 
> If the head revision on the trunk is dead (and it seems it is), the RCS
> file should be in the Attic, but it's not.  I don't know how that could
> have happened since CVS moves the RCS file into the Attic automatically.
> In any event, I think the only way to fix it is to manually move the RCS
> file into the right place:
> 
>       mv /opt/cvsroot/ORIGIN/Libraries/DataArea/NumberItem/absolute.oc,v 
> /opt/cvsroot/ORIGIN/Libraries/DataArea/NumberItem/Attic/absolute.oc,v


Right, I did this with absolute.oc and on the client I now get:

cvs add absolute.oc
cvs server: re-adding file absolute.oc (in place of dead revision 2.2)
cvs commit -m "Re-arranged files" absolute.oc 
Checking in absolute.oc;
/opt/cvsroot/ORIGIN/Libraries/DataArea/NumberItem/absolute.oc,v  <--
absolute.oc
cvs server:
/opt/cvsroot/ORIGIN/Libraries/DataArea/NumberItem/absolute.oc,v:
revision 1.1 too low; must be higher than 2.2
cvs server: could not check in absolute.oc


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

Help!  Any ideas?

Thanks for the help,
Ross
-- 

Ross Burton                     Software Engineer
OneEighty Software Ltd          Tel: +44 20 8263 2332
The Lansdowne Building          Fax: +44 20 8263 6314
2 Lansdowne Road                address@hidden
Croydon, Surrey CR9 2ER, UK     http://www.180sw.com./
====================================================================
Under the Regulation of Investigatory Powers (RIP) Act 2000 together
with any and all Regulations in force pursuant to the Act OneEighty
Software Ltd reserves the right to monitor any or all incoming or
outgoing communications as provided for under the Act




reply via email to

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