# HG changeset patch # User Pierre-Yves David # Date 2023-02-04 08:08:26 # Node ID b7ddd9ae4befd112edaf9625ae12b71f4bddcbd3 # Parent 05a2f65c9e861291926c0e0e9f3b2b4bcbc7a525 win32text: make the hacky call cover more cases Now that I understand what this is doing, It seems like the case for `p1_tracked` were covered by neither the code nor the test. Now the code cover it at least. diff --git a/hgext/win32text.py b/hgext/win32text.py --- a/hgext/win32text.py +++ b/hgext/win32text.py @@ -230,7 +230,7 @@ def wrap_revert(orig, repo, ctx, names, ds.hacky_extension_update_file( filename, entry.tracked, - p1_tracked=True, + p1_tracked=entry.p1_tracked, p2_info=entry.p2_info, ) return orig(repo, ctx, names, uipathfn, actions, *args, **kwargs)