Submitter | Boris Feld |
---|---|
Date | April 19, 2018, 9:17 a.m. |
Message ID | <2fc5863507acf55e0fee.1524129429@FB> |
Download | mbox | patch |
Permalink | /patch/31197/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/hgext/notify.py b/hgext/notify.py --- a/hgext/notify.py +++ b/hgext/notify.py @@ -481,7 +481,7 @@ def hook(ui, repo, hooktype, node=None, ui.pushbuffer() if count: n.diff(ctx, repo['tip']) - else: + elif ctx.rev() in repo: if not n.node(ctx): ui.popbuffer() ui.note(_('notify: suppressing notification for merge %d:%s\n') %