[Python-Dev] Mercurial?

Philippe Fremy phil at freehackers.org
Mon Apr 6 10:21:36 CEST 2009


Dirkjan Ochtman wrote:
> On 05/04/2009 20:29, "Martin v. Löwis" wrote:
>> FYI: this is the list of hooks currently employed:
>> - pre: check whitespace
>> - post: mail python-checkins
>>          inform regular buildbot
>>          inform community buildbot
>>          trigger website rebuild if a PEP was modified
>>          (but then, whether or not the PEPs will be maintained
>>           in hg also needs to be decided)
> 
> All this is easy to do with Mercurial's hook system. 

One question: if somebody pushes a changeset with 3 commits, will the
pre and post hooks be applied on all of the commits, or only on the
final commit ?

If this is applied on every commit, then you have no way to fix a
whitespace problem without rewriting your history ?

cheers,

Philippe



More information about the Python-Dev mailing list