changeset 19693:56ba14d4bc02

commitablectx: move hidden from workingctx
author Sean Farley <sean.michael.farley@gmail.com>
date Wed, 14 Aug 2013 16:25:17 -0500
parents 594f4d2b0ce9
children ba4c01c34df9
files mercurial/context.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/context.py	Wed Aug 14 16:24:59 2013 -0500
+++ b/mercurial/context.py	Wed Aug 14 16:25:17 2013 -0500
@@ -1012,6 +1012,9 @@
             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 @@
             p = p[:-1]
         return [changectx(self._repo, x) for x in p]
 
-    def hidden(self):
-        return False
-
     def children(self):
         return []