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

Re: git-svnimport

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Oct 25, 2007, 22:22 UTC
Message-ID
<Pine.LNX.4.64.0710252322320.4362@racer.site>
In-Reply-To
<20071025222029.GA11677@dervierte>
Hi,
On Thu, 25 Oct 2007, Steven Walter wrote:
Show 21 quoted lines
> On Thu, Oct 25, 2007 at 02:04:29PM +0100, Johannes Schindelin wrote:
> > FYI you'll have to do something like this:
> > 
> > 	git svn init svn://busybox.net/trunk/busybox
> > 	git svn fetch
> > 
> > to merge with current busybox (although I updated before I pushed).
> 
> More than that, you'll want to:
> 
>     git svn init <foo>
>     cp .git/refs/remotes/origin/master .git/refs/remotes/git-svn
>     git svn fetch
> 
> If git-svn doesn't find a remote named "git-svn" it will assume that it
> has no information about the repository and starting doing a full
> checkout.  By copying the ref, git-svn will see that there are already
> commits with git-svn-id lines and rebuild its "rev-db".  After that, it
> will incrementally update for newer revisions.
> 
> That ought to save you a few precious minutes :)
Good catch.  Thanks.

Ciao, Dscho

Previous: Steven WalterNext: Gerrit Pape
Message 6 of 11 in “git-svnimport”
  1. Felipe BalbiOct 25, 2007
  2. Johannes SchindelinOct 25, 2007
  3. Felipe BalbiOct 25, 2007
  4. Johannes SchindelinOct 25, 2007
  5. Steven WalterOct 25, 2007
  6. Johannes SchindelinOct 25, 2007
  7. Gerrit PapeOct 26, 2007
  8. Johannes SchindelinOct 26, 2007
  9. Steven GrimmOct 26, 2007
  10. Junio C HamanoOct 26, 2007
  11. no longer install git-svnimport, move to contrib/examplesGerrit Pape, Oct 30, 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.