Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHG24b1a8eb73aa: ui: add option to timestamp status and diagnostic messages
Diff Detail
- Repository
- rHG Mercurial
- Branch
- stable
- Lint
No Linters Available - Unit
No Unit Test Coverage
Event Timeline
mercurial/configitems.py | ||
---|---|---|
1394 | maybe timestamp-output? How does this interact with a command that uses the progress bar? Maybe add a check for that in test-progress.t? |
mercurial/ui.py | ||
---|---|---|
1745 | Any reason why we are passing self.showtimestamp when it can be accessed directly in self._writemsg? |
mercurial/ui.py | ||
---|---|---|
1745 | _writemsg is also used by other functions, e.g. prompt, getpass etc. I'm not sure we want to timestamp those, they certainly don't apply to my use-case. |
mercurial/ui.py | ||
---|---|---|
1745 | Hm, in that case we can check the type in self_writemsg. if type in set(['status', 'note', 'warning', 'error']): .... |
maybe timestamp-output?
How does this interact with a command that uses the progress bar? Maybe add a check for that in test-progress.t?