Patchwork [12,of,19] context: add a no-op _poststatus method

login
register
mail settings
Submitter Sean Farley
Date May 15, 2014, 9:16 p.m.
Message ID <e0cf0d89a22645773c61.1400188590@laptop.local>
Download mbox | patch
Permalink /patch/4771/
State Accepted
Commit 168283c8dedff0c6536bb2197b053941a463870a
Headers show

Comments

Sean Farley - May 15, 2014, 9:16 p.m.
# HG changeset patch
# User Sean Farley <sean.michael.farley@gmail.com>
# Date 1398189118 18000
#      Tue Apr 22 12:51:58 2014 -0500
# Node ID e0cf0d89a22645773c61396492fab4c7c43fc526
# Parent  975876989faeebc2c515bd17171b9cc7413822fd
context: add a no-op _poststatus method

Patch

diff --git a/mercurial/context.py b/mercurial/context.py
--- a/mercurial/context.py
+++ b/mercurial/context.py
@@ -73,10 +73,13 @@  class basectx(object):
         return mf
 
     def _prestatus(self, other, s, match, listignored, listclean, listunknown):
         return s
 
+    def _poststatus(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)