git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: git svn clone issues with buddypress subversion repository

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Sep 26, 2011, 08:13 UTC
Message-ID
<4E803413.3080709@drmicha.warpmail.net>
In-Reply-To
<CAM1C4G=o_Q5scdv=Jk3ou-3OjnZiukZV3nz0NJR7CTaKLbB2jw@mail.gmail.com>
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
Previous: Anand KumriaNext: Anand Kumria
Message 2 of 3 in “git svn clone issues with buddypress subversion repository”
  1. Anand KumriaSep 24, 2011
  2. Michael J GruberSep 26, 2011
  3. Anand KumriaSep 27, 2011

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.