[PATCH 3 of 3 gca-revset V2] contrib: add heads(commonancestors(_)) to all-revsets

Sean Farley sean at farley.io
Tue Jun 26 18:40:39 EDT 2018


# HG changeset patch
# User Sean Farley <sean at farley.io>
# Date 1529539666 25200
#      Wed Jun 20 17:07:46 2018 -0700
# Branch gca-revset
# Node ID 89ef7e1c9e733402c0ffdb009da359fde371750f
# Parent  0bab83973dbaecf03167801ddc4550c4b8b581f1
contrib: add heads(commonancestors(_)) to all-revsets

This is mainly to check that we don't regress our optimization path.

diff --git a/contrib/all-revsets.txt b/contrib/all-revsets.txt
index 3b2a8fe..a2f543f 100644
--- a/contrib/all-revsets.txt
+++ b/contrib/all-revsets.txt
@@ -133,5 +133,8 @@ draft() and head()
 head() and author("mpm")
 
 # testing the mutable phases set
 draft()
 secret()
+
+# test finding common ancestors
+heads(commonancestors(46879 + ae7f))


More information about the Mercurial-devel mailing list