If required is set, failing to load an extensions will abort. See the test
and documentation for details.
Details
Details
- Reviewers
Alphare - Group Reviewers
hg-reviewers - Commits
- rHG0d0ce2529540: extension: add a `required` suboption to enforce the use of an extensions
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/extensions.py | ||
---|---|---|
325–326 | Is there any precedent for multiple hints outside of evolve? I can't think of a time when a hint would already be present, but it seems like this hint would be always useful to show? |
mercurial/extensions.py | ||
---|---|---|
325–326 | It isn't multiline, it is a single line (just a tad 86 char long), but heavily indented so I had to cut the line in two in the source. |
Is there any precedent for multiple hints outside of evolve? I can't think of a time when a hint would already be present, but it seems like this hint would be always useful to show?