[PATCH 13 of 19] workingctx: add _poststatus method to call _filtersuspectsymlink

Pierre-Yves David pierre-yves.david at ens-lyon.org
Fri May 16 00:14:55 UTC 2014



On 05/15/2014 02:16 PM, Sean Farley wrote:
> # HG changeset patch
> # User Sean Farley <sean.michael.farley at gmail.com>
> # Date 1398189562 18000
> #      Tue Apr 22 12:59:22 2014 -0500
> # Node ID aeb046dc6d14e4e658eb08b6134894209117f70b
> # Parent  e0cf0d89a22645773c61396492fab4c7c43fc526
> workingctx: add _poststatus method to call _filtersuspectsymlink

I would like to know more!

> diff --git a/mercurial/context.py b/mercurial/context.py
> --- a/mercurial/context.py
> +++ b/mercurial/context.py
> @@ -1273,10 +1273,14 @@ class workingctx(committablectx):
>           return mf
>
>       def _prestatus(self, other, s, match, listignored, listclean, listunknown):
>           return self._dirstatestatus(match, listignored, listclean, listunknown)
>
> +    def _poststatus(self, other, s, match, listignored, listclean, listunknown):

The best way to citizenship is to write docstring!


-- 
Pierre-Yves David



More information about the Mercurial-devel mailing list