yuja added a comment.
> In context.py, basefilectx.cmp explicitly calls it with None, so it has to be > supported. Specifically, this breaks "hg absorb -i" currently. IIUC, `self._filenode` should never be `None` if the given `fctx._filenode` is `None`. If `None` were passed down to the filelog layer, exception would be raised. > returns True if text is different than what is stored. > """ > > > - if node == nullid: + if not node or node == nullid: return True Are we sure that the working-directory data is different from the given text? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5409 To: rdamazio, #hg-reviewers Cc: yuja, mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel