diff options
author | Alex Vandiver <alexmv@MIT.EDU> | 2009-05-06 22:18:53 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-05-21 09:31:08 +0200 |
commit | b6c61778d4fa57904d5b818e0ca04292aa1d0335 (patch) | |
tree | 4e9cbcad4fcad36d4467bc43478d0ef36e6be77a /git-svn.perl | |
parent | git-svn: Fix for svn paths removed > log-window-size revisions ago (diff) | |
download | git-b6c61778d4fa57904d5b818e0ca04292aa1d0335.tar.xz git-b6c61778d4fa57904d5b818e0ca04292aa1d0335.zip |
git-svn: Correctly report max revision when following deleted paths
Report the maximum found revision in the range, instead of the minimum
changed revision.
Signed-off-by: Alex Vandiver <alexmv@mit.edu>
Acked-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-x | git-svn.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-svn.perl b/git-svn.perl index 5836ddec8a..eebcf0f20e 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -4471,7 +4471,7 @@ sub gs_fetch_loop_common { my $ok; $self->get_log([$longest_path], $min, $hi, 0, 1, 1, sub { - $ok ||= $_[1]; + $ok = $_[1]; $revs{$_[1]} = _cb(@_) }); if ($ok) { print STDERR "r$min .. r$ok OK\n"; |