vcstool icon indicating copy to clipboard operation
vcstool copied to clipboard

Invocation of command 'import' on client 'hg' failed

Open liaoran opened this issue 2 years ago • 2 comments

OS: Ubuntu22.04 LTS Python version: 3.10.4 ROS Version: ROS rolling Error Information:

vcs import src < Gazebo9.repos
EEEEEE
=== src/gazebo (hg) ===
Invocation of command 'import' on client 'hg' failed: AssertionError: Could not find 'hg' executable (/usr/lib/python3/dist-packages/vcstool/clients/hg.py:328)
=== src/ign-cmake (hg) ===
Invocation of command 'import' on client 'hg' failed: AssertionError: Could not find 'hg' executable (/usr/lib/python3/dist-packages/vcstool/clients/hg.py:328)
=== src/ign-math (hg) ===
Invocation of command 'import' on client 'hg' failed: AssertionError: Could not find 'hg' executable (/usr/lib/python3/dist-packages/vcstool/clients/hg.py:328)
=== src/ign-msgs (hg) ===
Invocation of command 'import' on client 'hg' failed: AssertionError: Could not find 'hg' executable (/usr/lib/python3/dist-packages/vcstool/clients/hg.py:328)
=== src/ign-transport (hg) ===
Invocation of command 'import' on client 'hg' failed: AssertionError: Could not find 'hg' executable (/usr/lib/python3/dist-packages/vcstool/clients/hg.py:328)
=== src/sdformat (hg) ===
Invocation of command 'import' on client 'hg' failed: AssertionError: Could not find 'hg' executable (/usr/lib/python3/dist-packages/vcstool/clients/hg.py:328)

liaoran avatar Jul 26 '22 07:07 liaoran

The error message says "Could not find 'hg' executable" so I'm guessing that hg simply isn't installed. Install it by running:

sudo apt-get install -y mercurial

christophebedard avatar Jul 26 '22 17:07 christophebedard

The error message says "Could not find 'hg' executable" so I'm guessing that hg simply isn't installed. Install it by running:

sudo apt-get install -y mercurial

Thanks!

liaoran avatar Aug 25 '22 06:08 liaoran