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 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/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
Previous: Ulrich Spörlein
Message 8 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.