mercurial/localrepo.py
changeset 44437 6a34e438461b
parent 44409 f935b680860d
child 44442 6306baa7d19a
--- a/mercurial/localrepo.py	Wed Mar 04 00:45:54 2020 -0500
+++ b/mercurial/localrepo.py	Fri Feb 28 11:32:02 2020 -0800
@@ -2956,6 +2956,7 @@
                 or self.ui.configbool(b'ui', b'allowemptycommit')
             )
             if not allowemptycommit:
+                ms.reset()
                 return None
 
             if merge and cctx.deleted():