Commit message Age Author Refs
r52459:529a6558
matchers: fix the bug in rust PatternMatcher that made it cut off early This brings the rust output in line with the Python output.
Arseniy Alekseyev
0
r52458:95c083d2
tests: add an end-to-end test to show a bug in `visit_children_set` Concretely, `rootfilesin` is completely broken with respect to `visit_children_set` optimization.
Arseniy Alekseyev
0
r52457:f5c367dc
tests: add tests and document expectations from visit_children_set in rust The tests this patch are adding have the form of formal spec in invariants::visit_children_set::holds, and then a series of checks that all examples must satisfy this formal spec. I tried to make the spec consistent with how this function is used and how it was originally conceived. This is in conflict with how it's documented in Rust. Some of the implementations also fail to implement this spec, which leads to bugs, in particular when complicated patterns are used with `hg status`.
Arseniy Alekseyev
0
r52456:b861d913
tests: add a test that demonstrates a bug in rhg status pattern handling The bug is in [visit_children_set], will be elaborated on in follow-up changes.
Arseniy Alekseyev
0
r52455:eac84af0
bundle-spec: properly parse boolean configuration as boolean Before this changesets "v2;revbranchcache=no" would actually request the addition for a revbranchcache part as the non-empty string `"0"` is `True`
0
r52454:7752cf4f
bundle-spec: properly identify changegroup-less bundle It is possible to produce a bundle without changegroup. For example if we want to only send phases or obsolescence information. However that lead to crash for command that identifies bundle content. So we fix that. The test will come in the next changesets, when we fix another bug preventing to generate such bundle by hand.
0
r52453:8e8776a2
perf: create the temporary target next to the source in stream-consume See inline comment for rational.
0
r52452:ee132657
setup: display return code information about failed `hg` call This help to understand what is going wrong when things goes wrong.
0
r52451:c4aab366
bundlespec: rationalize the way we specify stream bundle version Instead of having weird dedicated option for each version (v2, v3, etc) we reuse the same "stream" parameters. This is consistent with the ability to request a stream clone using "none-v2;stream=v2". This changeset introduce no user visible change, this is pure internal cleaning.
0
r52450:cc44b3df
bundle: do no check the changegroup version if no changegroup is included We don't need to check the compatibility of something we will not use. In practice this was getting in the was of `streamv2` bundles on a narrow repository as the 'cg.version=02' value was rejected by this checks.
0
< 1 .. 5 6 7 8 9 .. 5249 >