monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] [patch] adding branchname to parameters for validat


From: Timothy Brownawell
Subject: Re: [Monotone-devel] [patch] adding branchname to parameters for validate_commit_message
Date: Mon, 18 Sep 2006 12:46:00 -0500

On Mon, 2006-09-18 at 19:35 +0200, Marcel van der Boom wrote:
> Included is a small patch which adds branchname as a third parameter  
> for the validate_commit_message.
> 
> Rationale:
>    We use the validate_commit_message to run a set of lua coded  
> checks which run over the files which are present in the revision  
> about to be committed. Things like coding standards, tab/space, xml  
[...]
> PS
> A new pre-commit hook would be better maybe, but i'd have  
> considerable trouble personally in finding out where to call that  
> hook exactly.

Probably the hook should just be renamed to validate_commit, since it
can apparently be used for validating more than just the message.

Tim
-- 
Free (experimental) public monotone hosting: http://mtn-host.prjek.net





reply via email to

[Prev in Thread] Current Thread [Next in Thread]