Re: git svn relocate [SCRIPT]
- From
- Eric 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