tests/test-show-work.t
changeset 34877 eb24f1d1b50b
parent 34203 e6b5e7329ff2
child 35709 1a09dad8b85a
--- a/tests/test-show-work.t	Wed Oct 18 12:19:53 2017 -0500
+++ b/tests/test-show-work.t	Tue Oct 17 20:25:43 2017 +0200
@@ -234,6 +234,20 @@
   o  6a75 (r1) commit 2
   o  97fc (r0) commit 1
 
+Obsolescence information appears in labels.
+
+  $ cat >> .hg/hgrc << EOF
+  > [experimental]
+  > evolution=createmarkers
+  > EOF
+  $ hg debugobsolete `hg log -r 'desc("commit 2")' -T "{node}"`
+  obsoleted 1 changesets
+  $ hg show work --color=debug
+  @  [log.changeset changeset.draft changeset.unstable instability.orphan|32f3] [log.description|commit 3]
+  x  [log.changeset changeset.draft changeset.obsolete|6a75] [log.description|commit 2]
+  |
+  ~
+
   $ cd ..
 
 Prefix collision on hashes increases shortest node length