Skip to content

Commit

Permalink
git-svn: Print revision while searching for earliest use of path
Browse files Browse the repository at this point in the history
When initializing a git-svn repository from a Subversion repoository,
it is common to be interested in a path which did not exist in the
initial commit to Subversion.  In a large repository, the initial fetch
may take some looking for the earliest existence of the path time while
the user receives no additional feedback.  Print the highest revision
number scanned thus far to let the user know something is still
happening.

Signed-off-by: Deskin Miller <deskinm@umich.edu>
  • Loading branch information
Deskin Miller authored and Eric Wong committed Feb 11, 2009
1 parent 8e3f9b1 commit 9936656
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions git-svn.perl
Original file line number Diff line number Diff line change
Expand Up @@ -4376,6 +4376,9 @@ sub gs_fetch_loop_common {
}
$self->get_log([$longest_path], $min, $max, 0, 1, 1,
sub { $revs{$_[1]} = _cb(@_) });
if ($err) {
print "Checked through r$max\r";
}
if ($err && $max >= $head) {
print STDERR "Path '$longest_path' ",
"was probably deleted:\n",
Expand Down

0 comments on commit 9936656

Please sign in to comment.