yuja added a comment.

  >   Oops, my oversight - what's passed to cmp is not the same that's compared 
to None in that if :) I have even less confidence on this now.
  
  And `workingfilectx.cmp(self, fctx)` flips `self` and `fctx` as it knows
  `self._filenode` is None, and the other's wouldn't be None. I don't like it,
  but that's how fctx.cmp() is working.

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

Reply via email to