Closed Bug 1808584 Opened 3 years ago Closed 3 years ago

patch command has `--diff-id` and `--apply-to` as mutually exclusive

Categories

(Conduit :: moz-phab, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sheehan, Assigned: sheehan)

References

(Regression)

Details

Attachments

(1 file)

❯ moz-phab patch D165893 --apply-to a0ec48ed7110fd84c84d1b5cca0d87bed2115d7f --diff-id 664407
usage: moz-phab patch [-h] [--apply-to TARGET | --diff-id DIFF_ID | --raw]
                      [--name NAME] [--no-commit] [--no-bookmark] [--no-topic]
                      [--no-branch] [--skip-dependencies]
                      [--include-abandoned] [--yes] [--safe-mode]
                      [--force-vcs]
                      revision_id
moz-phab patch: error: argument --diff-id: not allowed with argument --apply-to/--applyto/-a

This is because we are using the mutually exclusive patch parser group instead of the standard parser. Patch incoming.

Move the --diff-id argument out of the mutually exclusive
group meant for --apply-to and --raw. Also add a comment
about the mutually exclusive group and add spaces around them
so the different parser is more obvious.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: