Closed
Bug 1377081
Opened 8 years ago
Closed 8 years ago
Pruning an fxtree-labeled head breaks `fxheads` and thereby `hg wip` (fxheads() doesn't seem to care if revisions are hidden)
Categories
(Developer Services :: Mercurial: firefoxtree, defect)
Developer Services
Mercurial: firefoxtree
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Gijs, Assigned: gps)
Details
Attachments
(2 files)
STR:
1. pull mozilla-unified with firefoxtree enabled
2. pull autoland manually because you need to rebase something so it can land
3. prune all pulled autoland revisions with something like 'hg prune -r 409717::.'
4. run 'hg wip'
ER:
tree output as usual
AR:
abort: unknown revision 'ed1964e4da87a8d44b81c3e8ce2e88da8309af79'!
Similarly:
hg log -r 'fxheads()'
also returns this error.
| Reporter | ||
Comment 1•8 years ago
|
||
FWIW, just re-pulling mozilla-unified doesn't help.
| Reporter | ||
Comment 2•8 years ago
|
||
Workaround:
rm .hg/firefoxtrees
hg pull
(Or, presumably, selectively removing the cached head ref in there.)
But I had to go spelunking into the code for this, and it seems the docs are out of date because they still say that the code uses tags (which would be manipulable with 'normal' hg commands), which it isn't.
| Assignee | ||
Updated•8 years ago
|
Assignee: nobody → gps
Status: NEW → ASSIGNED
| Comment hidden (mozreview-request) |
| Comment hidden (mozreview-request) |
Comment on attachment 8886742 [details]
firefoxtree: add test for unknown revision (bug 1377081);
https://reviewboard.mozilla.org/r/157544/#review162748
Attachment #8886742 -
Flags: review?(glob) → review+
Comment on attachment 8886743 [details]
firefoxtree: ignore unknown revisions (bug 1377081);
https://reviewboard.mozilla.org/r/157546/#review162752
lgtm
Attachment #8886743 -
Flags: review?(glob) → review+
Pushed by gszorc@mozilla.com:
https://hg.mozilla.org/hgcustom/version-control-tools/rev/d2c8fc483da2
firefoxtree: add test for unknown revision ; r=glob
https://hg.mozilla.org/hgcustom/version-control-tools/rev/49edbf24215b
firefoxtree: ignore unknown revisions ; r=glob
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•