diff options
author | Matthias Urlichs <smurf@smurf.noris.de> | 2005-10-10 20:10:48 +0200 |
---|---|---|
committer | Matthias Urlichs <smurf@smurf.noris.de> | 2005-10-10 20:10:48 +0200 |
commit | 8470b7f3a3cd5a70ff0b05486e335d351843890f (patch) | |
tree | bf2836ef4353ec9ce1e37de3cf504c975a73c3bd | |
parent | 22dcbb75129b3124a9fd71ed449030b79093b634 (diff) | |
download | git-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>
-rwxr-xr-x | git-svnimport.perl | 2 |
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) { |