changeset 49960 | 7a8bfc05b691 |
parent 49959 | c166b212bdee |
child 50012 | d68b71256c33 |
--- a/hgext/win32text.py Wed Jan 25 18:46:20 2023 +0100 +++ b/hgext/win32text.py Wed Jan 25 19:12:31 2023 +0100 @@ -216,7 +216,7 @@ def wrap_revert(orig, repo, ctx, names, uipathfn, actions, *args, **kwargs): # reset dirstate cache for file we touch ds = repo.dirstate - with ds.parentchange(repo): + with ds.changing_parents(repo): for filename in actions[b'revert'][0]: entry = ds.get_entry(filename) if entry is not None: