Opened 12 years ago

Closed 12 years ago

#32902 closed defect (fixed)

mercurial: hg command not available

Reported by: mmcwilliam@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: hmng@…, dulmandakh@…, deric@…, ryandesign (Ryan Carsten Schmidt), drkp (Dan Ports)
Port: mercurial

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

After installing murcurial, the hg command is nowhere to be found. I would expect to see it in the /opt/local/bin directory as a number of articles mention when using Mac Ports.

Command:

sudo port install murcurial

Install results:
successful, no errors

Versions:

  • Mac OS X 10.7.2
  • MacPorts 2.0.3
  • mercurial @2.0.1_0 (active)

Does anyone have any ideas why this doesn't work or what I'm doing wrong? Thanks!

Attachments (2)

mercurialInstall.txt (10.7 KB) - added by mmcwilliam@… 12 years ago.
Install log
mercurialContents.txt (61.3 KB) - added by mmcwilliam@… 12 years ago.
Contents

Download all attachments as: .zip

Change History (10)

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

Description: modified (diff)
Keywords: hg removed
Milestone: MacPorts 2.0.4
Owner: changed from macports-tickets@… to deric@…
Port: mercurial added; murcurial removed
Priority: HighNormal
Summary: hg command not available after installing murcurialmercurial: hg command not available

It's there on my system. What's the output on your system of:

port contents mercurial

Changed 12 years ago by mmcwilliam@…

Attachment: mercurialInstall.txt added

Install log

Changed 12 years ago by mmcwilliam@…

Attachment: mercurialContents.txt added

Contents

comment:2 Changed 12 years ago by mmcwilliam@…

Attached install log and port contents. There is a file called hg in a python directory, but nothing in /opt/local/bin. From what I can tell the install was successful. It was the first port I installed on a brand new computer after a fresh install and self update of mac ports.

comment:3 Changed 12 years ago by hmng@…

Cc: hmng@… added

Cc Me!

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

Cc: dulmandakh@… added

Has duplicate #32912.

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

Cc: deric@… ryandesign@… added
Owner: changed from deric@… to jmr@…

Confirmed: if I rebuild mercurial now, ${prefix}/bin/hg is gone. Nothing has changed in the mercurial port, but the python portgroup has had changes lately. It seems r88880 broke this.

comment:6 Changed 12 years ago by drkp (Dan Ports)

Cc: dports@… added

Cc Me!

comment:7 Changed 12 years ago by jmroot (Joshua Root)

Owner: changed from jmr@… to macports-tickets@…

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

Resolution: fixed
Status: newclosed

It looks like r89021 fixed this. You'll have to force a rebuild of mercurial:

sudo port -n upgrade --force mercurial
Note: See TracTickets for help on using tickets.