mercurial/localrepo.py
changeset 50023 e1cff85484e2
parent 50022 e333cc169c45
child 50057 cf8b9c80d67c
--- a/mercurial/localrepo.py	Mon Jan 30 19:21:34 2023 +0100
+++ b/mercurial/localrepo.py	Thu Jan 26 15:50:45 2023 +0100
@@ -3070,7 +3070,7 @@
                 self.ui.develwarn(b'"wlock" acquired after "lock"')
 
         def unlock():
-            if self.dirstate.is_changing_parents:
+            if self.dirstate.is_changing_any:
                 msg = b"wlock release in the middle of a changing parents"
                 self.ui.develwarn(msg)
                 self.dirstate.invalidate()