# HG changeset patch # User Alexander Drozdov # Date 1391667320 -14400 # Node ID 4991cfc90f59a23a22c923c7ecaa35b13356baa2 # Parent cc76c619bed6658f14baa51c7a776075cfb0a401 cmdutil: make commitforceeditor() to pass revision extras to ui.edit() 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)