equal
deleted
inserted
replaced
2839 if repo.ui.debugflag: |
2839 if repo.ui.debugflag: |
2840 repo.ui.write(_('committed changeset %d:%s\n') % (int(ctx), ctx.hex())) |
2840 repo.ui.write(_('committed changeset %d:%s\n') % (int(ctx), ctx.hex())) |
2841 elif repo.ui.verbose: |
2841 elif repo.ui.verbose: |
2842 repo.ui.write(_('committed changeset %d:%s\n') % (int(ctx), ctx)) |
2842 repo.ui.write(_('committed changeset %d:%s\n') % (int(ctx), ctx)) |
2843 |
2843 |
|
2844 def postcommitstatus(repo, pats, opts): |
|
2845 return repo.status(match=scmutil.match(repo[None], pats, opts)) |
|
2846 |
2844 def revert(ui, repo, ctx, parents, *pats, **opts): |
2847 def revert(ui, repo, ctx, parents, *pats, **opts): |
2845 parent, p2 = parents |
2848 parent, p2 = parents |
2846 node = ctx.node() |
2849 node = ctx.node() |
2847 |
2850 |
2848 mf = ctx.manifest() |
2851 mf = ctx.manifest() |