svn: allow branches outside of refs/remotes
commit6f5748e14cc5bb0a836b649fb8e2d6a5eb166f1d
authorAdam Brewster <adambrewster@gmail.com>
Wed, 12 Aug 2009 03:14:27 +0000 (11 23:14 -0400)
committerEric Wong <normalperson@yhbt.net>
Thu, 13 Aug 2009 05:17:56 +0000 (12 22:17 -0700)
treed5bfd423ccb6f1f2f2f12df41fc0b0c4cf27a6ad
parentb186a261b1f7ec1fbda8c5f6d84595f3a7716d92
svn: allow branches outside of refs/remotes

It may be convenient for some users to store svn remote tracking
branches outside of the refs/remotes/ heirarchy.

To accomplish this feat, this patch includes the entire path to
the ref in $r->{'refname'} in &read_all_remotes and tries to change
references to this entry so the new value makes sense.

[ew: fixed backwards compatibility, long lines]

Signed-off-by: Adam Brewster <adambrewster@gmail.com>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl
t/lib-git-svn.sh
t/t9104-git-svn-follow-parent.sh
t/t9107-git-svn-migrate.sh
t/t9143-git-svn-gc.sh
t/t9144-git-svn-old-rev_map.sh [new file with mode: 0755]