Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Reversing 'cvs remove'

8 views
Skip to first unread message

Jake Colman

unread,
Apr 23, 2012, 8:53:10 AM4/23/12
to info...@gnu.org

I deleted a file and did a 'cvs remove file' but did not yet commit.

I want to undo what I have done.

I restored the delete file but what I do for cvs? A 'cvs add file' tell
me that

cvs add: header.html should be removed and is still there (or is back
again)

Thanks.

...Jake


--
Jake Colman | Director, Software Development
Principia Partners LLC
101 West Elm Street | Conshohocken | PA 19428 | +1 (610) 755 9770
t: +1 (610) 755 9786 | c: +1 (610) 348 2788 | f: +1 (201) 221 8929
e: col...@ppllc.com | w: www.principiapartners.com
Credit technology innovation awards winner 2008, 2009 & 2010


Larry Jones

unread,
Apr 23, 2012, 10:28:21 AM4/23/12
to Jake Colman, info...@gnu.org
Jake Colman writes:
>
> I deleted a file and did a 'cvs remove file' but did not yet commit.
>
> I want to undo what I have done.
>
> I restored the delete file but what I do for cvs? A 'cvs add file' tell
> me that
>
> cvs add: header.html should be removed and is still there (or is back
> again)

You're on the right path, you're just trying too hard: you shouldn't
have restored the deleted file. Just delete the local file again and
then do the `cvs add' and CVS will restore it from the repository.
--
Larry Jones

>From now on, I'm devoting myself to the cultivation of
interpersonal relationships. -- Calvin

Jake Colman

unread,
Apr 23, 2012, 4:53:17 PM4/23/12
to info...@gnu.org
>>>>> "LJ" == Larry Jones <lawrenc...@siemens.com> writes:

LJ> Jake Colman writes:
>>
>> I deleted a file and did a 'cvs remove file' but did not yet commit.
>>
>> I want to undo what I have done.
>>
>> I restored the delete file but what I do for cvs? A 'cvs add file' tell
>> me that
>>
>> cvs add: header.html should be removed and is still there (or is back
>> again)

LJ> You're on the right path, you're just trying too hard: you shouldn't
LJ> have restored the deleted file. Just delete the local file again and
LJ> then do the `cvs add' and CVS will restore it from the repository.

Yup, that did it! Thanks.
0 new messages