# HG changeset patch # User Sean Farley # Date 2013-08-15 20:00:03 # Node ID d2743be1bb0645f45411cb7a91764a791e7ff4eb # Parent 151a992c387426154f2f2292f31e6eb7fa8650dc 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. diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -1531,7 +1531,7 @@ class workingfilectx(committablefilectx) # 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