diff mercurial/help/revsets.txt @ 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 74f6531581e8
line wrap: on
line diff
--- a/mercurial/help/revsets.txt	Sun Oct 10 12:41:36 2010 -0500
+++ b/mercurial/help/revsets.txt	Mon Oct 11 09:44:19 2010 -0500
@@ -94,6 +94,9 @@
 ``heads(set)``
   Members of set with no children in set.
 
+``id(string)``
+  Revision non-ambiguously specified by the given hex string prefix
+
 ``keyword(string)``
   Search commit message, user name, and names of changed files for
   string.
@@ -133,6 +136,9 @@
 ``removes(pattern)``
   Changesets which remove files matching pattern.
 
+``rev(number)``
+  Revision with the given numeric identifier.
+
 ``reverse(set)``
   Reverse order of set.