notify: exclude pattern?

John Hein 2xfaanyctv at snkmail.com
Thu May 13 21:00:05 UTC 2021


It looks like the notify extension does not support an 'exclude'
pattern, such as:

 Send email to 'foo at baz.com' for all repos matching '*'
 except for repo named 'special'.
 Send notifications for that repo to 'bar at baz.com'

In other words something like the following perhaps:

[usersubs]
foo at baz.com = *,!*/special
bar at baz.com = */special

Is there an existing way to do that with the current state of
'notify'?

If not, I'll also take suggestions for a configuration interface that
would support that.  Maybe based on existing solutions for hg to
specify include / exclude / ignore patterns in other areas.


More information about the Mercurial mailing list