hg diff/status always returns zero?

Dennis Brakhane brakhane at googlemail.com
Wed May 6 16:54:28 CDT 2009


On Wed, May 6, 2009 at 11:42 PM, Stephen Rasku <mercurial at srasku.net> wrote:
> 1 9-17 * * * (. .bashrc; cd $PROJECT; hg diff || pwd)
>
> This will send me the diffs and then append the current working
> directory to the e-mail.  If there is no diff then I don't get an
> e-mail at all.

Be sure to check out the notify extension (and hooks in general), in
case you just want to receive a mail with diffs every time a
commit/push was made.

http://www.selenic.com/mercurial/wiki/index.cgi/NotifyExtension



More information about the Mercurial mailing list