mercurial/cmdutil.py
branchstable
changeset 27943 02c5f8ad00ac
parent 27868 d1a55366d825
child 27973 ce9696193175
equal deleted inserted replaced
27942:eb1135d5e688 27943:02c5f8ad00ac
  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()