Mercurial > hg-stable
changeset 37396:9966f44ecab4
debugwhyunstable: add support for revsets
Differential Revision: https://phab.mercurial-scm.org/D3166
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 06 Apr 2018 11:26:50 -0700 |
parents | 810413b745ff |
children | 46d9f998c3ed |
files | mercurial/debugcommands.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/debugcommands.py Fri Apr 06 10:46:24 2018 -0700 +++ b/mercurial/debugcommands.py Fri Apr 06 11:26:50 2018 -0700 @@ -2547,7 +2547,7 @@ @command('debugwhyunstable', [], _('REV')) def debugwhyunstable(ui, repo, rev): """explain instabilities of a changeset""" - for entry in obsutil.whyunstable(repo, repo[rev]): + for entry in obsutil.whyunstable(repo, scmutil.revsingle(repo, rev)): dnodes = '' if entry.get('divergentnodes'): dnodes = ' '.join('%s (%s)' % (ctx.hex(), ctx.phasestr())