From: H Krishnan <hetchkay@gmail.com>
To: git@vger.kernel.org
Subject: Re: svn repository URL and git
Date: Fri, 29 Oct 2010 03:07:36 +0000 (UTC) [thread overview]
Message-ID: <loom.20101029T045420-973@post.gmane.org> (raw)
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/metadata
3) 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
prev parent reply other threads:[~2010-10-29 3:07 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-27 15:05 svn repository URL and git H Krishnan
2010-10-27 15:31 ` Mathias Lafeldt
2010-10-27 16:15 ` H Krishnan
2010-10-28 16:58 ` H Krishnan
2010-10-28 19:02 ` Ulrich Spörlein
2010-10-28 19:31 ` Mathias Lafeldt
2010-10-28 19:37 ` Ulrich Spörlein
2010-10-29 3:07 ` H Krishnan [this message]
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=loom.20101029T045420-973@post.gmane.org \
--to=hetchkay@gmail.com \
--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;
as well as URLs for NNTP newsgroup(s).