[meta] Mercurial 5.2 upgrade and compatibility
Categories
(Developer Services :: Mercurial: hg.mozilla.org, enhancement)
Tracking
(Not tracked)
People
(Reporter: sheehan, Assigned: sheehan)
References
Details
(Keywords: leave-open, meta)
Attachments
(3 files)
| Assignee | ||
Comment 1•6 years ago
|
||
No major code changes required for compatibility with Mercurial 5.2,
however many tests have slightly changed output under the new Mercurial
version. Most of the changes come from changeset d7304434390f in upstream
Mercurial[1]. This changeset moves the line about added changes into the
transaction summary output. As a result, our pretxnchangegroup hook
output for the pushlog appears slightly earlier in the output. In some
other cases, the "added changes" line disappears as the transaction output
does not display when the transaction fails due to a hook or some other
reason, which is more correct behaviour in my opinion.
A few tests output changes are left out of this upgrade for now, specifically
tests with lots of output conditional on various versions of Mercurial.
Rather than tinker with updating the test output, I'm going to clean up
all those tests after the 5.2 upgrade on hg.mo is complete.
[1] https://mercurial-scm.org/repo/hg-committed/rev/d7304434390f
| Assignee | ||
Comment 2•6 years ago
|
||
The function signature used in mercurial.changelog.changelog.add
changed between 5.1 and 5.2. Adding *args and **kwargs papers
over the issue.
| Assignee | ||
Comment 4•6 years ago
|
||
This output now appears later, and has been updated in other tests
in changeset 025a9255b998b82f8.
Updated•6 years ago
|
| Assignee | ||
Updated•4 years ago
|
Description
•