changeset 38712:70a4289896b0

revset: add larger test for heads(ancestors(…)) It is important to not regress on this benchmark so we move it into the "base" file. And we add another benchmark with more than two revisions.
author Boris Feld <boris.feld@octobus.net>
date Mon, 16 Jul 2018 16:46:32 +0200
parents 240ebbd328e0
children 27391d74aaa2
files contrib/all-revsets.txt contrib/base-revsets.txt
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/all-revsets.txt	Mon Jul 16 16:43:35 2018 +0200
+++ b/contrib/all-revsets.txt	Mon Jul 16 16:46:32 2018 +0200
@@ -138,3 +138,4 @@
 
 # test finding common ancestors
 heads(commonancestors(last(head(), 2)))
+heads(commonancestors(head()))
--- a/contrib/base-revsets.txt	Mon Jul 16 16:43:35 2018 +0200
+++ b/contrib/base-revsets.txt	Mon Jul 16 16:46:32 2018 +0200
@@ -46,3 +46,4 @@
 (20000::) - (20000)
 # The one below is used by rebase
 (children(ancestor(tip~5, tip)) and ::(tip~5))::
+heads(commonancestors(last(head(), 2)))