summaryrefslogtreecommitdiffstats
path: root/git-svn.perl
diff options
context:
space:
mode:
authorDeskin Miller <deskinm@umich.edu>2009-02-09 01:33:18 +0100
committerEric Wong <normalperson@yhbt.net>2009-02-11 11:00:42 +0100
commit99366565f1a78f9089c0e505ddaee47b31928f1d (patch)
tree2daa8d82ff35d1d09b7bf9cafb987db2f1b43ed2 /git-svn.perl
parentgit-svn: abstract out a block into new method other_gs() (diff)
downloadgit-99366565f1a78f9089c0e505ddaee47b31928f1d.tar.xz
git-99366565f1a78f9089c0e505ddaee47b31928f1d.zip
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>
Diffstat (limited to 'git-svn.perl')
-rwxr-xr-xgit-svn.perl3
1 files changed, 3 insertions, 0 deletions
diff --git a/git-svn.perl b/git-svn.perl
index b0ae05bc40..9baf8221c3 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",