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

Re: Cloning of git-svn repos?

From
Sam Vilain <sam@vilain.net>
Date
Apr 19, 2007, 13:03 UTC
Message-ID
<462768B9.5030102@vilain.net>
In-Reply-To
<20070418092916.GI31488@curie-int.orbis-terrarum.net>
Robin H. Johnson wrote:
Show 10 quoted lines
> (This is completely unrelated to my previous posts about using git for
> Gentoo, it's not the only placing I'm looking at implementing Git).
>
> Is there a sane and git-recommended way to clone repos created with
> git-svn?
>
> If I do: 'git-svn clone ....', and then git-clone of that directory, the
> second clone cannot use git-svn to follow the original SVN or feed stuff
> back to the original SVN.
>   

You need to make sure to clone the remotes/ refs as well. See http://utsl.gen.nz/talks/git-svn/intro.html#howto-track-svn

Sam.
Show 7 quoted lines
> If I create them separately (or by plain copying the first one to create
> the second), then pulling between them works fine.
>
> The copying just feels messy compared to the initial git-clone
> functionality.
>
>   
Previous: Steven Grimm
Message 3 of 3 in “Cloning of git-svn repos?”
  1. Robin H. JohnsonApr 18, 2007
  2. Steven GrimmApr 18, 2007
  3. Sam VilainApr 19, 2007

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.