diff --git a/hgext/notify.py b/hgext/notify.py --- a/hgext/notify.py +++ b/hgext/notify.py @@ -406,6 +406,8 @@ def hook(ui, repo, hooktype, node=None, return count += 1 n.diff(ctx) + if not author: + author = ctx.user() data += ui.popbuffer() fromauthor = ui.config('notify', 'fromauthor')