Mercurial > evolve
changeset 6670:79ffeb56fcfa stable
uncommit: don't forget to copy commit extras before modifying them
Since `extra` is going to be used for creating an entirely new changeset, it
has to be a new dict as well.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Sat, 03 Feb 2024 14:38:37 -0300 |
parents | a77b939c79e1 |
children | 3acf490580bb |
files | hgext3rd/evolve/cmdrewrite.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/evolve/cmdrewrite.py Thu Feb 01 19:23:53 2024 +0100 +++ b/hgext3rd/evolve/cmdrewrite.py Sat Feb 03 14:38:37 2024 -0300 @@ -554,7 +554,7 @@ date = old.date() branch = old.branch() user = old.user() - extra = old.extra() + extra = old.extra().copy() extra[b'uncommit_source'] = node.short(old.node()) if not message: