From: Eric Wong Date: Tue, 13 Feb 2007 00:03:32 +0000 (-0800) Subject: git-svn: write the highest maxRex out for branches and tags X-Git-Tag: v1.5.1-rc1~174 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c3560e535c67b4084852da00507ff4b7fdf98ffc;p=git.git git-svn: write the highest maxRex out for branches and tags Even if nothing touched paths we care about in a fetch; increment the maxRev like we do with rev_db since we don't like having to run get_log on revisions we've seen before. Signed-off-by: Eric Wong --- diff --git a/git-svn.perl b/git-svn.perl index beebe3d95..b7e46e5b0 100755 --- a/git-svn.perl +++ b/git-svn.perl @@ -2765,6 +2765,10 @@ sub gs_fetch_loop_common { next if defined $gs->rev_db_get($max); $gs->rev_db_set($max, 0 x40); } + foreach my $g (@$globs) { + my $k = "svn-remote.$g->{remote}.$g->{t}-maxRev"; + Git::SVN::tmp_config($k, $max); + } last if $max >= $head; $min = $max + 1; $max += $inc;