Skip to content

Commit

Permalink
contrib/git-svn: fix a harmless warning on rebuild (with old repos)
Browse files Browse the repository at this point in the history
It's only for repositories that were imported with very early
versions of git-svn.  Unfortunately, some of those repos are out
in the wild already, so fix this warning.

Signed-off-by: Eric Wong <normalperson@yhbt.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Eric Wong authored and Junio C Hamano committed Mar 9, 2006
1 parent 7317ed9 commit 779b144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/git-svn/git-svn.perl
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ sub rebuild {
# if we merged or otherwise started elsewhere, this is
# how we break out of it
next if (defined $SVN_UUID && ($uuid ne $SVN_UUID));
next if (defined $SVN_URL && ($url ne $SVN_URL));
next if (defined $SVN_URL && defined $url && ($url ne $SVN_URL));

print "r$rev = $c\n";
unless (defined $latest) {
Expand Down

0 comments on commit 779b144

Please sign in to comment.