Closed Bug 1799685 Opened 2 years ago Closed 2 years ago

moz-phab --wip complains about "command --wip not found"

Categories

(Conduit :: moz-phab, defect)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: smaug, Assigned: sheehan)

References

(Regression)

Details

Attachments

(2 files)

The exact message is "moz-phab called without arguments; falling back to submit" and then it seems to run moz-phab submit --wip
The warning message isn't very clear, and is it needed at all? This is a recent change.

:sheehan: and I were talking about this issue last night - it's fallout from the fix on bug 1740228.

We need to change the current implementation (always show the 'falling back' message) to what was requested in comment 4:

We should probably detect when we've fallen back to submit and provide a clear error message if an invalid revset is provided.

ie. remove the current message and just improve the error message when an invalid revset/range is provided.

Regressed by: 1740228

We will move this messaging to a more relevant location in a later
commit.

Depends on D161810

Assignee: nobody → sheehan
Status: NEW → ASSIGNED
Duplicate of this bug: 1798825
Duplicate of this bug: 1798531

Adds a try/except block around the main submit function
to print a warning message to the terminal after submit
fails when in fallback mode.

The fallback warning is more targeted now, only appearing when submit fails when run without submit on the CLI.

Status: ASSIGNED → RESOLVED
Closed: 2 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: