[cvsnt] Re: Status of move/rename

Tony Hoyle tony.hoyle at march-hare.com
Fri Sep 2 22:11:39 BST 2005


Siegfried Heintze wrote:
> What a coincidence! I was about to post a query on why rename did not work.
> 
> So what do we have to do if we created a file in the wrong directory? Add it
> in the new directory and delete it from the old directory?

If you use cvs add/cvs remove it'll work.. of course that way you lose 
history.

One way that some people do is to copy the ,v file to the new place, 
then just cvs remove the old one - so both files have history.

The problem with rename at the moment is all directories are 
independent.  Rename across directories can work sometimes, but you have 
to be careful the 'destination' directory gets committed at the same 
time otherwise the file can vanish completely...   in the 2.6.x core 
it's all centrally managed so that issue never happens.

Tony



More information about the cvsnt mailing list