[MacPorts] #34377: tortoiseHG port has incompatible mercurial version

MacPorts noreply at macports.org
Thu Jun 14 12:17:50 PDT 2012


#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


More information about the macports-tickets mailing list