diff -r f2fe7cf4ebb6 -r 57539e5ea2e0 mercurial/hg.py --- a/mercurial/hg.py Sat Apr 13 23:18:56 2019 -0700 +++ b/mercurial/hg.py Wed Apr 17 01:12:21 2019 +0200 @@ -1092,9 +1092,9 @@ recurse() return 0 # exit code is zero since we found outgoing changes -def verify(repo): +def verify(repo, level=None): """verify the consistency of a repository""" - ret = verifymod.verify(repo) + ret = verifymod.verify(repo, level=level) # Broken subrepo references in hidden csets don't seem worth worrying about, # since they can't be pushed/pulled, and --hidden can be used if they are a