@matheusbsbs / matheus-bagliano / commits / 99366565f1
Fork 0

git-svn: Print revision while searching for earliest use of path

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>

Deskin Miller committed Feb 8, 2009 at 19:33 UTC 99366565f1a78f9089c0e505ddaee47b31928f1d
1 file changed +3
git-svn.perl
+3
@@ -4376,6 +4376,9 @@ sub gs_fetch_loop_common {
4376 }
4377 $self->get_log([$longest_path], $min, $max, 0, 1, 1,
4378 sub { $revs{$_[1]} = _cb(@_) });
4379 + if ($err) {
4380 + print "Checked through r$max\r";
4381 + }
4382 if ($err && $max >= $head) {
4383 print STDERR "Path '$longest_path' ",
4384 "was probably deleted:\n",