Skip to content
Snippets Groups Projects
Commit 5409f7ec authored by Boris Feld's avatar Boris Feld
Browse files

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.
parent 71ef4e92
Branches
Tags
No related merge requests found
......@@ -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"))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment