branch | stable |
changeset 49067 | 770e1352e9f9 |
parent 48976 | 877d7e1a4223 |
child 49084 | ea98850a136e |
child 49179 | df68d64b0d50 |
--- a/mercurial/cmdutil.py Mon Apr 18 20:39:31 2022 -0700 +++ b/mercurial/cmdutil.py Mon Apr 18 20:45:38 2022 -0700 @@ -2935,7 +2935,7 @@ def filectxfn(repo, ctx_, path): try: # Return None for removed files. - if path in wctx.removed(): + if path in wctx.removed() and path in filestoamend: return None # If the file being considered is not amongst the files