Re: cvs2svn not renaming files
Lucas <[email protected]> Mon, 19 Aug 2013 09:59:17 -0300
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <CADm4H7sjPnxaAA6ZnUg3a2BBUSWMSVs44RaGoEjRzTf2EssL4A@mail.gmail.com> |
Well, unfortunately I inherited this repository from the old development team of my company, and all important projects are stored in this repository. Maybe an walkaround to this problem would be detecting renamed files and splitting them into different ",v" files, and then running cvs2svn. I am trying to create a cvs repository to test this procedure but CVSNT is not working properly, it just give me errors and more errors and no repository is created. I just hate CVSNT. I will try to fix this, if I have any progress I post here. Thank you! 2013/8/16 Michael Haggerty <[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/ > -- *Lucas Ratusznei Fonseca** *(41) 9920-9457* |* (41) 3095-3871 ------------------------------------------------------ http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=3062979 To unsubscribe from this discussion, e-mail: [[email protected]].