Opened 12 years ago

Closed 12 years ago

#32447 closed defect (duplicate)

tortoisehg @2.1.2_0 does not work with mercurial @2.0_0

Reported by: athundt@… Owned by: guido@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: tortoisehg

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Output of my shell session and the errors:

$ port -v
MacPorts 2.0.3
Entering interactive mode... ("help" for help, "quit" to quit)
 > quit
Goodbye

$ sudo port install tortoisehg
--->  Computing dependencies for tortoisehg
--->  Dependencies to be installed: mercurial
--->  Fetching archive for mercurial
--->  Attempting to fetch mercurial-2.0_0.darwin_10.x86_64.tbz2 from http://packages.macports.org/mercurial
--->  Fetching mercurial
--->  Verifying checksum(s) for mercurial
--->  Extracting mercurial
--->  Configuring mercurial
--->  Building mercurial
--->  Staging mercurial into destroot
--->  Installing mercurial @2.0_0
--->  Activating mercurial @2.0_0
--->  Cleaning mercurial
--->  Fetching archive for tortoisehg
--->  Attempting to fetch tortoisehg-2.1.2_0.darwin_10.noarch.tbz2 from http://packages.macports.org/tortoisehg
--->  Fetching tortoisehg
--->  Verifying checksum(s) for tortoisehg
--->  Extracting tortoisehg
--->  Applying patches to tortoisehg
--->  Configuring tortoisehg
--->  Building tortoisehg
--->  Staging tortoisehg into destroot
--->  Installing tortoisehg @2.1.2_0
--->  Activating tortoisehg @2.1.2_0
--->  Cleaning tortoisehg
$ thg log
Traceback (most recent call last):
  File "/opt/local/bin/thg", line 52, in <module>
    from mercurial import demandimport
ImportError: No module named mercurial

$ hg --version
Mercurial Distributed SCM (version 2.0)
(see http://mercurial.selenic.com for more information)

Copyright (C) 2005-2011 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
nrec-012115-wv:unified ahundt$ 

Change History (4)

comment:1 Changed 12 years ago by larryv (Lawrence Velázquez)

Tortoisehg can’t find Mercurial because it installs under a different Python tree. tortoisehg uses Python 2.6; mercurial uses 2.7. Someone has to either provide a Python 2.6 version of Mercurial, or update tortoisehg to use Python 2.7.

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to guido@…
Port: tortoisehg added

Please use WikiFormatting.

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Duplicate of #29498.

comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.