# HG changeset patch # User Sean Farley # Date 1398189118 18000 # Node ID 168283c8dedff0c6536bb2197b053941a463870a # Parent c6976a4a39db2a6f9b89208680da662566471dc1 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. diff -r c6976a4a39db -r 168283c8dedf mercurial/context.py --- 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"""