diff tests/test-fold.t @ 5113:a66c9fc9c503

fold: actually track folds using fold-* metadata in obsmarkers
author Anton Shestakov <av6@dwimlabs.net>
date Sat, 11 Jan 2020 19:52:56 +0700
parents 1f92a6aa40d6
children a7fb433faab6 e8660b28bfee
line wrap: on
line diff
--- a/tests/test-fold.t	Sun Feb 02 15:51:10 2020 +0700
+++ b/tests/test-fold.t	Sat Jan 11 19:52:56 2020 +0700
@@ -95,6 +95,10 @@
   $ hg fold --from -r 'desc("r5")'
   3 changesets folded
   0 files updated, 0 files merged, 0 files removed, 0 files unresolved
+  $ hg debugobsolete -r 'desc("r5")' --exclusive
+  4de32a90b66cd083ebf3c00b41277aa7abca51dd 198b5c405d01a50c41a81a00fc61677b81981a5f 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '37', 'fold-id': '25cb328e', 'fold-idx': '3', 'fold-size': '3', 'operation': 'fold', 'user': 'test'}
+  c8d03c1b5e94af74b772900c58259d2e08917735 198b5c405d01a50c41a81a00fc61677b81981a5f 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '33', 'fold-id': '25cb328e', 'fold-idx': '1', 'fold-size': '3', 'operation': 'fold', 'user': 'test'}
+  f69452c5b1af6cbaaa56ef50cf94fff5bcc6ca23 198b5c405d01a50c41a81a00fc61677b81981a5f 0 (Thu Jan 01 00:00:00 1970 +0000) {'ef1': '37', 'fold-id': '25cb328e', 'fold-idx': '2', 'fold-size': '3', 'operation': 'fold', 'user': 'test'}
 
 Checking whether the bookmarks are moved or not