Closed
Bug 1234927
Opened 8 years ago
Closed 8 years ago
Add fxheads to `wip` set up from |mach mercurial-setup|
Categories
(Firefox Build System :: Mach Core, enhancement)
Firefox Build System
Mach Core
Tracking
(firefox46 fixed)
RESOLVED
FIXED
mozilla46
Tracking | Status | |
---|---|---|
firefox46 | --- | fixed |
People
(Reporter: ahal, Unassigned)
Details
Attachments
(1 file)
Recently the firefoxtree extension stopped saving local tags, instead relying on namespace metadata. This meant that it stopped showing up in the |hg wip| command that gets set up by |mach mercurial-setup|. We should add a new label for fxheads so they show up again.
Reporter | ||
Comment 1•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/28991/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/28991/
Attachment #8701595 -
Flags: review?(gps)
Updated•8 years ago
|
Attachment #8701595 -
Flags: review?(gps) → review+
Comment 2•8 years ago
|
||
Comment on attachment 8701595 [details] MozReview Request: Bug 1234927 - Display fxheads in |hg wip| alias, r=gps https://reviewboard.mozilla.org/r/28991/#review25819 FWIW, I started a thread on the mercurial-devel list about potentially adding {names} or something similar so we don't have to deal with every namespace as a one off. ::: tools/mercurial/hgsetup/config.py:257 (Diff revision 1) > + '{label("log.fxtree", if(fxheads," {fxheads}"))} ' Let's use log.bookmark here because we can't expect people to have this label defined.
Reporter | ||
Comment 3•8 years ago
|
||
I'm not 100% sure how namespaces work, but isn't the log.fxtree label defined by firefoxtree? This patch works as is for me, both with and without firefoxtree installed. Just without firefoxtree, fxheads don't get displayed in `hg wip` which seems like the correct behaviour. Or do you mean for purposes of colorization? If that's the case I'd prefer log.tag over log.bookmark.
Comment 4•8 years ago
|
||
label() is used for colorization. We should not invent a new label for this usage.
Reporter | ||
Comment 5•8 years ago
|
||
Makes sense. I'll switch it to log.tag then, as they act more like tags than bookmarks.
Reporter | ||
Comment 6•8 years ago
|
||
Comment on attachment 8701595 [details] MozReview Request: Bug 1234927 - Display fxheads in |hg wip| alias, r=gps Review request updated; see interdiff: https://reviewboard.mozilla.org/r/28991/diff/1-2/
Comment 8•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/967b246b56b2
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox46:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla46
Updated•6 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•