summaryrefslogtreecommitdiff
path: root/git-svn.perl
diff options
context:
space:
mode:
authorLibravatar Eric Wong <normalperson@yhbt.net>2007-01-07 19:35:41 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2007-01-07 21:32:49 -0800
commit9a5e4075a4b54581821584386e5e184a57f06d18 (patch)
treeac71708793af47d4109fcc172eb971d19bcce8df /git-svn.perl
parentgit-svn: add --prefix= option to multi-init (diff)
downloadtgif-9a5e4075a4b54581821584386e5e184a57f06d18.tar.xz
git-svn: pass an unambiguous ref to rev-list when grafting-branches
Some users apparently create local heads with the same basename as the remote branch they're tracking. Signed-off-by: Eric Wong <normalperson@yhbt.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-xgit-svn.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-svn.perl b/git-svn.perl
index a092be836e..56f17002d1 100755
--- a/git-svn.perl
+++ b/git-svn.perl
@@ -1086,7 +1086,7 @@ sub graft_merge_msg {
my ($grafts, $l_map, $u, $p, @re) = @_;
my $x = $l_map->{$u}->{$p};
- my $rl = rev_list_raw($x);
+ my $rl = rev_list_raw("refs/remotes/$x");
while (my $c = next_rev_list_entry($rl)) {
foreach my $re (@re) {
my (@br) = ($c->{m} =~ /$re/g);