Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHG702bb73d7330: config: test priority involving alias and include
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
tests/test-config.t | ||
---|---|---|
428 | Can we use consistent config values? It's not obvious that ui.logtemplate and command-templates.log are aliases or means same. |
tests/test-config.t | ||
---|---|---|
428 | What do you mean by "consistent" ? I am using ui.logtemplate and command-templates.log because they are a simple existing alias. We could add a couple extra comment in the tests to make this clearer if you feel like this is needed. |
tests/test-config.t | ||
---|---|---|
428 | TBH, I don't use this config and hence didn't know they are aliases. Can we just use one of them or add a comment? Or I am missing something and using config aliases is testing/will test something. |
tests/test-config.t | ||
---|---|---|
428 | I am confused about your confusion… |
tests/test-config.t | ||
---|---|---|
428 | Are we using both ui.logtemplate and command-templates.log to test something? In other words, can our target test be achieved by just using one of them? |
tests/test-config.t | ||
---|---|---|
428 | No, the whole point of the test is to check how value set for both ui.logtemplate and command-templates.log interact with each other, since they are alias for one another. I will add a comment to clarify this. |
Can we use consistent config values? It's not obvious that ui.logtemplate and command-templates.log are aliases or means same.