[PATCH 1 of 4 RFC] hook: have a generic hook for transaction opening

Matt Mackall mpm at selenic.com
Wed Mar 11 17:31:22 CDT 2015


On Tue, 2015-03-10 at 01:07 -0700, Pierre-Yves David wrote:
> # HG changeset patch
> # User Pierre-Yves David <pierre-yves.david at fb.com>
> # Date 1418264389 28800
> #      Wed Dec 10 18:19:49 2014 -0800
> # Node ID 82dea52f27319896a8d33a0b805f439107a94845
> # Parent  4ef4e3c3c00693868ba428e21ac092e559e4fcea
> hook: have a generic hook for transaction opening
> 
> We are adding generic hooking for all transaction. We do not really have any
> useful information to including when opening the transaction but this is a
> useful time to allow hook anywa

I'm inclined to hold off on this until we identify a user.

(As aborting a transaction at pretxnclose time should be equivalent to
never starting it, it shouldn't be essential strictly speaking.)

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list