[cvsnt] Move files from folders, but holding the history.

Gerhard Fiedler lists at connectionbrazil.com
Thu Jun 26 13:18:35 BST 2008


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Peter Crowther wrote:

>> From: Jandir Bezerra
>> I have some files under folder A, and I need to move those files to
>> folder B. How can I do it without losing the history ? 
>> 
>> I've seen that, at the server, CVS store the files something like
>> <filename>,v What if a make simple copy/paste of all these files from
>> folder A to B? Would I lose the history?
> 
> You will keep the history, and the files will be moved successfully. 
> This is a standard technique for moving files in RCS and CVS - and about
> the only reason ever to touch the repository on the server directly! 
> 
> Of course, just in case, you'll take a repository backup first, right?

And make sure that all developers know about this and have committed any
changes to those files. There's also a chance that they will have to do
some manual fixing of their sandbox after this, but I'm not sure. It's been
a while that I had to do this.

Gerhard


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook