X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-svnimport.perl;h=114784ff3e2fd7329dfb1eb48470bbfc0e5fd862;hb=46b8dec038be1125153e9fc816a1e1f0a9d2de77;hp=639aa41861a734aab225479be7524c972191da70;hpb=213523f46c51c5e5f1b2623dcb3af822add75caa;p=git.git diff --git a/git-svnimport.perl b/git-svnimport.perl index 639aa418..114784ff 100755 --- a/git-svnimport.perl +++ b/git-svnimport.perl @@ -851,7 +851,7 @@ sub commit_all { $opt_l = $svn->{'maxrev'} if not defined $opt_l or $opt_l > $svn->{'maxrev'}; -if ($svn->{'maxrev'} < $current_rev) { +if ($opt_l < $current_rev) { print "Up to date: no new revisions to fetch!\n" if $opt_v; unlink("$git_dir/SVN2GIT_HEAD"); exit;