diff -r eb1135d5e688 -r 02c5f8ad00ac mercurial/cmdutil.py --- a/mercurial/cmdutil.py Sat Jan 23 20:51:17 2016 -0500 +++ b/mercurial/cmdutil.py Sat Jan 23 23:24:30 2016 -0500 @@ -2841,6 +2841,9 @@ elif repo.ui.verbose: repo.ui.write(_('committed changeset %d:%s\n') % (int(ctx), ctx)) +def postcommitstatus(repo, pats, opts): + return repo.status(match=scmutil.match(repo[None], pats, opts)) + def revert(ui, repo, ctx, parents, *pats, **opts): parent, p2 = parents node = ctx.node()