mercurial/context.py
changeset 32610 bf728e72a219
parent 32609 c0b16b801687
child 32613 e7eb7494e98d
--- a/mercurial/context.py	Thu May 11 13:51:10 2017 -0700
+++ b/mercurial/context.py	Thu May 11 13:59:48 2017 -0700
@@ -323,9 +323,6 @@
     def hasdir(self, dir):
         return self._manifest.hasdir(dir)
 
-    def dirty(self, missing=False, merge=True, branch=True):
-        return False
-
     def status(self, other=None, match=None, listignored=False,
                listclean=False, listunknown=False, listsubrepos=False):
         """return status of files between two nodes or node and working
@@ -1569,6 +1566,9 @@
         # from immediately doing so for subsequent changing files
         self._repo.dirstate.write(self._repo.currenttransaction())
 
+    def dirty(self, missing=False, merge=True, branch=True):
+        return False
+
 class workingctx(committablectx):
     """A workingctx object makes access to data related to
     the current working directory convenient.