diff -r 1b0f8aafedea -r df3021c1f093 hgext/largefiles/lfcommands.py --- a/hgext/largefiles/lfcommands.py Thu Oct 07 10:23:57 2021 -0400 +++ b/hgext/largefiles/lfcommands.py Mon Jul 19 04:11:08 2021 +0530 @@ -569,7 +569,7 @@ removed += 1 # largefile processing might be slow and be interrupted - be prepared - lfdirstate.write() + lfdirstate.write(repo.currenttransaction()) if lfiles: lfiles = [f for f in lfiles if f not in dropped] @@ -619,7 +619,7 @@ lfutil.synclfdirstate(repo, lfdirstate, lfile, normallookup) - lfdirstate.write() + lfdirstate.write(repo.currenttransaction()) if lfiles: statuswriter( _(b'%d largefiles updated, %d removed\n') % (updated, removed)