memctx: inherit from committablectx
This patch marks the start of having memctx inherit from committablectx,
thereby making it a full-fledged context that will eventually grow the ability
to perform diffing and also merging.
--- a/mercurial/context.py Tue Apr 29 16:49:27 2014 -0500
+++ b/mercurial/context.py Thu Aug 15 15:00:03 2013 -0500
@@ -1531,7 +1531,7 @@
# invert comparison to reuse the same code path
return fctx.cmp(self)
-class memctx(object):
+class memctx(committablectx):
"""Use memctx to perform in-memory commits via localrepo.commitctx().
Revision information is supplied at initialization time while