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

login
register
mail settings
Submitter Sean Farley
Date July 10, 2018, 12:14 a.m.
Message ID <e22217eac5ebb878a7a8.1531181669@1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.ip6.arpa>
Download mbox | patch
Permalink /patch/32722/
State Accepted
Headers show

Comments

Sean Farley - July 10, 2018, 12:14 a.m.
# HG changeset patch
# User Sean Farley <sean@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.

Patch

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))