Skip to content

Commit

Permalink
git-svn: Correctly report max revision when following deleted paths
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Alex Vandiver authored and Eric Wong committed May 21, 2009
1 parent c69700f commit b6c6177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-svn.perl
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit b6c6177

Please sign in to comment.