revsetbenchmarks: add various examples around the 'heads()' revset
We are about to work on the performance of this revset. Before doing so we
defines various ways to use it.
--- a/contrib/all-revsets.txt Mon Jan 14 16:01:17 2019 +0100
+++ b/contrib/all-revsets.txt Sun Jan 13 22:24:11 2019 +0100
@@ -139,3 +139,11 @@
# test finding common ancestors
heads(commonancestors(last(head(), 2)))
heads(commonancestors(head()))
+
+# more heads testing
+heads(all())
+heads(-10000:-1)
+(-5000:-1000) and heads(-10000:-1)
+heads(matching(tip, "author"))
+heads(matching(tip, "author")) and -10000:-1
+(-10000:-1) and heads(matching(tip, "author"))