summaryrefslogtreecommitdiff
path: root/contrib/git-svn
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-03-09 11:52:48 (GMT)
committerJunio C Hamano <junkio@cox.net>2006-03-09 18:10:30 (GMT)
commit779b14462523616cf84ea96690a983605fec2cdc (patch)
tree1c7e1ba30553d1a266f923483913e12684209bdd /contrib/git-svn
parent7317ed906a17c91593f38831412379d4429528db (diff)
downloadgit-779b14462523616cf84ea96690a983605fec2cdc.zip
git-779b14462523616cf84ea96690a983605fec2cdc.tar.gz
git-779b14462523616cf84ea96690a983605fec2cdc.tar.bz2
contrib/git-svn: fix a harmless warning on rebuild (with old repos)
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>
Diffstat (limited to 'contrib/git-svn')
-rwxr-xr-xcontrib/git-svn/git-svn.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/git-svn/git-svn.perl b/contrib/git-svn/git-svn.perl
index 43b50ec..cf233ef 100755
--- a/contrib/git-svn/git-svn.perl
+++ b/contrib/git-svn/git-svn.perl
@@ -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) {