Re: svn repository URL and git

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]