Submitter | phabricator |
---|---|
Date | Dec. 1, 2017, 10:43 p.m. |
Message ID | <differential-rev-PHID-DREV-jge6opz52wqhmgz3gak2-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/25873/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -3137,6 +3137,8 @@ # base o - first parent of the changeset to amend wctx = repo[None] + # Copy to avoid mutating input + extra = extra.copy() # Update extra dict from amended commit (e.g. to preserve graft # source) extra.update(old.extra())