[Updated] D11433: dirstatE: stop using `_normallookup` in the adddrop extension
marmoute (Pierre-Yves David)
phabricator at mercurial-scm.org
Mon Sep 20 14:08:06 UTC 2021
Closed by commit rHGeb1f8d6e9419: dirstate: stop using `_normallookup` in the adddrop extension (authored by marmoute).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D11433?vs=30271&id=30315
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D11433/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D11433
AFFECTED FILES
tests/test-rebuildstate.t
CHANGE DETAILS
diff --git a/tests/test-rebuildstate.t b/tests/test-rebuildstate.t
--- a/tests/test-rebuildstate.t
+++ b/tests/test-rebuildstate.t
@@ -17,7 +17,13 @@
> try:
> for file in pats:
> if opts.get('normal_lookup'):
- > repo.dirstate._normallookup(file)
+ > with repo.dirstate.parentchange():
+ > repo.dirstate.update_file(
+ > file,
+ > p1_tracked=True,
+ > wc_tracked=True,
+ > possibly_dirty=True,
+ > )
> else:
> repo.dirstate._map.dropfile(file)
> repo.dirstate._dirty = True
To: marmoute, #hg-reviewers, Alphare
Cc: mercurial-patches
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial-patches/attachments/20210920/b7dd269a/attachment-0002.html>
More information about the Mercurial-patches
mailing list