diff -r 2f80eaf38ed4 -r 44c98cbc665f mercurial/repository.py --- a/mercurial/repository.py Fri Sep 28 09:28:38 2018 -0700 +++ b/mercurial/repository.py Fri Sep 28 09:33:05 2018 -0700 @@ -545,12 +545,6 @@ Any metadata is excluded from size measurements. """ - def checkhash(fulltext, node, p1=None, p2=None, rev=None): - """Validate the stored hash of a given fulltext and node. - - Raises ``error.StorageError`` is hash validation fails. - """ - def revision(node, raw=False): """"Obtain fulltext data for a node.