>   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.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to