Re: [msysGit] msysgit can not run "git svn clone" from a Windows local svn repo

1,382 views
Skip to first unread message

Erik Faye-Lund

unread,
Jun 8, 2013, 6:39:44 AM6/8/13
to asm warrior, msy...@googlegroups.com
On Sat, Jun 8, 2013 at 4:20 AM, asm warrior <asmwa...@gmail.com> wrote:
> Hi, I have create a local SVN repo by TortoiseSVN, just context menu: Create
> repository here.
> It was under: D:\temp\svn_repo
> After some commits to this SVN repo, I'm trying to use TortoiseGit, so I try
> to use git svn clone, but I get the following message:
>>
>> git.exe svn clone "file:///D:/temp/svn_repo/trunk"
>> "D:\temp\git_local\trunk"
>>
>> Initialized empty Git repository in d:/temp/git_local/trunk/.git/
>> Couldn't open a repository: Unable to open an ra_local session to URL:
>> Unable to open repository 'file:///D:/temp/svn_repo/trunk': Expected FS
>> format '2'; found format '4' at /usr/lib/perl5/site_perl/Git/SVN.pm line 148
>>
>>
>>
>> git did not exit cleanly (exit code 1) (14359 ms @ 2013-6-8 10:02:05)
>
>
> So, it looks like the msysgit can not recognize the "D:/" (Windows style
> driver prefix) in the svn repo location, Is there any way to fix this
> issue?

That's not at all what the problem is. Our svn is too old to support
the repository you created.

In the future, feel free to search the list. This has been discussed many times.

Johannes Schindelin

unread,
Jun 8, 2013, 11:14:37 PM6/8/13
to Erik Faye-Lund, asm warrior, msy...@googlegroups.com

asm warrior

unread,
Jun 9, 2013, 11:08:41 AM6/9/13
to Johannes Schindelin, Erik Faye-Lund, msy...@googlegroups.com
Hi, thanks for all your reply. It looks like it is hard to update the git-svn perl module.

BTW, I have just install the cygwin, I have tried the command: $ git svn clone file:///cygdrive/d/temp/svn_repo/trunk /cygdrive/d/temp/git_local/trunk

It works fine there.


Reply all
Reply to author
Forward
0 new messages