# HG changeset patch # User Pierre-Yves David # Date 2023-02-19 02:21:12 # Node ID 4c67862a0c49d3db8678f18fadef4d32571b8b63 # Parent 028fb89a053996710e6667355c34d57eeeca8106 dirstate: phase-divergent update to 3433723d1b9b Heptapod published the obsolete version of those. diff --git a/mercurial/dirstate.py b/mercurial/dirstate.py --- a/mercurial/dirstate.py +++ b/mercurial/dirstate.py @@ -285,8 +285,8 @@ class dirstate: 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