info-cvs
[Top][All Lists]
Advanced

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

RE: Undoing renaming a directory


From: Paul Sander
Subject: RE: Undoing renaming a directory
Date: Wed, 23 Jun 2004 08:15:35 -0700

>--- Forwarded mail from address@hidden

>Jean-Christian Imbeault wrote:
>> One of our developers just checked in new code (more than 
>> once) and by mistake renamed a directory from src to source.
>> 
>> Is there a simple way to undo this? I've been reading the 
>> archives and it seems that there isn't ...

>Um, is it too obvious to suggest renaming 'source' to 'src'?

Unfortunately, none of the recommended (or documented) workarounds
for cvs' absence of a true rename is reversible without either losing
something or having to do a lot to recover the entire history of
the configuration.

If nothing was checked into the new "source" tree (the original
mail suggested that the time period was brief between doing the
rename and deciding that doing it was wrong), then just stop using
the new "source" tree and re-add the original src tree.  If changes
were committed, then diff and patch will become your best friends.

>--- End of forwarded message from address@hidden





reply via email to

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