Closed
Bug 1600137
Opened 5 years ago
Closed 5 years ago
moz-phab should warn if two revisions have the same patch id
Categories
(Conduit :: moz-phab, enhancement, P2)
Conduit
moz-phab
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: mhentges, Assigned: mhentges)
Details
(Keywords: conduit-triaged)
Attachments
(1 file)
I performed an hg split for this patch, then was confused when only half my changes were showing up.
It turned out that when I hg split'd, I left the same phabricator patch ID for both commits. So, moz-phab simply updated that patch for each commit, overwriting the first commit with the second.
I think (?) it's always an erroneous if any of the commits being pushed have the same patch ID.
To reproduce
- Make a commit and send it with
moz-phab - Do an
hg splitand split it into two commits - Use
moz-phabto send both commits moz-phabwill update the patch with the first commit, then overwrite the patch with the second commit
Proposed improvement
If any commits being pushed have the same patch ID, immediately warn the user and don't push any commits to Phabricator
| Assignee | ||
Updated•5 years ago
|
Assignee: nobody → mhentges
| Assignee | ||
Comment 2•5 years ago
|
||
Updated•5 years ago
|
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•