Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/cmdutil.py @ 33802:3821dfee2cfc
label: rename changeset.troubled into changeset.unstable
The renaming is done according to
https://www.mercurial-scm.org/wiki/CEDVocabulary.
Differential Revision: https://phab.mercurial-scm.org/D257
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Thu, 03 Aug 2017 14:32:50 +0200 |
parents | 96f43981c1c4 |
children | 40739aef97f7 |
comparison
equal
deleted
inserted
replaced
33801:2415ad743642 | 33802:3821dfee2cfc |
---|---|
1569 def _changesetlabels(ctx): | 1569 def _changesetlabels(ctx): |
1570 labels = ['log.changeset', 'changeset.%s' % ctx.phasestr()] | 1570 labels = ['log.changeset', 'changeset.%s' % ctx.phasestr()] |
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.troubled') | 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('trouble.%s' % instability) |
1577 return ' '.join(labels) | 1577 return ' '.join(labels) |
1578 | 1578 |
1579 class changeset_printer(object): | 1579 class changeset_printer(object): |