RE: The best approach for moving files and retaining history

"Arthur Barrett" <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.