summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 90a2bf9)
raw | patch | inline | side by side (parent: 90a2bf9)
author | Tuomas Suutari <tuomas.suutari@gmail.com> | |
Wed, 24 Feb 2010 18:09:01 +0000 (20:09 +0200) | ||
committer | Eric Wong <normalperson@yhbt.net> | |
Sat, 13 Mar 2010 09:16:17 +0000 (01:16 -0800) |
Detecting of merges from svn:mergeinfo or svk merge tickets failed
with rewrite-root option. This fixes it.
Signed-off-by: Tuomas Suutari <tuomas.suutari@gmail.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
with rewrite-root option. This fixes it.
Signed-off-by: Tuomas Suutari <tuomas.suutari@gmail.com>
Acked-by: Eric Wong <normalperson@yhbt.net>
git-svn.perl | patch | blob | history |
diff --git a/git-svn.perl b/git-svn.perl
index 1a26843f44d687c5b89c118c31d5c088b41a1cb2..aceeca5a9487e47e281468d02ca10567b74217bf 100755 (executable)
--- a/git-svn.perl
+++ b/git-svn.perl
for my $ticket ( @tickets ) {
my ($uuid, $path, $rev) = split /:/, $ticket;
if ( $uuid eq $self->ra_uuid ) {
- my $url = $self->rewrite_root || $self->{url};
+ my $url = $self->{url};
my $repos_root = $url;
my $branch_from = $path;
$branch_from =~ s{^/}{};
# are now marked as merge, we can add the tip as a parent.
my @merges = split "\n", $mergeinfo;
my @merge_tips;
- my $url = $self->rewrite_root || $self->{url};
+ my $url = $self->{url};
my $uuid = $self->ra_uuid;
my %ranges;
for my $merge ( @merges ) {