hg notify error
John Turner
jjturner at energi.com
Mon Dec 22 19:09:14 UTC 2014
>> 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
Hmm.. based on the example in
http://mercurial.selenic.com/wiki/NotifyExtension it seems the 0 and -1
are simply the end points for an allowable range, where it defines
"maxdiff = 300" in the actual setting. An "all or none" switch would be a
rather extreme implementation, no?
More information about the Mercurial
mailing list