moz-phab --wip complains about "command --wip not found"
Categories
(Conduit :: moz-phab, defect)
Tracking
(Not tracked)
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.
Assignee | ||
Comment 2•2 years ago
|
||
We will move this messaging to a more relevant location in a later
commit.
Depends on D161810
Updated•2 years ago
|
Assignee | ||
Comment 5•2 years ago
|
||
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.
Assignee | ||
Comment 6•2 years ago
|
||
The fallback warning is more targeted now, only appearing when submit
fails when run without submit
on the CLI.
Description
•