diff tests/test-touch.t @ 3215:175b524b9a2b

touch: add support for storing a note in obsmarker
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 12 Nov 2017 01:54:13 +0530
parents df8d535216af
children 73b4e84df0bd
line wrap: on
line diff
--- a/tests/test-touch.t	Sun Nov 12 01:35:51 2017 +0530
+++ b/tests/test-touch.t	Sun Nov 12 01:54:13 2017 +0530
@@ -151,5 +151,11 @@
 
   $ hg prune 13
   1 changesets pruned
-  $ hg touch 13 --hidden
+  $ hg touch 13 --hidden --note "testing with no successor"
   1 new orphan changesets
+  $ hg obslog -r 13 --hidden
+  x  [0-9a-f]{12} (.*) move (re)
+       pruned by test (Thu Jan 01 00:00:00 1970 +0000)
+       rewritten(.*) as [0-9a-f]{12} by test (.*) (re)
+         note: 'testing with no successor'
+