HG 4.4.1 in Ubuntu 14.04 notify does not work

Marcin Kasperski Marcin.Kasperski at mekk.waw.pl
Fri Oct 4 11:01:28 UTC 2019


>> I don't know, I never used notify (or felt the need to use it).
>
> That is interesting. If you share a repository with one or more users,
> how to you know when they have pushed? I thought the whole point of
> notify is to tell the others that I have pushed.

There's enough email spam ;-) Instead of processing „repo changes
emails” from time to time (I handle mail in batches, mostly, after all),
I find it more direct to review (hg pull and check whether sth arrived)
repos I care for from time to time. At work I will also usually get
issue to handle if there is sth important, after all.

Where it is insufficient, I recommend (and sometimes use myself) desktop
RSS reader (like akregator or liferea) subscribed to Mercurial RSS
feeds. This is great replacement for email – looks mostly like email
(has read/unread items, is ordered by time etc) but works without
setting up anything (except http access to the repo), keeps every repo
in seperate folder automatically (+ allows grouping those into
higher-level folders), and is separate from normal email, so can be read
and processed separately.

There are also higher-level notifications (build failing from jenkins,
release notes for new tag, integration with issue tracker etc), but
those use various tools outside scope of Mercurial itself.


>> But my obvious instinct after seeing your requirement is that you should
>> configure incoming hooks on the recipient side instead of configuring
>> outgoing hooks on your desk.
>
> Not sure I understand that either. A message should be sent when I push,
> not when I pull. What do I miss?

You push to repoA and repoB, and expect push to repoA to notify userA,
and push to repoB notify userB. So IMHO you should have no hooks at all,
while repoA should have incoming hook (notifying userA) and repoB should
have incoming hook (notifying userB).

Well, that's at least my instinct.




More information about the Mercurial mailing list