hg notify error
Becker, Mischa J
mischa.becker at kroger.com
Mon Dec 22 18:23:52 UTC 2014
> -----Original Message-----
> From: Mercurial [mailto:mercurial-bounces at selenic.com] On Behalf Of John
> Turner
> Sent: Monday, December 22, 2014 10:19 AM
> To: mercurial
> Subject: hg notify error
>
> I attempted a push to my central repo and the notify hook raised the
> following error:
> changegroup.notify hook raised an exception:
> invalid literal for int() with base 10: '300 # max lines of diffs to
> include (0=none, -1=all)'
>
> My mercurial.ini file is using the following notify settings:
> [notify]
> sources = serve push pull bundle
> test = False
> maxdiff = 300
> template =
> details: {webroot}/rev/{node|short}
> branches: {branches}
> changeset: {rev}:{node|short}
> user: {author}
> date: {date|date}
> description:
> {desc}\n
>
> Have I neglected something or is the syntax awry?
Based on the error message, I'm guessing maxdiff is a boolean and valid values are '(0=none, -1=all)'.
Mischa
________________________________
This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain information that is confidential and protected by law from unauthorized disclosure. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of the original message.
More information about the Mercurial
mailing list