# git-svn error when cloning apache repo

3 messages from 2007-09-15 to 2007-09-18. Participants: Jing Xue, Sam Vilain.
Thread: https://gitlist.dev/t/9871

## Jing Xue, 2007-09-15 23:08

Subject: git-svn error when cloning apache repo
Message-ID: <20070915230833.GA8525@falcon.digizenstudio.com>
URL: https://gitlist.dev/e/20070915230833.GA8525%40falcon.digizenstudio.com

```
I'm trying to clone the Apache Ivy repo and got this error. What does
the "Using higher level of URL" mean?  Also, of course, what does the
error message mean?

$ git svn clone https://svn.apache.org/repos/asf/incubator/ivy/core/ ivy-core -T trunk -b branches -t tags
Initialized empty Git repository in .git/
Using higher level of URL: https://svn.apache.org/repos/asf/incubator/ivy/core => https://svn.apache.org/repos/asf
W: Ignoring error from SVN, path probably does not exist: (175002): RA layer request failed: REPORT request failed on '/repos/asf/!svn/bc/100': REPORT of '/repos/asf/!svn/bc/100': Could not read chunk size: Secure connection truncated (https://svn.apache.org)
branch_from: /incubator/ivy/tags => /incubator/ivy/tags/1.4.1
Found possible branch point: https://svn.apache.org/repos/asf/incubator/ivy/tags/1.4.1 => https://svn.apache.org/repos/asf/incubator/ivy/core/tags/1.4.1, 499505
Initializing parent: tags/1.4.1@499505
Found possible branch point: https://svn.apache.org/repos/asf/incubator/ivy/trunk => https://svn.apache.org/repos/asf/incubator/ivy/tags/1.4.1, 488008
Initializing parent: tags/1.4.1@488008
RA layer request failed: REPORT request failed on '/repos/asf/!svn/vcc/default': REPORT of '/repos/asf/!svn/vcc/default': 400 Bad Request (https://svn.apache.org) at /home/jingxue/bin/git-svn line 3155

Any thoughts are appreciated.

Thanks.
-- 
Jing Xue

```

## Sam Vilain, 2007-09-16 11:46

Subject: Re: git-svn error when cloning apache repo
Message-ID: <46ED17A9.2010603@vilain.net>
URL: https://gitlist.dev/e/46ED17A9.2010603%40vilain.net
In-Reply-To: <20070915230833.GA8525@falcon.digizenstudio.com>

```
Jing Xue wrote:
> $ git svn clone https://svn.apache.org/repos/asf/incubator/ivy/core/ ivy-core -T trunk -b branches -t tags
> Initialized empty Git repository in .git/
> Using higher level of URL: https://svn.apache.org/repos/asf/incubator/ivy/core => https://svn.apache.org/repos/asf
>   

I'm fairly sure this is where it went wrong. Try editing .git/config and
putting your original URL in the source URL, and re-try the fetch.

Sam.

```

## Jing Xue, 2007-09-18 12:53

Subject: Re: git-svn error when cloning apache repo
Message-ID: <20070918125352.GA19524@falcon.digizenstudio.com>
URL: https://gitlist.dev/e/20070918125352.GA19524%40falcon.digizenstudio.com
In-Reply-To: <46ED17A9.2010603@vilain.net>

```
On Sun, Sep 16, 2007 at 11:46:49PM +1200, Sam Vilain wrote:
> Jing Xue wrote:
> > $ git svn clone https://svn.apache.org/repos/asf/incubator/ivy/core/ ivy-core -T trunk -b branches -t tags
> > Initialized empty Git repository in .git/
> > Using higher level of URL: https://svn.apache.org/repos/asf/incubator/ivy/core => https://svn.apache.org/repos/asf
> >   
> 
> I'm fairly sure this is where it went wrong. Try editing .git/config and
> putting your original URL in the source URL, and re-try the fetch.

Hmm... thanks, but didn't work. The repo didn't look right to begin
with. The HEAD pointed to refs/heads/master as usual, but there was
nothing in refs/heads at all.

I also tried:
git svn clone https://svn.apache.org/repos/asf/ ivy-core -s --prefix=incubator/ivy/core/

And got no errors, but there wasn't any working tree in ivy-core
afterwards. Then I tried 'git svn rebase':

fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions
fatal: Needed a single revision
invalid upstream

Due to the same "nothing in refs/heads" situation. Also there is this
23M file .git/svn/incubator/ivy/core/trunk/.rev_db.13f79535-47bb-0310-9956-ffa450edef6
that contains all 0's.

The part before "I also tried..." was with git 1.5.3.  "I also tried..."
was with git 1.5.3.1.112.gb7a2 as of last night.

Cheers.
-- 
Jing Xue

```
