<div dir="ltr"><div class="gmail_extra">On Tue, Jan 15, 2013 at 2:55 PM, Dmitry Karpeev <span dir="ltr"><<a href="mailto:karpeev@mcs.anl.gov" target="_blank">karpeev@mcs.anl.gov</a>></span> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Some projects (e.g., moose) reject a noncompliant push.  The committer can then rewrite the patch locally before it is published and resubmit. </blockquote>
</div><br>IIRC, this is done server-side, but with a DVCS, that's too late (or causes the "pusher" a lot more trouble). Hg and Git both support client-side commit hooks.</div></div>