mercurial/cmdutil.py
changeset 45388 6ba7190ff863
parent 45375 8c466bcb0879
child 45457 d2b5a7659fff
--- a/mercurial/cmdutil.py	Tue Aug 18 14:26:49 2020 -0700
+++ b/mercurial/cmdutil.py	Tue Aug 18 15:03:57 2020 -0700
@@ -3259,6 +3259,7 @@
         if opts.get(b'secret'):
             commitphase = phases.secret
         newid = repo.commitctx(new)
+        ms.reset()
 
         # Reroute the working copy parent to the new changeset
         repo.setparents(newid, nullid)