# HG changeset patch # User Alexander Drozdov # Date 2014-02-06 06:15:20 # Node ID 4991cfc90f59a23a22c923c7ecaa35b13356baa2 # Parent cc76c619bed6658f14baa51c7a776075cfb0a401 cmdutil: make commitforceeditor() to pass revision extras to ui.edit() diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -2008,7 +2008,7 @@ def commitforceeditor(repo, ctx, subs): # 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)