info-cvs
[Top][All Lists]
Advanced

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

RE: The best approach for moving files and retaining history


From: Arthur Barrett
Subject: RE: The best approach for moving files and retaining history
Date: Wed, 1 Jul 2009 19:42:25 +1000

Todd,

> what is the behavior of the CVSNT rename command?

>From the command line POV it just 'works' so I imagine that cvs2cl will just 
>show files added/removed (since it wouldn't be looking for 'rename').

Behind the scenes it creates a fileattr.xml with the new name and the 
branch(es)/revision/date that it applies to.

Moving across directories is more difficult, but I personally don't recommend 
it (most examples of renaming I've seen it's just changing a class from one 
name to another).

Interestingly SVN doesn't have rename either - there is a 'rename' command for 
svn.exe but it just issues a ''copy'' then ''delete'' over the protocol - the 
''copy'' creates a reference to the old revision that it was copied from...  
From a pedantic technical POV therefore CVSNT and EVS have 'rename' and SVN 
doesn't ;)

Regards,


Arthur








reply via email to

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