[PATCH 09 of 19] context: add a no-op _prestatus method

Sean Farley sean.michael.farley at gmail.com
Thu May 15 16:16:27 CDT 2014


# HG changeset patch
# User Sean Farley <sean.michael.farley at gmail.com>
# Date 1398134350 18000
#      Mon Apr 21 21:39:10 2014 -0500
# Node ID 232598babb1191bceaa31f13d860568c795352bf
# Parent  a689734f58d9cf710c0ac21243d69e652d40377a
context: add a no-op _prestatus method

diff --git a/mercurial/context.py b/mercurial/context.py
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -70,10 +70,13 @@ class basectx(object):
         for fn in mf.keys():
             if not match(fn):
                 del mf[fn]
         return mf
 
+    def _prestatus(self, other, s, match, listignored, listclean, listunknown):
+        return s
+
     def _generatestatus(self, other, s, match, listignored, listclean,
                         listunknown):
         """generate a status with respect to another context"""
         mf1 = other._manifestmatches(match, s)
         mf2 = self._manifestmatches(match, s)


More information about the Mercurial-devel mailing list