summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2006-03-27 16:03:36 -0800
committerLibravatar Junio C Hamano <junkio@cox.net>2006-03-27 16:03:36 -0800
commit65b5e41e24dd76e9cc272399f458857d5b13d63e (patch)
tree024caff72bd1235266a5de25446317a32529207d
parentMerge branch 'lt/diffgen' into next (diff)
parentgit-svnimport: if a limit is specified, respect it (diff)
downloadtgif-65b5e41e24dd76e9cc272399f458857d5b13d63e.tar.xz
Merge branch ak/svn
-rwxr-xr-xgit-svnimport.perl2
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;