Hook ordering - behaviour change.

Aravind Gottipati aravind at freeshell.org
Tue Aug 3 12:12:01 CDT 2010


On Tue, Aug 3, 2010 at 9:27 AM, Matt Mackall <mpm at selenic.com> wrote:
> I'm afraid it's way too late to revert. That's been in the tree since
> 1.3 which means other people are now dependent on the current behavior.

That's a perfectly reasonable position to take.  How about this?
Would it be possible to introduce a new config variable in say.. the
[server] section (or some other place that's more appropriate) called
sorted_hooks.  This variable would default to false, in which case we
would retain the original behavior.  If this variable is  set to true,
we trigger this new behavior (or 1.2 behavior).  If you folks would
consider that, I can work on a patch and submit it.  If not, I am fine
with just adding this one line patch locally to our version.

Aravind.


More information about the Mercurial-devel mailing list