Details
- Reviewers
yuja - Group Reviewers
hg-reviewers - Commits
- rHG0ff41ced4c12: diff: improve ui.write performance when not coloring on Windows
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
mercurial/logcmdutil.py | ||
---|---|---|
97 | I slightly prefer passing chunks as an argument in place of oldchunks trick. But this is really minor nit. If we make all diffui() batchable (e.g. _exportsingle()) as a follow up, difflabel() can | |
mercurial/ui.py | ||
881 | Can you remove unused opts parameter? I don't think it will be any useful since we want to feed chunks | |
886 | Perhaps "label -> true" would be preferable than double negative "no label -> false". | |
890 | I think this assert is irrelevant since "no label" writes can be batched. |
I slightly prefer passing chunks as an argument in place of oldchunks trick. But this is really minor nit.
If we make all diffui() batchable (e.g. _exportsingle()) as a follow up, difflabel() can
just take chunks as an argument.