# HG changeset patch # User Sean Farley # Date 1376515526 18000 # Node ID ba4c01c34df90242d50c5feb9678382e18211a06 # Parent 56ba14d4bc029fa14d7762c08ab0b76d8b7dc5cb commitablectx: move children from workingctx diff -r 56ba14d4bc02 -r ba4c01c34df9 mercurial/context.py --- a/mercurial/context.py Wed Aug 14 16:25:17 2013 -0500 +++ b/mercurial/context.py Wed Aug 14 16:25:26 2013 -0500 @@ -1015,6 +1015,9 @@ def hidden(self): return False + def children(self): + return [] + class workingctx(commitablectx): """A workingctx object makes access to data related to the current working directory convenient. @@ -1041,9 +1044,6 @@ p = p[:-1] return [changectx(self._repo, x) for x in p] - def children(self): - return [] - def flags(self, path): if '_manifest' in self.__dict__: try: