diff tests/test-phases.t @ 15819:33ca11b010e2

phases: implements simple revset symbol This changeset adds ``public()``, ``draft()`` and ``secret`` symbol for revset.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Fri, 06 Jan 2012 10:04:20 +0100
parents cff25e4b37d2
children 2673006f7989
line wrap: on
line diff
--- a/tests/test-phases.t	Fri Jan 06 09:51:35 2012 +0100
+++ b/tests/test-phases.t	Fri Jan 06 10:04:20 2012 +0100
@@ -134,3 +134,19 @@
   2 0 C
   1 0 B
   0 0 A
+  $ cd ..
+
+Test revset
+
+  $ cd initialrepo
+  $ hglog -r 'public()'
+  0 0 A
+  1 0 B
+  2 0 C
+  3 0 D
+  6 0 B'
+  $ hglog -r 'draft()'
+  $ hglog -r 'secret()'
+  4 2 E
+  5 2 H
+  7 2 merge B' and E