Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 44462:6306baa7d19a
commit: print debug message when clearing dirstate and wdir clean
This case is a little weird, so let's have a debug message.
Differential Revision: https://phab.mercurial-scm.org/D8231
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 05 Mar 2020 08:37:08 -0800 |
parents | 6a34e438461b |
children | 336ec75ed1ac |
line wrap: on
line diff
--- a/mercurial/localrepo.py Thu Mar 05 10:46:31 2020 -0800 +++ b/mercurial/localrepo.py Thu Mar 05 08:37:08 2020 -0800 @@ -2956,6 +2956,7 @@ or self.ui.configbool(b'ui', b'allowemptycommit') ) if not allowemptycommit: + self.ui.debug(b'nothing to commit, clearing merge state\n') ms.reset() return None