`moz-phab submit` should do `moz-phab reorg` if needed (or warn) to fix related parent/child links
Categories
(Conduit :: moz-phab, enhancement, P2)
Tracking
(Not tracked)
People
(Reporter: mozbugz, Unassigned)
Details
(Keywords: conduit-triaged)
When adding patches in an existing stack, moz-phab submit correctly shows them as ( New) before submitting, but in Phabricator the stack is not properly reorganized, so some patches link to their old parent, which in particular confuses reviewbot.
I've only just learned about moz-phab reorg! (While filing this bug.)
Since moz-phab submit knows that some patches are new, it would be nice if it could automatically handle the reorg while submitting, or at least warn about it and suggest running moz-phab reorg so people know about this tool.
Comment 1•6 years ago
|
||
A warning with a piece of advice is a good idea.
Implement the reorg to the submit makes stack preparation a much longer process.
At the moment the process of changing the stack order is a bit complicated.
New revisions are fine as long as these are at the end of the stack.
If commits changed the order and a new commit appeared inside of the stack:
- Submit new commits with a
--singleoption - Reorganize
moz-phab reorg
Updated•6 years ago
|
Description
•