mercurial/revlogutils/rewrite.py
changeset 51087 df50a1592e0c
parent 51048 59c6f99723b1
child 51092 9c8df10ea6e0
--- a/mercurial/revlogutils/rewrite.py	Tue Oct 17 06:02:33 2023 +0200
+++ b/mercurial/revlogutils/rewrite.py	Tue Oct 24 17:03:27 2023 +0200
@@ -126,7 +126,8 @@
         rl.opener.rename(newrl._datafile, rl._datafile)
 
     rl.clearcaches()
-    rl._loadindex()
+    chunk_cache = rl._loadindex()
+    rl._load_inner(chunk_cache)
 
 
 def v2_censor(revlog, tr, censornode, tombstone=b''):