Re: svn repository URL and git
- From
- H Krishnan <hetchkay@gmail.com>
- Date
- Oct 28, 2010, 16:58 UTC
- Message-ID
- <loom.20101028T184823-831@post.gmane.org>
- In-Reply-To
- <loom.20101027T180316-38@post.gmane.org>
Hi, I think I resolved this problem by using --rewrite-root as suggested. I used a dummy root during the git-svn clone:
git-svn clone --rewrite-root http://git.is.great <myrepo>
All my commit messages now have http://git.is.great but I am able to change the repository URL and continue.
Could this approach be used as an insurance against svn url changes? When initializing the repository, we could use --rewrite-root. Subsequently, if the svn repository relocates, we need to edit only .git/config.
Thanks for your help.
Krishnan