email notification setup

Matt Mackall mpm at selenic.com
Thu Sep 22 12:49:10 CDT 2005


On Thu, Sep 22, 2005 at 06:19:03PM +0100, Sanjoy Mahajan wrote:
>   #!/bin/sh
>   SUBJECT=`hg log -r $NODE | grep "^summary:" | cut -b 14-`
>   hg log -vpr $NODE | mail -s "commit: $SUBJECT" commit-list at example.com
> 
> Does this allow a scripting attack?

Yes. Improvements welcome.

-- 
Mathematics is the supreme nostalgia of our time.


More information about the Mercurial mailing list