The test uses the 'print' method instead of writing to stdout using
'ui.write' which leads to incompatibility with chg. This commit modifies the
test to use 'ui' instead which fixes the problem.
Details
Details
- Reviewers
quark - Group Reviewers
hg-reviewers - Commits
- rHG26c879bbf4ee: test-hook: make test compatible with chg
Ran the test 'test-hook.t' with and without '--chg' option.
Diff Detail
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.