Re: git svn relocate [SCRIPT]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Christian Stimming <christian@xxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]