Bug 2259038 - Not compatible with Mercurial 6.4
Summary: Not compatible with Mercurial 6.4
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: git-cinnabar
Version: 39
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Elliott Sales de Andrade
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-01-18 19:11 UTC by Aleksei Bavshin
Modified: 2025-08-14 01:33 UTC (History)
1 user (show)

Fixed In Version: git-cinnabar-0.5.11-2.fc43 git-cinnabar-0.5.11-2.fc42 git-cinnabar-0.5.11-3.fc41
Clone Of:
Environment:
Last Closed: 2024-11-27 22:40:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Aleksei Bavshin 2024-01-18 19:11:42 UTC
After the API changes in Mercurial 6.4 (changeset 49750:f075a9463ee7), git-cinnabar fails to import the mercurial.sshpeer module:

    WARNING Mercurial libraries not found. Falling back to experimental native access.
    remote: abort: repository path/to/repo not found
    fatal: Mercurial repository doesn't support the required "getbundle" capability

and that just too experimental to work with our repos, I guess.

Fix:
 
diff -rup a/cinnabar/hg/repo.py b/cinnabar/hg/repo.py
--- a/cinnabar/hg/repo.py
+++ b/cinnabar/hg/repo.py
@@ -95,7 +95,7 @@ try:
         url,
     )
     try:
-        from mercurial.sshpeer import instance as sshpeer
+        from mercurial.sshpeer import make_repo as sshpeer
     except ImportError:
         from mercurial.sshrepo import instance as sshpeer
     try:

Reproducible: Always




Updating to git-cinnabar 0.6.2 (Rust-based) doesn't help, as it also doesn't support our repo capability set and can't use mercurial libs.

Comment 1 Aleksei Bavshin 2024-01-18 22:31:17 UTC
A bit more complex patch seems to be necessary to pass the package tests. I'll send a PR when I finish it.

Comment 2 Aoife Moloney 2024-11-13 10:29:15 UTC
This message is a reminder that Fedora Linux 39 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 39 on 2024-11-26.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '39'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 39 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 3 Aoife Moloney 2024-11-27 22:40:51 UTC
Fedora Linux 39 entered end-of-life (EOL) status on 2024-11-26.

Fedora Linux 39 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 4 Fedora Update System 2025-08-04 20:40:42 UTC
FEDORA-2025-768c637ba3 (git-cinnabar-0.5.11-2.fc43) has been submitted as an update to Fedora 43.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-768c637ba3

Comment 5 Fedora Update System 2025-08-04 20:43:14 UTC
FEDORA-2025-768c637ba3 (git-cinnabar-0.5.11-2.fc43) has been pushed to the Fedora 43 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 6 Fedora Update System 2025-08-04 20:59:06 UTC
FEDORA-2025-1e2bbcac60 (git-cinnabar-0.5.11-2.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-1e2bbcac60

Comment 7 Fedora Update System 2025-08-05 01:27:44 UTC
FEDORA-2025-1e2bbcac60 has been pushed to the Fedora 42 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-1e2bbcac60`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-1e2bbcac60

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2025-08-05 03:24:49 UTC
FEDORA-2025-4a587db632 (git-cinnabar-0.5.11-3.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2025-4a587db632

Comment 9 Fedora Update System 2025-08-06 02:11:10 UTC
FEDORA-2025-4a587db632 has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2025-4a587db632`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2025-4a587db632

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2025-08-13 01:16:33 UTC
FEDORA-2025-1e2bbcac60 (git-cinnabar-0.5.11-2.fc42) has been pushed to the Fedora 42 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 11 Fedora Update System 2025-08-14 01:33:54 UTC
FEDORA-2025-4a587db632 (git-cinnabar-0.5.11-3.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.