From: Matthias Urlichs Date: Mon, 10 Oct 2005 18:10:48 +0000 (+0200) Subject: svn import: get all revisions X-Git-Tag: v0.99.9~112^2~7 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8470b7f3a3cd5a70ff0b05486e335d351843890f;p=git.git svn import: get all revisions Not skipping the last revision is generally seen as Good Thing. ;-) Signed-Off-By: Matthias Urlichs --- diff --git a/git-svnimport.perl b/git-svnimport.perl index 102fa6e33..f9318c85c 100755 --- a/git-svnimport.perl +++ b/git-svnimport.perl @@ -623,7 +623,7 @@ sub commit_all { } } -while(++$current_rev < $svn->{'maxrev'}) { +while(++$current_rev <= $svn->{'maxrev'}) { $svn->{'svn'}->get_log("/",$current_rev,$current_rev,$current_rev,1,1,\&_commit_all,""); commit_all(); if($opt_l and not --$opt_l) {