narrow: stop using `drop` in the `updateworkingcopy`
Let us use the new API instead.
Differential Revision: https://phab.mercurial-scm.org/D11194
--- a/mercurial/narrowspec.py Sun Jul 18 22:32:55 2021 +0200
+++ b/mercurial/narrowspec.py Mon Jul 19 17:33:45 2021 +0200
@@ -343,7 +343,7 @@
for f in sorted(status.ignored):
repo.ui.status(_(b'not deleting ignored file %s\n') % uipathfn(f))
for f in clean + trackeddirty:
- ds.drop(f)
+ ds.update_file(f, p1_tracked=False, wc_tracked=False)
pctx = repo[b'.']