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
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
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 | ||
873 | Can you remove unused opts parameter? I don't think it will be any useful since we want to feed chunks | |
878 | Perhaps "label -> true" would be preferable than double negative "no label -> false". | |
882 | 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.