Bug 238535 - devel/py-hgsubversion: unbreak with mercurial 5.0
Summary: devel/py-hgsubversion: unbreak with mercurial 5.0
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-python mailing list
URL: https://bitbucket.org/durin42/hgsubve...
Keywords: easy, patch-ready, regression
Depends on:
Blocks:
 
Reported: 2019-06-13 04:28 UTC by Charlie Li
Modified: 2019-06-15 20:04 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (python)


Attachments
py-hgsubversion-hg5.0.patch (22.67 KB, patch)
2019-06-13 04:28 UTC, Charlie Li
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Charlie Li 2019-06-13 04:28:58 UTC
Created attachment 205025 [details]
py-hgsubversion-hg5.0.patch

Mercurial 5.0 introduced some breaking API changes that this extension depends on. This patch pulls in all revisions between the 1.9.3 release and tip as of this writing (6a6ce9d), since there were, again, multiple API breakages.

Been dogfooding this since devel/mercurial updated to 5.0; passes testport, portlint and runtime.
Comment 1 Sunpoet Po-Chuan Hsieh freebsd_committer 2019-06-15 19:24:21 UTC
It seems 6a6ce9d is the only thing required for mercurial 5.0 fix.
Comment 2 Charlie Li 2019-06-15 20:04:24 UTC
The commit before, 5d8603f, is also needed for future-proofing when mercurial 5.1 comes around. The other commits are bug fixes and removal of compat code for old mercurial that we don't even carry in quarterly anymore.