comparison mercurial/verify.py @ 42156:496ac8a02380

verify: introduce an experimental --full flag The flag currently has no effect, see next changeset for details. We introduce the flag as experimental to keep the freedom of changing our mind on the final UI. Note: this patch highlight a small but in `hg help`. An option section is generated even if no option are visible.
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Wed, 17 Apr 2019 01:11:09 +0200
parents 57539e5ea2e0
children 7755b89cadaf
comparison
equal deleted inserted replaced
42155:57539e5ea2e0 42156:496ac8a02380
21 revlog, 21 revlog,
22 util, 22 util,
23 ) 23 )
24 24
25 VERIFY_DEFAULT = 0 25 VERIFY_DEFAULT = 0
26 VERIFY_FULL = 1
26 27
27 def verify(repo, level=None): 28 def verify(repo, level=None):
28 with repo.lock(): 29 with repo.lock():
29 v = verifier(repo, level) 30 v = verifier(repo, level)
30 return v.verify() 31 return v.verify()