diff -r c166b212bdee -r 7a8bfc05b691 hgext/largefiles/lfcommands.py --- a/hgext/largefiles/lfcommands.py Wed Jan 25 18:46:20 2023 +0100 +++ b/hgext/largefiles/lfcommands.py Wed Jan 25 19:12:31 2023 +0100 @@ -517,7 +517,7 @@ filelist = set(filelist) lfiles = [f for f in lfiles if f in filelist] - with lfdirstate.parentchange(repo): + with lfdirstate.changing_parents(repo): update = {} dropped = set() updated, removed = 0, 0 @@ -580,7 +580,7 @@ statuswriter(_(b'getting changed largefiles\n')) cachelfiles(ui, repo, None, lfiles) - with lfdirstate.parentchange(repo): + with lfdirstate.changing_parents(repo): for lfile in lfiles: update1 = 0