branch | stable |
changeset 27943 | 02c5f8ad00ac |
parent 27868 | d1a55366d825 |
child 27973 | ce9696193175 |
--- 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()