diff -r eb1135d5e688 -r 02c5f8ad00ac mercurial/commands.py --- 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]))