# HG changeset patch # User Sean Farley # Date 2013-08-14 21:25:17 # Node ID 56ba14d4bc029fa14d7762c08ab0b76d8b7dc5cb # Parent 594f4d2b0ce90d09cc7e73564619476f5b5280b4 commitablectx: move hidden from workingctx diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -1012,6 +1012,9 @@ class commitablectx(basectx): phase = max(phase, p.phase()) return phase + def hidden(self): + return False + class workingctx(commitablectx): """A workingctx object makes access to data related to the current working directory convenient. @@ -1038,9 +1041,6 @@ class workingctx(commitablectx): p = p[:-1] return [changectx(self._repo, x) for x in p] - def hidden(self): - return False - def children(self): return []