Re: svn repository URL and git
- From
- H Krishnan <hetchkay@gmail.com>
- Date
- Oct 29, 2010, 03:07 UTC
- Message-ID
- <loom.20101029T045420-973@post.gmane.org>
- In-Reply-To
- <4CC9CF86.7040307@debugon.org>
Hi, Would the following approach for svn switch --relocate (even for current git clones):
1)If svn-remote.svn.rewriteRoot does not exist in config file:
git config svn-remote.svn.rewriteRoot <currentRepository>2)If svn-remote.svn.rewriteUUID does not exist in config file:
git config svn-remote.svn.rewriteUUID <currentRepositoryUUID>
currentRepositoryUUID can be obtained from .git/svn/metadata3) git config svn-remote.svn.url <newRepository>
If the above works, it would be much simpler than other solutions that have been proposed for svn repo relocations.
Krishnan