diff -r 14fa2e583422 -r eb1f8d6e9419 tests/test-rebuildstate.t --- a/tests/test-rebuildstate.t Wed Sep 15 18:12:55 2021 +0200 +++ b/tests/test-rebuildstate.t Thu Sep 16 14:14:33 2021 +0200 @@ -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