The releasenotes command is supposed to raise an error when --list and
--rev/--check flags are used together. This patch adds the above functionality.
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHG741a511492d3: releasenotes: raise error on simultaneous usage of flags
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
hgext/releasenotes.py | ||
---|---|---|
560 | It will be cleaner if you do (_("cannot .... '--list' and '--check' "). Also since we are calling opts.get('list') three times, can we just take this out into an another variable. |
It will be cleaner if you do (_("cannot .... '--list' and '--check' "). Also since we are calling opts.get('list') three times, can we just take this out into an another variable.