dirk-thomas / vcstool

Vcstool is a command line tool designed to make working with multiple repositories easier
Apache License 2.0
410 stars 87 forks source link

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

Open liaoran opened 2 years ago

liaoran commented 2 years ago

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)
christophebedard commented 2 years ago

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
liaoran commented 2 years ago

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!