branch | stable |
changeset 27973 | ce9696193175 |
parent 27954 | 9960b6369e7f |
child 27974 | bb14a81ce647 |
--- a/mercurial/commands.py Wed Feb 03 11:01:11 2016 -0200 +++ b/mercurial/commands.py Wed Feb 03 08:59:46 2016 -0800 @@ -1682,9 +1682,6 @@ if not allowunstable and old.children(): raise error.Abort(_('cannot amend changeset with children')) - newextra = extra.copy() - newextra['branch'] = branch - extra = newextra # commitfunc is used only for temporary amend commit by cmdutil.amend def commitfunc(ui, repo, message, match, opts): return repo.commit(message,