Closed Bug 1231192 Opened 4 years ago Closed 4 years ago

Various improvements to mach mercurial-setup

Categories

(Firefox Build System :: Mach Core, enhancement)

enhancement
Not set

Tracking

(firefox45 fixed)

RESOLVED FIXED
mozilla45
Tracking Status
firefox45 --- fixed

People

(Reporter: gps, Assigned: gps)

Details

Attachments

(5 files)

I hacked up some things on the plane yesterday.
Bug 1231192 - Mark Mercurial 3.5.2 as oldest non-legacy version; r?smacleod

Main reason for recommending 3.5 is bundle2. The protocol is faster and
we can do things like put extra data in the server exchange. It also
enables generaldelta to be exchanged without pain.

And of course there are tons of performance improvements and bug fixes.
Attachment #8696755 - Flags: review?(smacleod)
Bug 1231192 - Bump some minimum Mercurial version; r?smacleod

We only support the last 4 releases of Mercurial. 3.6 is out, which
means we only support down to 3.3.
Attachment #8696756 - Flags: review?(smacleod)
Bug 1231192 - Support clonebundles feature; r?smacleod

bundleclone is the Mozilla-specific precursor to the "clonebundles"
feature in Mercurial 3.6. Change the wizard to recognize when
clonebundles is available and to favor it. Activating clonebundles will
also disable bundleclone, as bundleclone is redundant with clonebundles.
(If both are enabled, bundleclone detects this and gets out of the way.)
Attachment #8696757 - Flags: review?(smacleod)
Bug 1231192 - Offer to install `hg wip`; r?smacleod
Attachment #8696758 - Flags: review?(smacleod)
Bug 1231192 - Only install host fingerprints if not running secure Python+hg; r?smacleod

See inline comment.
Attachment #8696759 - Flags: review?(smacleod)
Attachment #8696755 - Flags: review?(smacleod) → review+
Comment on attachment 8696755 [details]
MozReview Request: Bug 1231192 - Mark Mercurial 3.5.2 as oldest non-legacy version; r?smacleod

https://reviewboard.mozilla.org/r/27419/#review24759
Attachment #8696756 - Flags: review?(smacleod) → review+
Comment on attachment 8696756 [details]
MozReview Request: Bug 1231192 - Bump some minimum Mercurial version; r?smacleod

https://reviewboard.mozilla.org/r/27421/#review24761
Comment on attachment 8696757 [details]
MozReview Request: Bug 1231192 - Support clonebundles feature; r?smacleod

https://reviewboard.mozilla.org/r/27423/#review24763
Attachment #8696757 - Flags: review?(smacleod) → review+
Comment on attachment 8696758 [details]
MozReview Request: Bug 1231192 - Offer to install `hg wip`; r?smacleod

https://reviewboard.mozilla.org/r/27425/#review24767

::: tools/mercurial/hgsetup/config.py:242
(Diff revision 1)
> +            ') and (not obsolete() or unstable()^) '

personally I like a modified `wip` which includes the unstable stuff off of drafts etc.

I think it would be worth including that as it makes wip much more useful in an evolve world. That can always happen later though.
Attachment #8696758 - Flags: review?(smacleod) → review+
Comment on attachment 8696759 [details]
MozReview Request: Bug 1231192 - Only install host fingerprints if not running secure Python+hg; r?smacleod

https://reviewboard.mozilla.org/r/27427/#review24769
Attachment #8696759 - Flags: review?(smacleod) → review+
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.