hgext/notify.py
branchstable
changeset 37795 68748c2c761b
parent 37794 04d648b53e3e
child 38028 d1134ca5b1a3
--- a/hgext/notify.py	Wed Apr 18 15:05:12 2018 +0200
+++ b/hgext/notify.py	Wed Apr 18 15:07:06 2018 +0200
@@ -481,7 +481,7 @@
                 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') %