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

Sean Farley sean at farley.io
Mon Jul 9 20:14:29 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 e22217eac5ebb878a7a85d11047f8a367f8f64fe
# Parent  31ada9bee6360235a9fb027b867b50fba721ebb7
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