context: add a no-op _poststatus method
This patch adds a private _poststatus method so that certain contexts, such as
workingctx, can add custom post-processing to status.
--- a/mercurial/context.py Tue Apr 22 12:43:20 2014 -0500
+++ b/mercurial/context.py Tue Apr 22 12:51:58 2014 -0500
@@ -86,6 +86,14 @@
"""
return s
+ def _poststatus(self, other, s, match, listignored, listclean, listunknown):
+ """provide a hook to allow child objects to postprocess status results
+
+ For example, this allows other contexts, such as workingctx, to filter
+ suspect symlinks in the case of FAT32 and NTFS filesytems.
+ """
+ return s
+
def _buildstatus(self, other, s, match, listignored, listclean,
listunknown):
"""build a status with respect to another context"""