Re: [git-users] Git svn error on svn repository created with svn 1.8
On Thursday, December 4, 2014 1:09:27 PM UTC-6, Magnus Therning wrote: On Wed, Dec 03, 2014 at 05:10:05AM -0800, Steve Schwarz wrote: When I clone the repository I get an error reading the local file system format: $ git svn clone file:///tmp/test-svn -s Initialized empty Git repository in /private/tmp/test-svn/.git/ Couldn't open a repository: Unable to connect to a repository at URL 'file:///tmp/test-svn': Unable to open an ra_local session to URL: Unable to open repository 'file:///tmp/test-svn': Expected FS format between '1' and '4'; found format '6' at /usr/local/Cellar/git/2.1.0/lib/perl5/site_perl/Git/SVN.pm line 310 The easiest way is to put an SVN server in front of the repo. Then you isolate git-svn from the specific FS format of the repository. Magnus, Thanks! I was thinking setting up an svnserver just to convert this one repository would be a big deal so I didn't investigate. I just ran 'svnserve -d' and was able to git svn clone 'ssh://127.0.0.1/tmp/test-svn -s' and it went perfectly. Thanks again, Steve -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [git-users] Git svn error on svn repository created with svn 1.8
On Wed, Dec 03, 2014 at 05:10:05AM -0800, Steve Schwarz wrote: I'm following the steps in: http://git-scm.com/book/en/v2/Git-and-Other-Systems-Git-as-a-Client to move an svn repository to git. My local svn version is: $ svn --version svn, version 1.8.10 (r1615264) compiled Aug 25 2014, 10:52:18 on x86_64-apple-darwin12.5.0 When I clone the repository I get an error reading the local file system format: $ git svn clone file:///tmp/test-svn -s Initialized empty Git repository in /private/tmp/test-svn/.git/ Couldn't open a repository: Unable to connect to a repository at URL 'file:///tmp/test-svn': Unable to open an ra_local session to URL: Unable to open repository 'file:///tmp/test-svn': Expected FS format between '1' and '4'; found format '6' at /usr/local/Cellar/git/2.1.0/lib/perl5/site_perl/Git/SVN.pm line 310 According to this svn release note FS format 6 was introduced in svn 1.8: http://subversion.apache.org/docs/release-notes/1.8.html#revprop-packing I also tested this with the latest branch from github and get the same error. Should I downgrade my svn and recreate the local copy of the repository? Or is there a patch for ra_local? The easiest way is to put an SVN server in front of the repo. Then you isolate git-svn from the specific FS format of the repository. /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: mag...@therning.org jabber: mag...@therning.org twitter: magthe http://therning.org/magnus Code as if whoever maintains your program is a violent psychopath who knows where you live. -- Anonymous -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. pgpDa7v5um3BL.pgp Description: PGP signature
[git-users] Git svn error on svn repository created with svn 1.8
I'm following the steps in: http://git-scm.com/book/en/v2/Git-and-Other-Systems-Git-as-a-Client to move an svn repository to git. My local svn version is: $ svn --version svn, version 1.8.10 (r1615264) compiled Aug 25 2014, 10:52:18 on x86_64-apple-darwin12.5.0 When I clone the repository I get an error reading the local file system format: $ git svn clone file:///tmp/test-svn -s Initialized empty Git repository in /private/tmp/test-svn/.git/ Couldn't open a repository: Unable to connect to a repository at URL 'file:///tmp/test-svn': Unable to open an ra_local session to URL: Unable to open repository 'file:///tmp/test-svn': Expected FS format between '1' and '4'; found format '6' at /usr/local/Cellar/git/2.1.0/lib/perl5/site_perl/Git/SVN.pm line 310 According to this svn release note FS format 6 was introduced in svn 1.8: http://subversion.apache.org/docs/release-notes/1.8.html#revprop-packing I also tested this with the latest branch from github and get the same error. Should I downgrade my svn and recreate the local copy of the repository? Or is there a patch for ra_local? Thanks, Steve -- You received this message because you are subscribed to the Google Groups Git for human beings group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.