Closed Bug 1601170 Opened 6 years ago Closed 5 years ago

Update the version of mercurial on the transplant server

Categories

(Conduit Graveyard :: Transplant, task)

Production
task
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: glob, Assigned: glob)

References

Details

(Keywords: conduit-triaged)

Attachments

(3 obsolete files)

The transplant server is running a very old version of Mercurial (4.5.3).

We should switch from installing it via yum to pip, and install the latest version.

Update the vendored copy of rewrite.py from VCT (autoformatted with
black).

Assignee: nobody → glob

Currently there's three possible methods for installing Mercurial, yum,
system-pip, and into autoland's venv (although on production only yum
and autoland_venv are present). It's possible for the Mercurial
version to be different in each of these locations.

To make it easier to reason about the version of Mercurial used by
autoland, and to make it easier to upgrade, remove the system-wide
packages and symlink /usr/bin/hg to the version of hg installed into
autoland's virtualenv.

Depends on D55814

Bump the version of Mercurial, updating hgexts to match.

The change to test-rewrite-commit-descriptions.t allows the test suite
to take the same path as production requests - where a truncated sha is
always provided as the base revision, which requires expansion to a full
node in newer Mercurial versions.

Depends on D55815

Keywords: conduit-triaged
Attachment #9113480 - Attachment is obsolete: true
Attachment #9113479 - Attachment is obsolete: true
Attachment #9113478 - Attachment is obsolete: true
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WONTFIX
Product: Conduit → Conduit Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: