changeset 21665:d2743be1bb06

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.
author Sean Farley <sean.michael.farley@gmail.com>
date Thu, 15 Aug 2013 15:00:03 -0500
parents 151a992c3874
children 31bdc51b0f1e
files mercurial/context.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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