summaryrefslogtreecommitdiff
path: root/git-svnimport.perl
diff options
context:
space:
mode:
authorMatthias Urlichs <smurf@smurf.noris.de>2005-10-10 20:10:48 +0200
committerMatthias Urlichs <smurf@smurf.noris.de>2005-10-10 20:10:48 +0200
commit8470b7f3a3cd5a70ff0b05486e335d351843890f (patch)
treebf2836ef4353ec9ce1e37de3cf504c975a73c3bd /git-svnimport.perl
parent22dcbb75129b3124a9fd71ed449030b79093b634 (diff)
downloadgit-8470b7f3a3cd5a70ff0b05486e335d351843890f.tar.gz
svn import: get all revisions
Not skipping the last revision is generally seen as Good Thing. ;-) Signed-Off-By: Matthias Urlichs <smurf@smurf.noris.de>
Diffstat (limited to 'git-svnimport.perl')
-rwxr-xr-xgit-svnimport.perl2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-svnimport.perl b/git-svnimport.perl
index 102fa6e339..f9318c85cd 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) {