[MacPorts] #72455: mercurial 7.0.2 is badly broken
MacPorts
noreply at macports.org
Fri May 9 20:36:14 UTC 2025
#72455: mercurial 7.0.2 is badly broken
---------------------------+----------------------
Reporter: barracuda156 | Owner: danchr
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version: 2.10.7
Resolution: | Keywords:
Port: mercurial |
---------------------------+----------------------
Comment (by akierig):
Replying to [comment:6 danchr]:
> That’s odd… Could you check the contents of the `destroot`? Is there a
similar `hg` file somewhere? **Does it have the right shebang?**
ah HAH! it does not.
here's the contents of
{{{
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_mercurial/mercurial/work/destroot/opt/local/Library/Frameworks/Python.framework/Versions/3.13/bin/hg
}}}
{{{
#!python
#
# mercurial - scalable distributed SCM
#
# Copyright 2005-2007 Olivia Mackall <olivia at selenic.com>
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
from __future__ import annotations
import os
import sys
try:
from hgdemandimport import tracing
except ImportError:
sys.stderr.write(
"abort: couldn't find mercurial libraries in [%s]\n"
% ' '.join(sys.path)
)
sys.stderr.write("(check your install and PYTHONPATH)\n")
sys.exit(-1)
with tracing.log('hg script'):
# enable importing on demand to reduce startup time
import hgdemandimport
hgdemandimport.enable()
from mercurial import dispatch
dispatch.run()
}}}
--
Ticket URL: <https://trac.macports.org/ticket/72455#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list