diff tests/test-revset.t @ 12716:c7e619e30ba3

revset: add id() and rev() to allow explicitly referring to changes by hash or rev
author Augie Fackler <durin42@gmail.com>
date Mon, 11 Oct 2010 09:44:19 -0500
parents 33820dccbea4
children 7e14e67e6622
line wrap: on
line diff
--- a/tests/test-revset.t	Sun Oct 10 12:41:36 2010 -0500
+++ b/tests/test-revset.t	Mon Oct 11 09:44:19 2010 -0500
@@ -247,6 +247,8 @@
   6
   $ log 'modifies(b)'
   4
+  $ log 'id(5)'
+  2
   $ log 'outgoing()'
   8
   9
@@ -276,6 +278,8 @@
   4
   3
   2
+  $ log 'rev(5)'
+  5
   $ log 'sort(limit(reverse(all()), 3))'
   7
   8