threads / discuss / 28483

git svn clone issues with buddypress subversion repository

Subject: git svn clone issues with buddypress subversion repository

## tl;dr

3 messages between Sep 24, 2011 and Sep 27, 2011.

replies: 2people: 2as markdown or json

Anand Kumria· Sep 24, 2011, 16:50 UTC · lore
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· Sep 26, 2011, 08:13 UTC · re: Anand Kumria · lore

Re: git svn clone issues with buddypress subversion repository

Anand Kumria venit, vidit, dixit 24.09.2011 18:50:
Show 5 quoted lines
> 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.
Show 33 quoted lines
> 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· Sep 27, 2011, 07:44 UTC · re: Michael J Gruber · lore

Re: git svn clone issues with buddypress subversion repository

Hi Michael,
On 26 September 2011 09:13, Michael J Gruber <git@drmicha.warpmail.net> wrote:
Show 10 quoted lines
> 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

← back to recent threads