[MacPorts] #34377: tortoiseHG port has incompatible mercurial version
#34377: tortoiseHG port has incompatible mercurial version --------------------------------------+------------------------------------- Reporter: p.dutton@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: tortoisehg mercurial | Port: tortoisehg --------------------------------------+------------------------------------- Hi, I've installed the tortoisehg port but it will not run. It's saying: {{{ #!python ** Mercurial version (2.2.1). TortoiseHg version (2.1.2) ** Command: ** CWD: / ** Encoding: ascii ** Extensions loaded: ** Python version: 2.7.3 (default, May 8 2012, 12:36:09) [GCC 4.0.1 (Apple Inc. build 5493)] ** Qt-4.7.4 PyQt-4.9.1 This version of TortoiseHg requires Mercurial version 1.9.n to 1.10.n, but found 2.2.1 }}} The Mercurial version specified was installed as a dependency of this port, so I didn't have the opportunity to select a different version. Any ideas? Thanks, Peter -- Ticket URL: <https://trac.macports.org/ticket/34377> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34377: tortoiseHG port has incompatible mercurial version --------------------------------------+------------------------------------- Reporter: p.dutton@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: tortoisehg mercurial | Port: tortoisehg --------------------------------------+------------------------------------- Changes (by ryandesign@…): * cc: p.dutton@… (removed) * cc: ryandesign@… (added) Comment: I guess we should update tortoisehg to a version that is compatible with mercurial 2.2.1. I see tortoisehg 2.4 is available from their web site so we should try updating the port to that version. -- Ticket URL: <https://trac.macports.org/ticket/34377#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34377: tortoiseHG port has incompatible mercurial version --------------------------------------+------------------------------------- Reporter: p.dutton@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: tortoisehg mercurial | Port: tortoisehg --------------------------------------+------------------------------------- Comment(by p.dutton@…): Is this something I can do myself (e.g. just changing the version number in the port file) or is it more complicated? Replying to [comment:2 ryandesign@…]:
I guess we should update tortoisehg to a version that is compatible with mercurial 2.2.1. I see tortoisehg 2.4 is available from their web site so we should try updating the port to that version.
-- Ticket URL: <https://trac.macports.org/ticket/34377#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34377: tortoiseHG port has incompatible mercurial version --------------------------------------+------------------------------------- Reporter: p.dutton@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: tortoisehg mercurial | Port: tortoisehg --------------------------------------+------------------------------------- Comment(by ctmilling@…): I ran into this bug too. You can edit the file /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/tortoisehg/util/hgversion.py and force the version check to pass regardless of mercurial version. The function now reads: {{{ def checkhgversion(v): """range check the Mercurial version""" #Force version check to return OK, regardless of mercurial if True: return reqver = ['1', '9'] ... }}} It seems to work, but of course this is not the correct solution. Cheers, Craig -- Ticket URL: <https://trac.macports.org/ticket/34377#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34377: tortoiseHG port has incompatible mercurial version --------------------------------------+------------------------------------- Reporter: p.dutton@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: tortoisehg --------------------------------------+------------------------------------- Changes (by jmr@…): * keywords: tortoisehg mercurial => Comment: Replying to [comment:3 p.dutton@…]:
Is this something I can do myself (e.g. just changing the version number in the port file) or is it more complicated? Maybe. The only way to find out is to try changing the version and checksums and seeing if it works.
-- Ticket URL: <https://trac.macports.org/ticket/34377#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34377: tortoiseHG port has incompatible mercurial version -------------------------+-------------------------------- Reporter: p.dutton@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: tortoisehg | -------------------------+-------------------------------- Changes (by sean@…): * status: new => closed * resolution: => fixed Comment: This should be fixed now that I've updated both mercurial and tortoisehg. If not, please re-open the ticket. -- Ticket URL: <https://trac.macports.org/ticket/34377#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts