Skip to content

Commit 63d129d

Browse files
committed
Merge git://git.bogomips.org/git-svn
* git://git.bogomips.org/git-svn: git-svn: Avoid spurious errors when rewriteRoot is used.
2 parents 8ba5eff + c03c1f7 commit 63d129d

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

git-svn.perl

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -603,8 +603,15 @@ sub cmd_dcommit {
603603
"\nBefore dcommitting";
604604
}
605605
if ($url_ ne $expect_url) {
606-
fatal "URL mismatch after rebase: ",
607-
"$url_ != $expect_url";
606+
if ($url_ eq $gs->metadata_url) {
607+
print
608+
"Accepting rewritten URL:",
609+
" $url_\n";
610+
} else {
611+
fatal
612+
"URL mismatch after rebase:",
613+
" $url_ != $expect_url";
614+
}
608615
}
609616
if ($uuid_ ne $uuid) {
610617
fatal "uuid mismatch after rebase: ",

0 commit comments

Comments
 (0)