Mercurial > hg
view hgext/remotefilelog/shallowverifier.py @ 42497:df1419c5756a
remotefilelog: tell runbgcommand to not block on child process startup
These two invocations will always find a binary because they're
re-running hg. As a result, we can skip waiting for the subprocess to
start running and save a little bit of wall-time.
Differential Revision: https://phab.mercurial-scm.org/D6539
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 18 Jun 2019 09:57:06 -0400 |
parents | 3a333a582d7b |
children | 2372284d9457 |
line wrap: on
line source
# shallowverifier.py - shallow repository verifier # # Copyright 2015 Facebook, Inc. # # This software may be used and distributed according to the terms of the # GNU General Public License version 2 or any later version. from __future__ import absolute_import from mercurial.i18n import _ from mercurial import verify class shallowverifier(verify.verifier): def _verifyfiles(self, filenodes, filelinkrevs): """Skips files verification since repo's not guaranteed to have them""" self.repo.ui.status( _("skipping filelog check since remotefilelog is used\n")) return 0, 0