Skip to content
Snippets Groups Projects
Commit 5afc8620 authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

hg-benchmarks: add FILE variants for listing files with large history

This will be useful for annotate, grep, etc.
parent 9dd5c37d
No related branches found
No related tags found
1 merge request!48annotate benchmark
......@@ -169,6 +169,10 @@
}
}
}
// variante providing files patterns to access in a single revision
//
// used for example for `hg cat`, or `hg files`
["rev-reading-files"] {
default_key = "all-root"
cases {
......@@ -217,6 +221,21 @@
}
}
}
// single file that has an interresting file history
//
// to be used by thing like `hg annotate` or `hg log`
["file-reading-revs"] {
default_key = "all-root"
cases {
for (suffix in List("a", "b", "c", "d", "e")) {
["file-with-long-history.\(suffix)"] {
environment {
["FILES"] = "DATA-VARS:mercurial.file-with-long-history.\(suffix)"
}
}
}
}
}
// repo state should probably be split into multiple dimensions.
//
// However, that would be harder to do with the currently limited variant
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment