Skip to content

Commit

Permalink
Merge git://git.bogomips.org/git-svn
Browse files Browse the repository at this point in the history
* git://git.bogomips.org/git-svn:
  git-svn: Avoid spurious errors when rewriteRoot is used.
  • Loading branch information
Junio C Hamano committed Oct 9, 2009
2 parents 8ba5eff + c03c1f7 commit 63d129d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions git-svn.perl
Original file line number Diff line number Diff line change
Expand Up @@ -603,8 +603,15 @@ sub cmd_dcommit {
"\nBefore dcommitting";
}
if ($url_ ne $expect_url) {
fatal "URL mismatch after rebase: ",
"$url_ != $expect_url";
if ($url_ eq $gs->metadata_url) {
print
"Accepting rewritten URL:",
" $url_\n";
} else {
fatal
"URL mismatch after rebase:",
" $url_ != $expect_url";
}
}
if ($uuid_ ne $uuid) {
fatal "uuid mismatch after rebase: ",
Expand Down

0 comments on commit 63d129d

Please sign in to comment.