mercurial/localrepo.py
changeset 49959 376395868b7b
parent 49753 ff7134e03629
child 50022 e333cc169c45
--- a/mercurial/localrepo.py	Tue Dec 13 11:39:44 2022 +0100
+++ b/mercurial/localrepo.py	Tue Dec 13 10:00:04 2022 +0100
@@ -3073,6 +3073,8 @@
 
         def unlock():
             if self.dirstate.pendingparentchange():
+                msg = b"wlock release in the middle of a changing parents"
+                self.ui.develwarn(msg)
                 self.dirstate.invalidate()
             else:
                 self.dirstate.write(None)