# git svn clone issues with buddypress subversion repository

3 messages from 2011-09-24 to 2011-09-27. Participants: Anand Kumria, Michael J Gruber.
Thread: https://gitlist.dev/t/28483

## Anand Kumria, 2011-09-24 16:50

Subject: git svn clone issues with buddypress subversion repository
Message-ID: <CAM1C4G=o_Q5scdv=Jk3ou-3OjnZiukZV3nz0NJR7CTaKLbB2jw@mail.gmail.com>
URL: https://gitlist.dev/e/CAM1C4G%3Do_Q5scdv%3DJk3ou-3OjnZiukZV3nz0NJR7CTaKLbB2jw%40mail.gmail.com
In-Reply-To: <CAM1C4G=YbK5PF21UujxNRR0PX9xqQBSEvcB45Zxy1hwZuyuL8Q@mail.gmail.com>

```
Hi,

I'm trying:

% git svn clone -s http://svn.buddypress.org/trunk/ buddypress
Initialized empty Git repository in
/home/anand/Projects/wordpress/buddypress/.git/
Using higher level of URL: http://svn.buddypress.org/trunk =>
http://svn.buddypress.org

% git --version
git version 1.7.0.4

And at the end, git svn appears to successfull complete but nothing
has occurred. I'm successfully using 'git svn' against other
repositories with no problem, just wondering if anyone else has come
across this.

% find buddypress
buddypress
buddypress/.git
[omitted]
buddypress/.git/svn
buddypress/.git/svn/refs
buddypress/.git/svn/refs/remotes
buddypress/.git/svn/refs/remotes/git-svn
buddypress/.git/svn/refs/remotes/trunk
buddypress/.git/svn/refs/remotes/trunk/.rev_map.cdf35c40-ae34-48e0-9cc9-0c9da1808c22
buddypress/.git/svn/.metadata

% cat buddypress/.git/svn/.metadata
; This file is used internally by git-svn
; You should not have to edit it
[svn-remote "svn"]
    reposRoot = http://svn.buddypress.org
    uuid = cdf35c40-ae34-48e0-9cc9-0c9da1808c22
    branches-maxRev = 5188
    tags-maxRev = 5188

Thanks,
Anand

```

## Michael J Gruber, 2011-09-26 08:13

Subject: Re: git svn clone issues with buddypress subversion repository
Message-ID: <4E803413.3080709@drmicha.warpmail.net>
URL: https://gitlist.dev/e/4E803413.3080709%40drmicha.warpmail.net
In-Reply-To: <CAM1C4G=o_Q5scdv=Jk3ou-3OjnZiukZV3nz0NJR7CTaKLbB2jw@mail.gmail.com>

```
Anand Kumria venit, vidit, dixit 24.09.2011 18:50:
> Hi,
> 
> I'm trying:
> 
> % git svn clone -s http://svn.buddypress.org/trunk/ buddypress

Please try

git svn clone -s http://svn.buddypress.org/ buddypress

By saying "-s", you make git-svn look in trunk, branches and tags
subdirs of the URL that you specify, i.e. trunk/trunk etc. with your
command line.

Or, omit "-s" if you want the trunk branch only.

> Initialized empty Git repository in
> /home/anand/Projects/wordpress/buddypress/.git/
> Using higher level of URL: http://svn.buddypress.org/trunk =>
> http://svn.buddypress.org
> 
> % git --version
> git version 1.7.0.4
> 
> And at the end, git svn appears to successfull complete but nothing
> has occurred. I'm successfully using 'git svn' against other
> repositories with no problem, just wondering if anyone else has come
> across this.
> 
> % find buddypress
> buddypress
> buddypress/.git
> [omitted]
> buddypress/.git/svn
> buddypress/.git/svn/refs
> buddypress/.git/svn/refs/remotes
> buddypress/.git/svn/refs/remotes/git-svn
> buddypress/.git/svn/refs/remotes/trunk
> buddypress/.git/svn/refs/remotes/trunk/.rev_map.cdf35c40-ae34-48e0-9cc9-0c9da1808c22
> buddypress/.git/svn/.metadata
> 
> % cat buddypress/.git/svn/.metadata
> ; This file is used internally by git-svn
> ; You should not have to edit it
> [svn-remote "svn"]
>     reposRoot = http://svn.buddypress.org
>     uuid = cdf35c40-ae34-48e0-9cc9-0c9da1808c22
>     branches-maxRev = 5188
>     tags-maxRev = 5188

Contents of .git/config would be more helpful in general. We don't need
it in this case, but looking at it might have given you the clue
(trunk/trunk).

Michael

```

## Anand Kumria, 2011-09-27 07:44

Subject: Re: git svn clone issues with buddypress subversion repository
Message-ID: <CAM1C4G=EzGDgQj=RnjG+AqLyWWwWYE=CpW-qbG1qRsvAa_EX3g@mail.gmail.com>
URL: https://gitlist.dev/e/CAM1C4G%3DEzGDgQj%3DRnjG%2BAqLyWWwWYE%3DCpW-qbG1qRsvAa_EX3g%40mail.gmail.com
In-Reply-To: <4E803413.3080709@drmicha.warpmail.net>

```
Hi Michael,

On 26 September 2011 09:13, Michael J Gruber <git@drmicha.warpmail.net> wrote:
> Anand Kumria venit, vidit, dixit 24.09.2011 18:50:
>> Hi,
>>
>> I'm trying:
>>
>> % git svn clone -s http://svn.buddypress.org/trunk/ buddypress
>
> Please try
>
> git svn clone -s http://svn.buddypress.org/ buddypress

Yup - works perfectly!

Cheers,
Anand

```
