tests/test-revset.t
branchstable
changeset 17858 acd4577a568d
parent 17753 69d5078d760d
child 18473 692cbda1eb50
--- a/tests/test-revset.t	Fri Oct 19 13:52:34 2012 +0200
+++ b/tests/test-revset.t	Tue Oct 23 17:06:31 2012 +0900
@@ -750,6 +750,14 @@
   $ log 'min(1 or 2) and not 1'
   $ log 'last(1 or 2, 1) and not 2'
 
+test revsets started with 40-chars hash (issue3669)
+
+  $ ISSUE3669_TIP=`hg tip --template '{node}'`
+  $ hg log -r "${ISSUE3669_TIP}" --template '{rev}\n'
+  9
+  $ hg log -r "${ISSUE3669_TIP}^" --template '{rev}\n'
+  8
+
 tests for 'remote()' predicate:
 #.  (csets in remote) (id)            (remote)
 1.  less than local   current branch  "default"