From 8470b7f3a3cd5a70ff0b05486e335d351843890f Mon Sep 17 00:00:00 2001 From: Matthias Urlichs Date: Mon, 10 Oct 2005 20:10:48 +0200 Subject: [PATCH] svn import: get all revisions Not skipping the last revision is generally seen as Good Thing. ;-) Signed-Off-By: Matthias Urlichs --- git-svnimport.perl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-svnimport.perl b/git-svnimport.perl index 102fa6e3..f9318c85 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) { -- 2.11.0