From: Deskin Miller Date: Mon, 9 Feb 2009 00:33:18 +0000 (-0500) Subject: git-svn: Print revision while searching for earliest use of path X-Git-Tag: v1.6.2-rc1~27^2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=99366565f1a78f9089c0e505ddaee47b31928f1d;p=git.git 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 --- diff --git a/git-svn.perl b/git-svn.perl index b0ae05bc4..9baf8221c 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -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",