dirstate: phase-divergent update to
3433723d1b9b
Heptapod published the obsolete version of those.
--- 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