2023-03-27 16:36:00 +00:00
|
|
|
# Revsets to pass to `jj bench revsets` on the Git
|
|
|
|
|
|
|
|
# Single tags
|
|
|
|
v1.0.0
|
|
|
|
v2.40.0
|
|
|
|
# Old history
|
|
|
|
:v1.0.0
|
|
|
|
..v1.0.0
|
|
|
|
# More history
|
|
|
|
:v2.40.0
|
|
|
|
..v2.40.0
|
|
|
|
# Only recent history
|
|
|
|
v2.39.0..v2.40.0
|
|
|
|
:v2.40.0 ~ :v2.39.0
|
|
|
|
v2.39.0:v2.40.0
|
|
|
|
# Tags and branches
|
|
|
|
tags()
|
|
|
|
branches()
|
|
|
|
# Intersection of range with a small subset
|
|
|
|
tags() & :v2.40.0
|
|
|
|
v2.39.0 & :v2.40.0
|
|
|
|
# Author and committer
|
|
|
|
author(peff)
|
|
|
|
committer(gitster)
|
|
|
|
# Intersection and union of large subsets
|
|
|
|
author(peff) & committer(gitster)
|
|
|
|
author(peff) | committer(gitster)
|
2023-04-01 07:41:47 +00:00
|
|
|
# Intersection of filter with a small subset
|
|
|
|
:v1.0.0 & (author(peff) & committer(gitster))
|
|
|
|
:v1.0.0 & (author(peff) | committer(gitster))
|
2023-03-27 16:36:00 +00:00
|
|
|
# Roots and heads of small subsets
|
|
|
|
roots(tags())
|
|
|
|
heads(tags())
|
|
|
|
# Roots and heads of large subsets
|
|
|
|
roots(author(peff))
|
|
|
|
heads(author(peff))
|
|
|
|
# Roots and heads of range
|
|
|
|
roots(:v2.40.0)
|
|
|
|
heads(:v2.40.0)
|
|
|
|
# Parents and children of small subset
|
|
|
|
tags()-
|
|
|
|
tags()+
|
2023-04-01 07:41:47 +00:00
|
|
|
# Filter that doesn't read commit object
|
|
|
|
merges()
|
|
|
|
~merges()
|
2023-03-27 16:36:00 +00:00
|
|
|
# Files are unbearably slow, so only filter within small set
|
|
|
|
file(Makefile) & v1.0.0..v1.2.0
|