Details
- Reviewers
- None
- Group Reviewers
hg-reviewers - Commits
- rHG15f63ac122ea: files: respect ui.relative-paths
rHGce0a4ed25ebc: files: respect ui.relative-paths
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
For some reason, this breaks test-contrib-perf.t:
I also tried setting True and False in ui.relative-paths, to no effect. Any ideas?
I noticed another bug and sent D5978. Maybe your test failure is because you're using the eol extension? I don't know what else would cause the \r in contrib.perf. I have no idea how that's related to this patch, though.
The \r is how output normally is on Windows. The test harness accounts for this when matching lines, but displays the actual output (with \r) when there are differences. The eol extension isn’t configured on this machine, but the custom HGRCPATH content from the test harness would override that anyway.
Ah, so the only difference is the extra "import newer module separately in try clause for early Mercurial" in contrib/perf.py then. This patch didn't change that file. Can you check again that it was this patch that caused that and that it's not just flaky?
Correct. The extra noise makes it hard to see the actual problems sometimes, and it makes trivial things like fixing (glob) endings more of a nuisance. But I don't see a way to handle that.
This one is definitely the problem, because the failing *.t invokes hg files to generate the whitelist. It turns out, we can either set ui.slash=False or just not use os.sep in check-perf-code.py. I'm leaning toward the latter.