[PATCH] 1321 (partial): run Python pretxnchangegroup hooks before disk flush

Doug Philips dgou at mac.com
Thu Jan 15 20:02:14 CST 2009


On or about Thursday, January 15, 2009, at 11:22AM, Jesse Glick indited:
>Having an in-process hook which winds up calling the external hg executable seems perverse to me - you will lose the power & speed of the in-process hook, so you might as 
>well have used an external hook to begin with - but it is possible someone is doing it. If so, it would be straightforward to have an option to run the in-process hooks 
>after the flush as in current releases.

Well, python often makes a better script-ing language than a shell script, and often is more portable.
So sometimes it might be about that rather than about deliberate 'perversion'. :-)

--Doug



More information about the Mercurial-devel mailing list