Mercurial > hg
diff contrib/showstack.py @ 50117:3433723d1b9b
dirstate: warn if dirty when starting an edition
The dirstate should be clean before we start changing it. Otherwise we might
write unrelated changes. Having a dirty dirstate laying around is also
suspicious.
This is similar to what we do when opening a new transaction, but this time
this affect dirstate changes outside of a transaction.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sun, 19 Feb 2023 03:21:12 +0100 |
parents | 6000f5b25c9b |
children |