changeset 19685:e4088cec976b

commitablectx: move ignored from workingctx
author Sean Farley <sean.michael.farley@gmail.com>
date Wed, 14 Aug 2013 16:22:32 -0500
parents 36cd2a7fa3f7
children e189c8ff33d3
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:22:20 2013 -0500
+++ b/mercurial/context.py	Wed Aug 14 16:22:32 2013 -0500
@@ -981,6 +981,9 @@
     def unknown(self):
         assert self._unknown is not None  # must call status first
         return self._unknown
+    def ignored(self):
+        assert self._ignored is not None  # must call status first
+        return self._ignored
 
 class workingctx(commitablectx):
     """A workingctx object makes access to data related to
@@ -1008,9 +1011,6 @@
             p = p[:-1]
         return [changectx(self._repo, x) for x in p]
 
-    def ignored(self):
-        assert self._ignored is not None  # must call status first
-        return self._ignored
     def clean(self):
         assert self._clean is not None  # must call status first
         return self._clean