This allows abortions to be highlighted specially and separately
from warnings - for instance, red is a reasonable color for when hg
aborts, but is overly dramatic for most warnings produced elsewhere.
Details
Details
- Reviewers
martinvonz pulkit - Group Reviewers
hg-reviewers - Commits
- rHGafc4ad706f9c: dispatch: making all hg abortions be output with a specific label
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.
Event Timeline
mercurial/commandserver.py | ||
---|---|---|
356 | What do you think about introducing a ui.error() instead? |
Comment Actions
Looks good! I won't queue it now because it's freeze and it feels controversial enough that I shouldn't queue it anyway. I've actually wanted a ui.error() for some time and it's just the fact that we still don't have have it that makes me wonder if it's controversial.
mercurial/scmutil.py | ||
---|---|---|
172โ174 | nit: revert formatting change |
mercurial/commandserver.py | ||
---|---|---|
356 | Huge ๐ |
Comment Actions
Looks good to me too. I don't think this is something we accept on stable so I will hold on pushing this until code-freeze.
What do you think about introducing a ui.error() instead?