Summary: | devel/hg-git: Breakage during conversion (potentially incompatible with current devel/mercurial) | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Domagoj Stolfa <domagoj.stolfa> | ||||
Component: | Individual Port(s) | Assignee: | Kubilay Kocak <koobs> | ||||
Status: | Closed Overcome By Events | ||||||
Severity: | Affects Some People | CC: | marco.broeder, python, xmj | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Update with more info: seems like it's a version mismatch (pip -> 0.8.6), (ports -> 0.8.5) That is only to say, there is a later version in PyPI. That, coupled with previous commits to this port [1] mentioning: "Update hg-git to 0.8.5 + recent commits for compatibility with current Mercurial" Is likely to implicate an incompatibility between the current (ports) hg-git version and the current (ports) mercurial version. Additionally, given this has been broken in the same way in the past, we may need to consider a better way to keep these things in sync with each other, whether the same maintainer for both, coordination/testing/updating of consumers when updating mercurial or something else. [1] https://svnweb.freebsd.org/ports?view=revision&revision=434489 devel/mercurial is currently maintained by python@ (Add to CC). That may or may not be the best thing going forward "Works for me" with mercurial 4.3_1 and py27-hg-git-0.8.6. Ccould you please check if you can still reproduce it, or if we can mark it "overcome by events" ? Seems to have been "overcome by events". Let us know if this happens again by re-opening this issue. It would be good to nip this permanently in the bud (to the extent its possible, possibly only administratively) |
Created attachment 183910 [details] Backtrace during hg update Using the HEAD ports tree on FreeBSD 12.0-CURRENT with hg and interacting with a git repository while using devel/hg-git breaks. This breakage does not exist and everything works perfectly once the pip version of hg-git is used. Specifically, this can be reproduced with the following steps: # pkg install py27-hg-git $ cd /path/to/repo $ hg init $ echo '[paths]' >> .hg/hgrc $ echo 'git = git+ssh://<git repo>/ $ echo '[extensions]' >> .hg/hgrc $ echo 'hggit=' >> .hg/hgrc followed by: $ hg pull git $ hg update The updating part breaks with the attached backtrace.