changeset 47746 | 56297381af90 |
parent 47732 | dc610e325302 |
child 48100 | 571dd808c6c8 |
--- a/mercurial/cmdutil.py Mon Jul 19 03:16:40 2021 +0200 +++ b/mercurial/cmdutil.py Mon Jul 19 09:07:08 2021 +0200 @@ -3004,7 +3004,7 @@ # to "removed" in the dirstate. removedfiles = set(wctx.removed()) & filestoamend for f in removedfiles: - dirstate.drop(f) + dirstate.update_file(f, p1_tracked=False, wc_tracked=False) mapping = {old.node(): (newid,)} obsmetadata = None