зеркало из https://github.com/microsoft/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 <normalperson@yhbt.net>
This commit is contained in:
Родитель
26a62d57a2
Коммит
c3560e535c
|
@ -2765,6 +2765,10 @@ sub gs_fetch_loop_common {
|
||||||
next if defined $gs->rev_db_get($max);
|
next if defined $gs->rev_db_get($max);
|
||||||
$gs->rev_db_set($max, 0 x40);
|
$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;
|
last if $max >= $head;
|
||||||
$min = $max + 1;
|
$min = $max + 1;
|
||||||
$max += $inc;
|
$max += $inc;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче