mercurial/localrepo.py
changeset 51101 1c0f3994d733
parent 51041 e2941c398f10
child 51105 0250e45040f1
--- a/mercurial/localrepo.py	Thu Oct 26 03:29:46 2023 +0200
+++ b/mercurial/localrepo.py	Thu Oct 26 03:41:58 2023 +0200
@@ -3019,7 +3019,7 @@
             if (
                 k == b'changelog'
                 and self.currenttransaction()
-                and self.changelog._delayed
+                and self.changelog.is_delaying
             ):
                 # The changelog object may store unwritten revisions. We don't
                 # want to lose them.