diff -r cc76c619bed6 -r 4991cfc90f59 mercurial/cmdutil.py --- a/mercurial/cmdutil.py Thu Feb 06 11:38:28 2014 +0400 +++ b/mercurial/cmdutil.py Thu Feb 06 10:15:20 2014 +0400 @@ -2008,7 +2008,7 @@ # run editor in the repository root olddir = os.getcwd() os.chdir(repo.root) - text = repo.ui.edit("\n".join(edittext), ctx.user()) + text = repo.ui.edit("\n".join(edittext), ctx.user(), ctx.extra()) text = re.sub("(?m)^HG:.*(\n|$)", "", text) os.chdir(olddir)