author | Junio C Hamano <gitster@pobox.com> | |
Fri, 9 Oct 2009 09:53:46 +0000 (02:53 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 9 Oct 2009 09:53:46 +0000 (02:53 -0700) |
* git://git.bogomips.org/git-svn:
git-svn: Avoid spurious errors when rewriteRoot is used.
git-svn: Avoid spurious errors when rewriteRoot is used.
git-svn.perl | patch | blob | history |
diff --git a/git-svn.perl b/git-svn.perl
index e0ec258e335ceb88e97f749e22f997a4f699eb8b..ab65d688fe3f180adaff0264be06ae1e010f8229 100755 (executable)
--- a/git-svn.perl
+++ b/git-svn.perl
"\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: ",