Skip to content

Commit 9936656

Browse files
deskinEric Wong
authored andcommitted
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 <[email protected]>
1 parent 8e3f9b1 commit 9936656

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

git-svn.perl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4376,6 +4376,9 @@ sub gs_fetch_loop_common {
43764376
}
43774377
$self->get_log([$longest_path], $min, $max, 0, 1, 1,
43784378
sub { $revs{$_[1]} = _cb(@_) });
4379+
if ($err) {
4380+
print "Checked through r$max\r";
4381+
}
43794382
if ($err && $max >= $head) {
43804383
print STDERR "Path '$longest_path' ",
43814384
"was probably deleted:\n",

0 commit comments

Comments
 (0)