Closed Bug 1721228 Opened 3 years ago Closed 3 years ago

upgrade hgmo to Mercurial 5.9

Categories

(Developer Services :: Mercurial: hg.mozilla.org, enhancement)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sheehan, Assigned: sheehan)

References

Details

Attachments

(8 files)

We should implement, test and deploy a hook to protect against the repository corruption issue identified in Mercurial 5.8, reported in bug 1720302 in BMO and upstream Mercurial issue 6528.

Mercurial 5.9rc1 includes some code to fix any instance of this repo corruption on the fly during push/pull. Once that candidate is promoted to an official release 5.9 we should upgrade hgmo to the latest Mercurial to avoid upstream issue 6528. The on-the-fly fixing is controlled by a config knob that is on by default. Morphing this bug into an hg version upgrade bug.

Summary: deploy a hook to protect against Mercurial 5.8 repository corruption → upgrade hgmo to Mercurial 5.9
Assignee: nobody → sheehan

Use the newer functions in utils.urlutil instead of ui.expandpath
in firefoxtree, making it compatible with Mercurial 5.9. Also mark
the extension as compatible with the latest version.

Depends on D123468

The rebase extension changed how some of it's output is
formatted to the screen when a tag is present on a rebased
revision. Update the tests to reflect this and mark a few
extensions as compatible with Mercurial 5.9 as a result.

Depends on D123469

These extensions require no changes for 5.9 compatibility.

Depends on D123472

Some logging output has changed since Mercurial 5.5.1 in the
hooks framework.

Depends on D123474

This is removed in newer versions of Mercurial.

Depends on D123478

Updates Mercurial to version 5.9 in all virtualenvs on hgweb.
This changeset should be deployed first in an incremental
fashion to all hgweb hosts.

Depends on D123483

This changeset should be deployed after upgrading hgweb to Mercurial
5.9.

Depends on D123484

Pushed by cosheehan@mozilla.com:
https://hg.mozilla.org/hgcustom/version-control-tools/rev/e187103676a0
testing: install Mercurial 5.9 in test environment r=zeid
https://hg.mozilla.org/hgcustom/version-control-tools/rev/79637068b492
firefoxtree: use utils.urlutil functions instead of ui.expandpath r=zeid
https://hg.mozilla.org/hgcustom/version-control-tools/rev/32e480a89b53
hgext: update rebase extension output r=zeid
https://hg.mozilla.org/hgcustom/version-control-tools/rev/66d24209682b
hgext: mark some extensions as compatible with Mercurial 5.9 r=zeid
https://hg.mozilla.org/hgcustom/version-control-tools/rev/5cd6a3a054e3
hghooks: update logging output in hooks tests r=zeid
https://hg.mozilla.org/hgcustom/version-control-tools/rev/af87b4de9db8
testing: remove exclamation mark from test output r=zeid

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Pushed by cosheehan@mozilla.com:
https://hg.mozilla.org/hgcustom/version-control-tools/rev/cc719233af2f
hgweb: update Mercurial to 5.9 r=zeid
https://hg.mozilla.org/hgcustom/version-control-tools/rev/7f8869cc8442
hgssh: update Mercurial to 5.9 in all virtualenvs r=zeid
See Also: → 1728194
Pushed by cosheehan@mozilla.com:
https://hg.mozilla.org/hgcustom/version-control-tools/rev/4a8dc0fe9e2d
testing: install Mercurial 5.9.1 in test suite 
https://hg.mozilla.org/hgcustom/version-control-tools/rev/b73882b26dde
hgtemplates: update hg version in `test-template-sync.t` and fix templates 
https://hg.mozilla.org/hgcustom/version-control-tools/rev/7ff8ca064a9e
ansible/hg-web: upgrade Mercurial to 5.9.1 
https://hg.mozilla.org/hgcustom/version-control-tools/rev/0c7c25460260
ansible/hg-ssh: upgrade Mercurial to 5.9.1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: