threads / discuss / 18594

git svn clone failure

Subject: git svn clone failure

## tl;dr

5 messages between Mar 27, 2009 and Mar 28, 2009.

replies: 4people: 2as markdown or json

Lachlan Deck· Mar 27, 2009, 21:18 UTC · lore
Hi there,

I'm trying to clone an existing svn repository with git (just getting started with git) and it keeps failing with: ... r604 = 6428e63734a21ee5fcb4593274747e2758578a91 (git-svn) fatal: unable to run 'git-svn'

I'm using git version 1.6.2 Mac OS X 10.5.6. git installed via macports with svn support.

Any ideas? How do I find out why it's failing? Thanks.

with regards, --

Lachlan Deck
Markus Heidelberg· Mar 28, 2009, 12:59 UTC · re: Lachlan Deck · lore

Re: git svn clone failure

Lachlan Deck, 27.03.2009:
Show 7 quoted lines
> Hi there,
> 
> I'm trying to clone an existing svn repository with git (just getting  
> started with git) and it keeps failing with:
> ...
> r604 = 6428e63734a21ee5fcb4593274747e2758578a91 (git-svn)
> fatal: unable to run 'git-svn'
Are you sure r604 isn't the latest svn revision?

I always get this error when doing "git svn fetch" with an http URL, it doesn't occur with an svn URL. But everything seems to work fine, though.

Markus
Lachlan Deck· Mar 28, 2009, 14:16 UTC · re: Markus Heidelberg · lore

Re: git svn clone failure

On 28/03/2009, at 11:59 PM, Markus Heidelberg wrote:
Show 10 quoted lines
> Lachlan Deck, 27.03.2009:
>> Hi there,
>>
>> I'm trying to clone an existing svn repository with git (just getting
>> started with git) and it keeps failing with:
>> ...
>> r604 = 6428e63734a21ee5fcb4593274747e2758578a91 (git-svn)
>> fatal: unable to run 'git-svn'
>
> Are you sure r604 isn't the latest svn revision?
A few thousand out, yes.
> I always get this error when doing "git svn fetch" with an http URL,  
> it
> doesn't occur with an svn URL. But everything seems to work fine,
> though.

Interesting. Yes, it's from an https url. I'll try svn+ssh://.. But are you saying there's no way to get more info about the error?

Thanks

with regards, --

Lachlan Deck
Markus Heidelberg· Mar 28, 2009, 15:20 UTC · re: Lachlan Deck · lore

Re: git svn clone failure

Lachlan Deck, 28.03.2009:
Show 22 quoted lines
> On 28/03/2009, at 11:59 PM, Markus Heidelberg wrote:
> 
> > Lachlan Deck, 27.03.2009:
> >> Hi there,
> >>
> >> I'm trying to clone an existing svn repository with git (just getting
> >> started with git) and it keeps failing with:
> >> ...
> >> r604 = 6428e63734a21ee5fcb4593274747e2758578a91 (git-svn)
> >> fatal: unable to run 'git-svn'
> >
> > Are you sure r604 isn't the latest svn revision?
> 
> A few thousand out, yes.
> 
> > I always get this error when doing "git svn fetch" with an http URL,  
> > it
> > doesn't occur with an svn URL. But everything seems to work fine,
> > though.
> 
> Interesting. Yes, it's from an https url. I'll try svn+ssh://..
> But are you saying there's no way to get more info about the error?

At least I don't have more info about it except for this: I use Gentoo Linux and the git ebuild (I have the distribution package installed, but use the self-compiled git) says

    "Per Gentoo bugs #223747, #238586, when subversion is built"
    "with USE=dso, there may be weird crashes in git-svn. You"
    "have been warned."

I have subversion compiled with dso (Enable runtime module search), it's enabled per default. And since it worked, I didn't change it. But it would be interesting to see, if this error has something to do with it. Maybe I'll try it out.

Markus
Lachlan Deck· Mar 28, 2009, 17:29 UTC · re: Markus Heidelberg · lore

Re: git svn clone failure

On 29/03/2009, at 2:20 AM, Markus Heidelberg wrote:
Show 39 quoted lines
> Lachlan Deck, 28.03.2009:
>> On 28/03/2009, at 11:59 PM, Markus Heidelberg wrote:
>>
>>> Lachlan Deck, 27.03.2009:
>>>> Hi there,
>>>>
>>>> I'm trying to clone an existing svn repository with git (just  
>>>> getting
>>>> started with git) and it keeps failing with:
>>>> ...
>>>> r604 = 6428e63734a21ee5fcb4593274747e2758578a91 (git-svn)
>>>> fatal: unable to run 'git-svn'
>>>
>>> Are you sure r604 isn't the latest svn revision?
>>
>> A few thousand out, yes.
>>
>>> I always get this error when doing "git svn fetch" with an http URL,
>>> it
>>> doesn't occur with an svn URL. But everything seems to work fine,
>>> though.
>>
>> Interesting. Yes, it's from an https url. I'll try svn+ssh://..
>> But are you saying there's no way to get more info about the error?
>
> At least I don't have more info about it except for this:
> I use Gentoo Linux and the git ebuild (I have the distribution package
> installed, but use the self-compiled git) says
>
>    "Per Gentoo bugs #223747, #238586, when subversion is built"
>    "with USE=dso, there may be weird crashes in git-svn. You"
>    "have been warned."
>
> I have subversion compiled with dso (Enable runtime module search),  
> it's
> enabled per default. And since it worked, I didn't change it. But it
> would be interesting to see, if this error has something to do with  
> it.
> Maybe I'll try it out.

It may well have been a network issue for me when I tried the other day. It seemed to work fine now.

with regards, --

Lachlan Deck

← back to recent threads