Re: [PROBLEM] cvs2svn for git
Michael Haggerty <[email protected]> Wed, 16 Sep 2015 22:13:09 +0200
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <[email protected]> |
On 09/16/2015 12:27 PM, Kerry, Richard wrote: > [...] >> 4. Change (or find somebody who can change) cvs2git to work with >> CVSNT repositories directly. I suppose this shouldn't be too hard. >> The main problem is that the CVSNT file format is poorly >> documented. >=20 > In my experience cvs2svn is quite happy with a CVSNT repository (at > least it is with mine). Though my repository hardly uses the > features where there are known to be incompatibilities. You should > try yours and see what it does. cvs2svn/cvs2git does indeed mostly seem to work with CVSNT repositories, but it depends on the CVSNT version of the "cvs" command for extracting the file contents from the *,v files. So if the CVSNT version of the command no longer supports reading files from the local filesystem, that command won't work. cvs2svn/cvs2git does have internal code that knows how to reconstruct the file contents without any external dependencies (--use-internal-co). But this code doesn't know about CVSNT's "-kB" binary format, nor any other new formats that CVSNT might have invented. So for the moment cvs2svn/cvs2git is dependent on having a CVSNT installation available for reading file contents. >> 5. Change (or find somebody who can change) cvs2git to use the >> local CVSNT repository for reading the metadata and history (it >> can mostly do that already), but to use a remote cvs command to >> read the file contents. I suppose this also shouldn't be too hard, >> but for testing you would have to find somebody with a copy of >> CVSNT. >=20 > I think someone submitted some changes recently specifically to > address issues relating to CVSNT. I'm not sure whether these changes > have been accepted or merged into the mainstream of cvs2svn. Ugh it's on my very long backlog. It sounds like you are familiar with CVSNT, so if you want to get involved, it would be helpful to get your opinion on the patches or even test them and see how they work for you. They are available from my Git repo [1] as branches with names refs/heads/sags/*. But unfortunately those changes don't help eliminate the dependency on CVSNT's "cvs" command. Michael [1] https://github.com/mhagger/cvs2svn --=20 Michael Haggerty [email protected] ------------------------------------------------------ http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=3D1670&dsMessageId=3D= 3138039 To unsubscribe from this discussion, e-mail: [[email protected]= ris.org].