Mercurial > hg-stable
changeset 47752:5bcd305389c7
narrow: stop using `drop` in the `updateworkingcopy`
Let us use the new API instead.
Differential Revision: https://phab.mercurial-scm.org/D11194
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 19 Jul 2021 17:33:45 +0200 |
parents | d25eb277e925 |
children | aca197f5ef7d |
files | mercurial/narrowspec.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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'.']