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.


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.

Attachment: pgpDa7v5um3BL.pgp
Description: PGP signature

Reply via email to