dirstate: phase-divergent update to 3433723d1b9b
authorPierre-Yves David <pierre-yves.david@octobus.net>
Sun, 19 Feb 2023 03:21:12 +0100
changeset 50155 4c67862a0c49
parent 50154 028fb89a0539
child 50156 7e6c5cfaba6a
dirstate: phase-divergent update to 3433723d1b9b Heptapod published the obsolete version of those.
mercurial/dirstate.py
--- a/mercurial/dirstate.py	Wed Feb 22 03:42:36 2023 +0100
+++ b/mercurial/dirstate.py	Sun Feb 19 03:21:12 2023 +0100
@@ -285,8 +285,8 @@
 
         has_tr = repo.currenttransaction() is not None
         if not has_tr and self._changing_level == 0 and self._dirty:
-            msg = "entering a changing context, but dirstate is already dirty"
-            raise error.ProgrammingError(msg)
+            msg = b"entering a changing context, but dirstate is already dirty"
+            repo.ui.develwarn(msg)
 
         assert self._changing_level >= 0
         # different type of change are mutually exclusive