Re: cvs2svn not renaming files
Michael Haggerty <[email protected]> Fri, 16 Aug 2013 20:57:55 +0200
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
On 08/16/2013 07:22 PM, Lucas wrote: > Hi, I used cvs2svn to convert a project using the following command line: > > python c:\cvs2svn-2.4.0\cvs2svn --encoding=latin_1 --use-cvs --dumpfile > csx_csc_shared.dump d:\cvs\cvs_root\csx_csc_shared > > where d:\cvs\cvs_root is the path of my repository. > > The problem is that a file is renamed along the revisions: > [...] > > But in the converted repository, the file is not renamed anywhere, as > shown in the attached picture. > Is there a way to configure cvs2svn to rename files as they are in cvs? > I have a really huge repository with hundreds of projects, and I can not > seek renaming manually. File renaming is a CVSNT feature that is not in standard CVS, and thus cvs2svn does not support it. Detecting renames could undoubtedly be implemented, but since CVSNT users by and large don't give back to the community, the ability to convert CVSNT-specific features has languished. Ironically, if you were converting to Git it wouldn't matter because Git doesn't record renames in the history but rather detects them on-the-fly at runtime. By the way OH. MY. GOD. Does CVSNT really spray advertisements into your commit messages if you use the free version!?!?! That is beyond evil. It would be pretty easy to teach cvs2svn to strip that crap out during the conversion, or (since Subversion log messages are mutable) you could delete it from the commit messages after the conversion to Subversion. Michael -- Michael Haggerty [email protected] http://softwareswirl.blogspot.com/ ------------------------------------------------------ http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=3062824 To unsubscribe from this discussion, e-mail: [[email protected]].