##// END OF EJS Templates
cmdutil: use ctx.rev() instead of int(ctx)...
Gregory Szorc -
r36420:ef6ae3f6 default
parent child Browse files
Show More
@@ -2578,9 +2578,9 b' def commitstatus(repo, node, branch, bhe'
2578 repo.ui.status(_('reopening closed branch head %d\n') % r)
2578 repo.ui.status(_('reopening closed branch head %d\n') % r)
2579
2579
2580 if repo.ui.debugflag:
2580 if repo.ui.debugflag:
2581 repo.ui.write(_('committed changeset %d:%s\n') % (int(ctx), ctx.hex()))
2581 repo.ui.write(_('committed changeset %d:%s\n') % (ctx.rev(), ctx.hex()))
2582 elif repo.ui.verbose:
2582 elif repo.ui.verbose:
2583 repo.ui.write(_('committed changeset %d:%s\n') % (int(ctx), ctx))
2583 repo.ui.write(_('committed changeset %d:%s\n') % (ctx.rev(), ctx))
2584
2584
2585 def postcommitstatus(repo, pats, opts):
2585 def postcommitstatus(repo, pats, opts):
2586 return repo.status(match=scmutil.match(repo[None], pats, opts))
2586 return repo.status(match=scmutil.match(repo[None], pats, opts))
General Comments 0
You need to be logged in to leave comments. Login now