mercurial/commands.py
branchstable
changeset 27943 02c5f8ad00ac
parent 27925 f6d73c8756e2
child 27948 7cb7264cfd52
--- a/mercurial/commands.py	Sat Jan 23 20:51:17 2016 -0500
+++ b/mercurial/commands.py	Sat Jan 23 23:24:30 2016 -0500
@@ -1720,7 +1720,7 @@
         node = cmdutil.commit(ui, repo, commitfunc, pats, opts)
 
         if not node:
-            stat = repo.status(match=scmutil.match(repo[None], pats, opts))
+            stat = cmdutil.postcommitstatus(repo, pats, opts)
             if stat[3]:
                 ui.status(_("nothing changed (%d missing files, see "
                             "'hg status')\n") % len(stat[3]))