diff: avoid going from contexts to nodes and back...
diff: avoid going from contexts to nodes and back
This will allow us to pass in-memory contexts that may not have a
valid node to the diffing logic.
Differential Revision:
https://phab.mercurial-scm.org/D8503