Submitter | Alexander Drozdov |
---|---|
Date | Feb. 7, 2014, 4:25 a.m. |
Message ID | <441c5f6d5e7d8c047311.1391747159@localhost6.localdomain6> |
Download | mbox | patch |
Permalink | /patch/3507/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -1872,7 +1872,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)