equal
deleted
inserted
replaced
|
1 # shallowverifier.py - shallow repository verifier |
|
2 # |
|
3 # Copyright 2015 Facebook, Inc. |
|
4 # |
|
5 # This software may be used and distributed according to the terms of the |
|
6 # GNU General Public License version 2 or any later version. |
|
7 from __future__ import absolute_import |
|
8 |
|
9 from mercurial.i18n import _ |
|
10 from mercurial import verify |
|
11 |
|
12 class shallowverifier(verify.verifier): |
|
13 def _verifyfiles(self, filenodes, filelinkrevs): |
|
14 """Skips files verification since repo's not guaranteed to have them""" |
|
15 self.repo.ui.status( |
|
16 _("skipping filelog check since remotefilelog is used\n")) |
|
17 return 0, 0 |