git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: svn repository URL and git

From
HKH 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
Previous: H KrishnanNext: Ulrich Spörlein
Message 4 of 8 in “svn repository URL and git”
  1. H KrishnanOct 27, 2010
  2. Mathias LafeldtOct 27, 2010
  3. H KrishnanOct 27, 2010
  4. H KrishnanOct 28, 2010
  5. Ulrich SpörleinOct 28, 2010
  6. Mathias LafeldtOct 28, 2010
  7. Ulrich SpörleinOct 28, 2010
  8. H KrishnanOct 29, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.