diff tests/test-evolve-obshistory.t @ 3566:e6bea259c227

prune: include "operation" metadata in obsmarkers
author Martin von Zweigbergk <martinvonz@google.com>
date Mon, 12 Mar 2018 15:51:17 -0700
parents 589649021ea1
children 5ddea3b8d2a4
line wrap: on
line diff
--- a/tests/test-evolve-obshistory.t	Mon Mar 12 15:51:07 2018 -0700
+++ b/tests/test-evolve-obshistory.t	Mon Mar 12 15:51:17 2018 -0700
@@ -248,7 +248,7 @@
   |  tag:         tip
   |  user:        test
   |  date:        Thu Jan 01 00:00:00 1970 +0000
-  |  obsolete:    pruned
+  |  obsolete:    pruned using prune
   |  summary:     B0
   |
   @  changeset:   1:471f378eab4c
@@ -267,7 +267,7 @@
 
   $ hg obslog 'desc(B0)' --hidden --patch
   x  0dec01379d3b (2) B0
-       pruned by test (Thu Jan 01 00:00:00 1970 +0000)
+       pruned using prune by test (Thu Jan 01 00:00:00 1970 +0000)
          (No patch available, no successors)
   
   $ hg obslog 'desc(B0)' --hidden --no-graph -Tjson | python -m json.tool
@@ -279,6 +279,7 @@
                       *, (glob)
                       0 (glob)
                   ],
+                  "operation": "prune",
                   "user": "test",
                   "verb": "pruned"
               }