Skip to content
Snippets Groups Projects
Commit 68748c2c authored by Boris Feld's avatar Boris Feld
Browse files

notify: only notify for non-filtered revision

This should fix issue5821 for hook targeting individual revision.
parent 04d648b5
No related branches found
No related tags found
No related merge requests found
......@@ -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') %
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment