Closed
Bug 1600137
Opened 5 years ago
Closed 4 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 split
and split it into two commits - Use
moz-phab
to send both commits moz-phab
will 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•4 years ago
|
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•