Mercurial > hg
changeset 20604:4991cfc90f59
cmdutil: make commitforceeditor() to pass revision extras to ui.edit()
author | Alexander Drozdov <al.drozdov@gmail.com> |
---|---|
date | Thu, 06 Feb 2014 10:15:20 +0400 |
parents | cc76c619bed6 |
children | a8aa699a812a |
files | mercurial/cmdutil.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)