X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-svnimport.perl;h=114784ff3e2fd7329dfb1eb48470bbfc0e5fd862;hb=20b1d700c94c8b5b2b8b6f1b4982858d03cd9453;hp=639aa41861a734aab225479be7524c972191da70;hpb=5aad948f6500d29a755c81358ea9a07eaea26beb;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;