[git-users] Re: Trying to convert svn repos to Git repos
On Tuesday, January 22, 2013 12:11:19 PM UTC+1, Thomas Ferris Nicolaisen wrote: Yes. If it's possible in SVN, then it ideally should be handled by git-svn. Just make sure you have the latest version of git to make sure this hasn't been fixed in recent versions. It has at least been mentioned on the mailing list at some point: http://git.661346.n2.nabble.com/git-svn-and-subversion-1-7-testcase-failures-due-to-SVN-1-7-changes-td7256873.html I am using Git 1.8.0 which is the last official release to my understanding. I cannot verify the problems with subversion as noted in that post. I can pull the version of the tag with subversion. However, as described before I had renamed it in subversion. However, also pulling the revision where the problem was introduced I can pull with subversion. BTW I am using TortoiseSVN 1.7.11 linked against subversion 1.7.8. So it seem to be limited to git-svn. I had pulled a dump of the remote repos. I could remove the extra white-space with an editor and even load the dump into a local repos. Surprisingly this worked without a problem. Only the format issue came into play at this point. I will file a report to the developers on the format issue a bit later. At the moment I am a bit po'ed about getting stuck with converting. I need to make a decision to continue or stop and stay with svn. Everything has costs and benefits. If moving to Git is not critical for you, I'm sure the time can be well invested elsewhere. I would label myself as pure user. Therefore, I am interested simply in using those tools. Nevertheless, I was digging a bit more. The Permission denied: Can't open '/tmp/report.tmp' : ... gives a line 1210 in SVN.pm. My clumsy conclusion is that this might be a problem of bash on top of windows. :-( --
[git-users] Re: Trying to convert svn repos to Git repos
On Monday, January 21, 2013 9:10:07 PM UTC+1, waas.nett wrote: Hi there I have started recently to use Git. Since I have been using svn for a couple of year I would like to convert those svn repos including their history to Git repos. I have converted already some repos, which is certainly time-consuming, but it seems to work. Unfortunately, I have now one svn repos which I cannot convert. Obviously I had created by accident a tags folder with an additional blank at the end. I never noticed all those years. svn does not have an issue with this at all. However, when doing a git svn clone it stop there. Certainly I can rename the tag folder and remove the blank, but it will not help, because the rename is somewhere later in the history. The repos is on a server and I made a dump from it. The dump file can be edited and the space removed. I can create another svn repos locally and it seem to be created fine. The first issue I was running into was the newer format. i am using the newset subversion (format=4) and git svn does understand only format=2. So I was creating a svn repos with the older version and could load again the dump successfully to this repos. Unfortunately, I still have problems to to clone. Now it report an error Permission denied: Can't open '/tmp/report.tmp' : ... Anyone an idea what to try next? Thanks in advance If you find issues with git-svn respecting the newer versions/formats of Subversion, it should be reported to the developers. See https://gist.github.com/4441562 The same goes for any problems with handling white-spaces. --