Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/cmdutil.py @ 33803:40739aef97f7
label: rename trouble.X into instability.X
The renaming is done according to
https://www.mercurial-scm.org/wiki/CEDVocabulary.
Differential Revision: https://phab.mercurial-scm.org/D258
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Thu, 03 Aug 2017 15:30:41 +0200 |
parents | 3821dfee2cfc |
children | db6b666ce1e6 |
comparison
equal
deleted
inserted
replaced
33802:3821dfee2cfc | 33803:40739aef97f7 |
---|---|
1571 if ctx.obsolete(): | 1571 if ctx.obsolete(): |
1572 labels.append('changeset.obsolete') | 1572 labels.append('changeset.obsolete') |
1573 if ctx.isunstable(): | 1573 if ctx.isunstable(): |
1574 labels.append('changeset.unstable') | 1574 labels.append('changeset.unstable') |
1575 for instability in ctx.instabilities(): | 1575 for instability in ctx.instabilities(): |
1576 labels.append('trouble.%s' % instability) | 1576 labels.append('instability.%s' % instability) |
1577 return ' '.join(labels) | 1577 return ' '.join(labels) |
1578 | 1578 |
1579 class changeset_printer(object): | 1579 class changeset_printer(object): |
1580 '''show changeset information when templating not requested.''' | 1580 '''show changeset information when templating not requested.''' |
1581 | 1581 |