diff options
-rwxr-xr-x | git-svnimport.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-svnimport.perl b/git-svnimport.perl index 639aa41861..114784ff3e 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; |