{"thread":{"id":"3608","subject":"[PATCH] contrib/git-svn: fix a harmless warning on rebuild (with old repos)","startedAt":"2006-03-09T11:52:48Z","lastAt":"2006-03-09T11:52:48Z","messageCount":1,"participants":["Eric Wong"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"17371","messageId":"20060309115248.GC11934@localdomain","threadId":"3608","inReplyTo":null,"subject":"[PATCH] contrib/git-svn: fix a harmless warning on rebuild (with old repos)","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2006-03-09T11:52:48Z","receivedAt":"2006-03-09T11:52:48Z","isPatch":true,"sender":{"key":"e@80x24.org","avatar":null},"body":"It's only for repositories that were imported with very early\nversions of git-svn.  Unfortunately, some of those repos are out\nin the wild already, so fix this warning.\n\nSigned-off-by: Eric Wong <normalperson@yhbt.net>\n\n---\n\n contrib/git-svn/git-svn.perl |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\n3c3753ad761d1802cc79418ae337ee4a3110a109\ndiff --git a/contrib/git-svn/git-svn.perl b/contrib/git-svn/git-svn.perl\nindex 43b50ec..cf233ef 100755\n--- a/contrib/git-svn/git-svn.perl\n+++ b/contrib/git-svn/git-svn.perl\n@@ -155,7 +155,7 @@ sub rebuild {\n \t\t# if we merged or otherwise started elsewhere, this is\n \t\t# how we break out of it\n \t\tnext if (defined $SVN_UUID && ($uuid ne $SVN_UUID));\n-\t\tnext if (defined $SVN_URL && ($url ne $SVN_URL));\n+\t\tnext if (defined $SVN_URL && defined $url && ($url ne $SVN_URL));\n \n \t\tprint \"r$rev = $c\\n\";\n \t\tunless (defined $latest) {\n-- \n1.2.4.ga2910\n"}]}