Mercurial > hg
comparison tests/test-show-work.t @ 42893:34a46d48d24e
debugobsolete: also issue the "new obsmarkers" messsage
We are going to improve the way this message is issued in the core codebase.
This will make it appears for `hg debugobsolete` too. Since this seems like a
good idea, we make the output change in a previous changesets to clarify the
next changeset.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sun, 14 Oct 2018 13:19:24 +0200 |
parents | 3c4b2e880273 |
children |
comparison
equal
deleted
inserted
replaced
42892:a65c4715fb5d | 42893:34a46d48d24e |
---|---|
233 $ cat >> .hg/hgrc << EOF | 233 $ cat >> .hg/hgrc << EOF |
234 > [experimental] | 234 > [experimental] |
235 > evolution=createmarkers | 235 > evolution=createmarkers |
236 > EOF | 236 > EOF |
237 $ hg debugobsolete `hg log -r 'desc("commit 2")' -T "{node}"` | 237 $ hg debugobsolete `hg log -r 'desc("commit 2")' -T "{node}"` |
238 1 new obsolescence markers | |
238 obsoleted 1 changesets | 239 obsoleted 1 changesets |
239 1 new orphan changesets | 240 1 new orphan changesets |
240 $ hg show work --color=debug | 241 $ hg show work --color=debug |
241 @ [log.changeset changeset.draft changeset.unstable instability.orphan|32f3] [log.description|commit 3] | 242 @ [log.changeset changeset.draft changeset.unstable instability.orphan|32f3] [log.description|commit 3] |
242 x [log.changeset changeset.draft changeset.obsolete|6a75] [log.description|commit 2] | 243 x [log.changeset changeset.draft changeset.obsolete|6a75] [log.description|commit 2] |