diff tests/test-revset.t @ 30783:931a60880df4

revset: add regular expression support to 'desc' This is a case insensitive predicate like 'author', so it conforms to the existing behavior of performing a case insensitive regex.
author Matt Harbison <matt_harbison@yahoo.com>
date Sat, 07 Jan 2017 21:26:32 -0500
parents db38cfc7c29d
children d389f19f14aa
line wrap: on
line diff
--- a/tests/test-revset.t	Wed Jan 11 22:42:10 2017 -0500
+++ b/tests/test-revset.t	Sat Jan 07 21:26:32 2017 -0500
@@ -912,6 +912,9 @@
   5
   $ log 'desc(B)'
   5
+  $ hg log -r 'desc(r"re:S?u")' --template "{rev} {desc|firstline}\n"
+  5 5 bug
+  6 6 issue619
   $ log 'descendants(2 or 3)'
   2
   3