Thread (8 messages) flat view 8 messages, 3 authors, 2016-06-15

Re: svn repository URL and git

From: H Krishnan <hidden>
Date: 2016-06-15 22:49:56

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help