diff -r 8f8211903b83 -r be5b2098a817 mercurial/filelog.py --- a/mercurial/filelog.py Fri Dec 09 03:22:26 2016 -0800 +++ b/mercurial/filelog.py Tue Dec 13 14:21:36 2016 +0000 @@ -104,9 +104,9 @@ return True - def checkhash(self, text, p1, p2, node, rev=None): + def checkhash(self, text, node, p1=None, p2=None, rev=None): try: - super(filelog, self).checkhash(text, p1, p2, node, rev=rev) + super(filelog, self).checkhash(text, node, p1=p1, p2=p2, rev=rev) except error.RevlogError: if _censoredtext(text): raise error.CensoredNodeError(self.indexfile, node, text)