tests/test-narrow-expanddirstate.t
changeset 49960 7a8bfc05b691
parent 49959 c166b212bdee
child 50799 02eae2df911a
--- a/tests/test-narrow-expanddirstate.t	Wed Jan 25 18:46:20 2023 +0100
+++ b/tests/test-narrow-expanddirstate.t	Wed Jan 25 19:12:31 2023 +0100
@@ -74,7 +74,7 @@
   >   narrowspec.copytoworkingcopy(repo)
   >   newmatcher = narrowspec.match(repo.root, includes, excludes)
   >   added = matchmod.differencematcher(newmatcher, currentmatcher)
-  >   with repo.dirstate.parentchange(repo):
+  >   with repo.dirstate.changing_parents(repo):
   >       for f in repo[b'.'].manifest().walk(added):
   >           repo.dirstate.update_file(
   >               f,