comparison contrib/all-revsets.txt @ 25609:67a2192dcb64

contrib: introduce an all-revsets.txt file This file should gather all revsets ever thought interesting by anyone. That way one can check the impact of a change when touching something revset-ish. See inline comments for details. This file have been refilled with all the entry I could automatically find from changeset descriptions. I assume we missed some not using 'revsetbenchmarks.py' output.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 16 Jun 2015 22:15:30 -0700
parents contrib/base-revsets.txt@2fea23d035d8
children 04335b430061
comparison
equal deleted inserted replaced
25608:2fea23d035d8 25609:67a2192dcb64
1 # All revsets ever used with revsetbenchmarks.py script
2 #
3 # The goal of this file is to gather all revsets ever used for benchmarking
4 # revset's performance. It should be used to gather revsets that test a
5 # specific usecase or a specific implementation of revset predicates.
6 # If you are working on the smartset implementation itself, check
7 # 'base-revsets.txt'.
8 #
9 # Please update this file with any revsets you use for benchmarking a change so
10 # that future contributors can easily find and retest it when doing further
11 # modification. Feel free to highlight interresting variants if needed.
12
13
14 ## Revset from this section are all extracted from changelog when this file was
15 # created. Feel free to dig and improve documentation.
16
17 # Used in revision da05fe01170b
18 (20000::) - (20000)
19 # Used in revision 95af98616aa7
20 parents(20000)
21 # Used in revision 186fd06283b4
22 (_intlist('20000\x0020001')) and merge()
23 # Used in revision 911f5a6579d1
24 p1(20000)
25 p2(10000)
26 # Used in revision f140d6207cca
27 roots(0:tip)
28 # Used in revision b6dc3b79bb25
29 0::
30 # Used in revision faf4f63533ff
31 bookmark()
32 # Used in revision 22ba2c0825da
33 tip~25
34 # Used in revision 0cf46b8298fe
35 bisect(range)
36 # Used in revision 5b65429721d5
37 divergent()
38 # Used in revision 6261b9c549a2
39 file(COPYING)
40 # Used in revision 44f471102f3a
41 follow(COPYING)
42 # Used in revision 8040a44aab1c
43 origin(tip)
44 # Used in revision bbf4f3dfd700
45 rev(25)
46 # Used in revision a428db9ab61d
47 p1()
48 # Used in revision c1546d7400ef
49 min(0::)
50 # Used in revision 546fa6576815
51 author(lmoscovicz) or author(mpm)
52 author(mpm) or author(lmoscovicz)
53 # Used in revision 9bfe68357c01
54 public() and id("d82e2223f132")
55 # Used in revision ba89f7b542c9
56 rev(25)
57 # Used in revision eb763217152a
58 rev(210000)
59 # Used in revision 69524a05a7fa
60 10:100
61 parents(10):parents(100)
62 # Used in revision 6f1b8b3f12fd
63 100~5
64 parents(100)~5
65 (100~5)~5
66 # Used in revision 7a42e5d4c418
67 children(tip~100)
68 # Used in revision 7e8737e6ab08
69 100^1
70 parents(100)^1
71 (100^1)^1
72 # Used in revision 30e0dcd7c5ff
73 matching(100)
74 matching(parents(100))
75 # Used in revision aafeaba22826
76 0|1|2|3|4|5|6|7|8|9
77 # Used in revision 33c7a94d4dd0
78 tip:0
79 # Used in revision 7d369fae098e
80 (0:100000)
81 # Used in revision b333ca94403d
82 0 + 1 + 2 + ... + 200
83 0 + 1 + 2 + ... + 1000
84 sort(0 + 1 + 2 + ... + 200)
85 sort(0 + 1 + 2 + ... + 1000)
86 # Used in revision 7fbef7932af9
87 first(0 + 1 + 2 + ... + 1000)
88 # Used in revision ceaf04bb14ff
89 0:1000
90 # Used in revision 262e6ad93885
91 revset #0: not public()
92 revset #1: (tip~1000::) - public()
93 revset #2: not public() and branch("default")
94 # Used in revision 15412bba5a68
95 revset #0: 0::tip
96
97 ## all the revsets from this section have been taken from the former central file
98 # for revset's benchmarking, they are undocumented for this reason.
99 all()
100 draft()
101 ::tip
102 draft() and ::tip
103 ::tip and draft()
104 roots(0::tip)
105 author(lmoscovicz)
106 author(mpm)
107 42:68 and roots(42:tip)
108 ::p1(p1(tip))::
109 public()
110 :10000 and public()
111 :10000 and draft()
112 roots((0:tip)::)
113 (not public() - obsolete())
114
115 # The one below is used by rebase
116 (children(ancestor(tip~5, tip)) and ::(tip~5))::
117
118 # those two `roots(...)` inputs are close to what phase movement use.
119 roots((tip~100::) - (tip~100::tip))
120 roots((0::) - (0::tip))