diff tests/test-obsolete.t @ 17390:74b44f25b4b1

revset: add hidden() revset
author Patrick Mezard <patrick@mezard.eu>
date Sat, 04 Aug 2012 20:20:48 +0200
parents 7d2967de2c04
children 0496d4f73cf4
line wrap: on
line diff
--- a/tests/test-obsolete.t	Fri Aug 24 14:53:07 2012 -0500
+++ b/tests/test-obsolete.t	Sat Aug 04 20:20:48 2012 +0200
@@ -68,7 +68,10 @@
   0 files updated, 0 files merged, 1 files removed, 0 files unresolved
   $ mkcommit new_c
   created new head
+  $ hg log -r 'hidden()' --template '{rev}:{node|short} {desc}\n' --hidden
   $ hg debugobsolete `getid original_c`  `getid new_c` -d '56 12'
+  $ hg log -r 'hidden()' --template '{rev}:{node|short} {desc}\n' --hidden
+  2:245bde4270cd add original_c
   $ hg debugobsolete
   245bde4270cd1072a27757984f9cda8ba26f08ca cdbce2fbb16313928851e97e0d85413f3f7eb77f 0 {'date': '56 12', 'user': 'test'}