Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Urlichs <smurf@smurf.noris.de>2005-10-10 22:10:48 +0400
committerMatthias Urlichs <smurf@smurf.noris.de>2005-10-10 22:10:48 +0400
commit8470b7f3a3cd5a70ff0b05486e335d351843890f (patch)
treebf2836ef4353ec9ce1e37de3cf504c975a73c3bd /git-svnimport.perl
parent22dcbb75129b3124a9fd71ed449030b79093b634 (diff)
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) {