summaryrefslogtreecommitdiff
path: root/git-svnimport.perl
diff options
context:
space:
mode:
authorMatthias Urlichs <smurf@smurf.noris.de>2005-10-10 18:10:48 (GMT)
committerMatthias Urlichs <smurf@smurf.noris.de>2005-10-10 18:10:48 (GMT)
commit8470b7f3a3cd5a70ff0b05486e335d351843890f (patch)
treebf2836ef4353ec9ce1e37de3cf504c975a73c3bd /git-svnimport.perl
parent22dcbb75129b3124a9fd71ed449030b79093b634 (diff)
downloadgit-8470b7f3a3cd5a70ff0b05486e335d351843890f.zip
git-8470b7f3a3cd5a70ff0b05486e335d351843890f.tar.gz
git-8470b7f3a3cd5a70ff0b05486e335d351843890f.tar.bz2
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 102fa6e..f9318c8 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) {