Mercurial > hg
changeset 33780:2415ad743642
test: add a test for stabilization related labels
Differential Revision: https://phab.mercurial-scm.org/D256
author | Boris Feld <boris.feld@octobus.net> |
---|---|
date | Thu, 03 Aug 2017 14:16:54 +0200 |
parents | 9fa874fb34e1 |
children | 3821dfee2cfc |
files | tests/test-obsolete.t |
diffstat | 1 files changed, 34 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-obsolete.t Fri Aug 04 19:39:34 2017 +0200 +++ b/tests/test-obsolete.t Thu Aug 03 14:16:54 2017 +0200 @@ -945,6 +945,40 @@ summary: add obsolete_e +test the obsolete labels + + $ hg log --config ui.logtemplate= --color=debug -r 'phasedivergent()' + [log.changeset changeset.draft changeset.troubled trouble.orphan trouble.phase-divergent|changeset: 7:50c51b361e60] + [log.user|user: test] + [log.date|date: Thu Jan 01 00:00:00 1970 +0000] + [log.trouble|instability: orphan, phase-divergent] + [log.summary|summary: add babar] + + + $ hg log -T default -r 'phasedivergent()' --color=debug + [log.changeset changeset.draft changeset.troubled trouble.orphantrouble.phase-divergent|changeset: 7:50c51b361e60] + [log.user|user: test] + [log.date|date: Thu Jan 01 00:00:00 1970 +0000] + [log.trouble|instability: orphan, phase-divergent] + [log.summary|summary: add babar] + + + $ hg log --config ui.logtemplate= --color=debug -r "obsolete()" + [log.changeset changeset.draft changeset.obsolete|changeset: 6:3de5eca88c00] + [log.parent changeset.draft|parent: 3:6f9641995072] + [log.user|user: test] + [log.date|date: Thu Jan 01 00:00:00 1970 +0000] + [log.summary|summary: add obsolete_e] + + + $ hg log -T default -r 'obsolete()' --color=debug + [log.changeset changeset.draft changeset.obsolete|changeset: 6:3de5eca88c00] + [log.parent changeset.draft|parent: 3:6f9641995072] + [log.user|user: test] + [log.date|date: Thu Jan 01 00:00:00 1970 +0000] + [log.summary|summary: add obsolete_e] + + test summary output $ hg up -r 'phasedivergent() and orphan()'