[PATCH 1 of 6 events v3] util: add event handling mechanism

Pierre-Yves David pierre-yves.david at ens-lyon.org
Mon Sep 29 17:57:58 CDT 2014



On 09/29/2014 03:44 PM, Gregory Szorc wrote:
> On 9/29/14 3:24 PM, Mads Kiilerich wrote:
>> On 09/28/2014 11:01 PM, Gregory Szorc wrote:
>>> # HG changeset patch
>>> # User Gregory Szorc <gregory.szorc at gmail.com>
>>> # Date 1411933407 25200
>>> #      Sun Sep 28 12:43:27 2014 -0700
>>> # Node ID d513c232aeba16137b291456536adee0d88a040f
>>> # Parent  4109cc16279ef0e04dc70e7f4c9ab7415e6a22d3
>>> util: add event handling mechanism
[…]
> If you insist, I could find use cases inside core to make use of events.

Finding user in core will ensure the code is run and tested and prevent 
regression in the future.

>> -1 to enforcing it just to enforce it. Mandatory docstrings is a policy
>> - that should not be hardcoded.
>
> You disagree with marmoute :/

Yop, this is usually how the two of use interact ;-) Sometimes produce 
good results.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list