projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22dcbb7
)
svn import: get all revisions
author
Matthias Urlichs
<smurf@smurf.noris.de>
Mon, 10 Oct 2005 18:10:48 +0000
(20:10 +0200)
committer
Matthias Urlichs
<smurf@smurf.noris.de>
Mon, 10 Oct 2005 18:10:48 +0000
(20:10 +0200)
Not skipping the last revision is generally seen as Good Thing. ;-)
Signed-Off-By: Matthias Urlichs <smurf@smurf.noris.de>
git-svnimport.perl
patch
|
blob
|
history
diff --git
a/git-svnimport.perl
b/git-svnimport.perl
index
102fa6e
..
f9318c8
100755
(executable)
--- 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) {