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 <normalperson@yhbt.net>
Eric Wong committed
Feb 12, 2007 at 16:03 UTC
c3560e535c67b4084852da00507ff4b7fdf98ffc
1 file changed
+4
git-svn.perl
+4
@@ -2765,6 +2765,10 @@ sub gs_fetch_loop_common {
2765
next if defined $gs->rev_db_get($max);
2766
$gs->rev_db_set($max, 0 x40);
2767
}
2768
+ foreach my $g (@$globs) {
2769
+ my $k = "svn-remote.$g->{remote}.$g->{t}-maxRev";
2770
+ Git::SVN::tmp_config($k, $max);
2771
+ }
2772
last if $max >= $head;
2773
$min = $max + 1;
2774
$max += $inc;