info-cvs
[Top][All Lists]
Advanced

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

Re: Removed a file, now cannot add it back...


From: Eric Siegerman
Subject: Re: Removed a file, now cannot add it back...
Date: Mon, 18 Dec 2000 16:03:21 -0500
User-agent: Mutt/1.2.5i

On Mon, Dec 18, 2000 at 11:48:36AM -0000, Ross Burton wrote:
> Several months ago we removed a file from the CVS tree, and now we are
> trying to check a file with the same name back in again.
> 
> 1038 percival:Keil |> cvs update                      # Normal output deleted
> 1039 percival:Keil |> cvs add standalonegeneva.lnp    # Normal output deleted
> 1040 percival:Keil |> cvs commit
> cvs commit: Examining .
> cvs commit: cannot add file `standalonegeneva.lnp' when RCS file
> `/home/cvsroot/Apps/Geneva/Bootstrap/Keil/standalonegeneva.lnp,v'
> already exists

>From the error message, it looks to me as though the RCS file
somehow didn't get moved to the Attic when the file was
originally deleted.  I've seen this happen on occasion (not sure
with what version of CVS, or any of the other circumstances, so I
can't really formulate an official bug report).

To fix it:
        # Be *very* sure this file *really* was deleted from CVS
        # (eg. be sure the latest revision on the trunk has state
        # "dead").  If it was, then:
        cd /home/cvsroot/Apps/Geneva/Bootstrap/Keil
        mkdir Attic             # if it doesn't already exist
        mv standalonegeneva.lnp,v Attic/standalonegeneva.lnp,v

--

|  | /\
|-_|/  >   Eric Siegerman, Toronto, Ont.        address@hidden
|  |  /
Nobody ever got fired for buying Microsoft -- but they could get
fired for relying on Microsoft.
        - Chris Garrigues



reply via email to

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