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

Re: git svn relocate [SCRIPT]

From
EWEric Wong <normalperson@yhbt.net>
Date
Jun 23, 2010, 09:53 UTC
Message-ID
<20100623095303.GA19651@dcvr.yhbt.net>
In-Reply-To
<AANLkTil6VEPqJxp4wiE7f25zmrnZ9vS1M-f4tFuV4pMO@mail.gmail.com>
Ævar Arnfjörð Bjarmason <avarab@gmail.com> wrote:
Show 20 quoted lines
> On Tue, Jun 22, 2010 at 13:15, Jakub Narebski <jnareb@gmail.com> wrote:
> > If you can put this script somewhere (e.g. GitHub, or repo.or.cz), could you
> > please add information about it to InterfacesFriontendsAndTools page on Git
> > Wiki (http://git.wiki.kernel.org)?
> >
> > Alternatively, perhaps you could send it as a patch adding it to somwehere
> > in the contrib/
> 
> This is part of the "Reconstructing git-svn metadata after a git
> clone"[1] problem for which there's an open thread. You have to
> rewrite history using git-filter-branch to fix the branch references
> if you need to change the SVN URL.
> 
> It would be nice if you could specify that sed replacement in some
> git-svn config file if you needed to change e.g. someone's http://
> clone to a svn+ssh:// clone without rewriting the whole thing.
> 
> Would that sort of thing be possible? Eric?
> 
> http://kerneltrap.org/mailarchive/git/2010/5/8/30062

Does the existing rewriteRoot configuration option work for this? (I had almost forgotten about it myself :x)

-- 
Eric Wong
Previous: Ævar Arnfjörð Bjarmason
Message 4 of 4 in “git svn relocate [SCRIPT]”
  1. Christian StimmingJun 22, 2010
  2. Jakub NarebskiJun 22, 2010
  3. Ævar Arnfjörð BjarmasonJun 22, 2010
  4. Eric WongJun 23, 2010

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.