git-svn: allow UUID to be manually remapped via rewriteUUID
authorJay Soffian <jaysoffian@gmail.com>
Sat, 23 Jan 2010 08:30:00 +0000 (03:30 -0500)
committerEric Wong <normalperson@yhbt.net>
Sat, 23 Jan 2010 11:23:04 +0000 (03:23 -0800)
commit3e18ce1ac3034b1562ec748523aa7636e1b58b52
treed4876c45fb29fbbb42e2a27f8be310c321520edd
parentc79f1189bc4e7d9bb9cb673c043ce8f587a9a92d
git-svn: allow UUID to be manually remapped via rewriteUUID

In certain situations it may be necessary to manually remap an svn
repostitory UUID. For example:

                  o--- [git-svn clone]
                 /
[origin svn repo]
                 \
                  o--- [svnsync clone]

Imagine that only "git-svn clone" and "svnsync clone" are made available
to external users. Furthur, "git-svn clone" contains only trunk, and for
reasons unknown, "svnsync clone" is missing the revision properties that
normally provide the origin svn repo's UUID.

A git user who has cloned the "git-svn clone" repo now wishes to use
git-svn to pull in the missing branches from the "synsync clone" repo.
In order for git-svn to get the history correct for those branches,
it needs to know the origin svn repo's UUID. Hence rewriteUUID.

Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
Documentation/git-svn.txt
git-svn.perl
t/t9153-git-svn-rewrite-uuid.sh [new file with mode: 0755]
t/t9153/svn.dump [new file with mode: 0644]