Git development
 help / color / mirror / Atom feed
From: Jakub Narebski <jnareb@gmail.com>
To: Christian Stimming <christian@cstimming.de>
Cc: git@vger.kernel.org
Subject: Re: git svn relocate [SCRIPT]
Date: Tue, 22 Jun 2010 06:15:06 -0700 (PDT)	[thread overview]
Message-ID: <m3r5jznr9z.fsf@localhost.localdomain> (raw)
In-Reply-To: <20100622114043.1419733jtkx6m0co@webmail.tu-harburg.de>

Christian Stimming <christian@cstimming.de> writes:

> Dear all,
> 
> I haven't found an easy solution for when a git-svn SVN server changes
> its address, but I think the attached patch implements a solution
> useful for others as well.
> 
> In plain svn this is the "svn switch --relocate URL1 URL2" command to
> change the URL of a working copy from URL1 to URL2. In git-svn, there
> didn't seem to be a suitable command available. What I found were the
> instructions here
> http://translate.org.za/blogs/wynand/en/content/changing-your-svn-repository-address-git-svn-setup
> and some other google hits related to this one. The instructions from
> the wynand blog uses git-filter-branch, and the instructions were
> complete enough so that an all-in-one shell script wasn't too
> difficult to write. So the attached script implements this: Just call
> "git-svn-relocate URL1 URL2" and all the rest should happen
> automatically.

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/

-- 
Jakub Narebski
Poland
ShadeHawk on #git

  reply	other threads:[~2010-06-22 13:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-22  9:40 git svn relocate [SCRIPT] Christian Stimming
2010-06-22 13:15 ` Jakub Narebski [this message]
2010-06-22 15:11   ` Ævar Arnfjörð Bjarmason
2010-06-23  9:53     ` Eric Wong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3r5jznr9z.fsf@localhost.localdomain \
    --to=jnareb@gmail.com \
    --cc=christian@cstimming.de \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox