Re: cvs2git insists on converting the .cvsignore file
Michael Haggerty <[email protected]> Tue, 03 Jul 2012 09:17:30 +0200
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
On 07/02/2012 07:08 PM, Rob Jacob wrote: > Even though I'm telling it not to, cv2git is still converting the > .cvsignore files. > > I'm using the trunk of cvs2svn, r5383. > linux-Ubuntu_10.04-x86_64 > Python 2.6.5. > > I used an --options file which is attached and had: > ctx.keep_cvsignore = False I'm afraid that, contrary to the documentation, .cvsignore files are only handled specially by cvs2svn, not by cvs2git (or cvs2bzr). It would be pretty easy to strip the .cvsignore files out of the git repository after the conversion using "git filter-branch". But a more useful goal would be to teach cvs2git to convert the .cvsignore files into .gitignore files (which would require the file contents to be rewritten a bit in addition to the file being renamed). I don't think it would be much work, but it's not currently on my to-do list. > Everything else works great. I'm glad to hear it! Michael -- Michael Haggerty [email protected] http://softwareswirl.blogspot.com/ ------------------------------------------------------ http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2974559 To unsubscribe from this discussion, e-mail: [[email protected]].