ros-industrial / industrial_core

ROS-Industrial core communication packages (http://wiki.ros.org/industrial_core)
154 stars 181 forks source link

When used with vcstool, (ros2_msgs_only branch), error message that repo is different #293

Open b-adkins opened 3 months ago

b-adkins commented 3 months ago

This is a pretty low-priority bug (the error message is harmless), but I think it's still good to have a record of it.

I work on a project that builds a number of third-party ROS libraries from source. We use vcstool to manage the repos and versions.

When invoked with this command on an existing ros2 workspace containing the third-party repos...

vcs import < ../ros2_ws/wheely/thirdparty.repos

... this error occurs. It is the only repo out of a dozen to have this kind of error.

=== ./industrial_core (git) ===
Path already exists and contains a different repository

From the .repos file:

  industrial_core:
    type: git
    url: git@github.com:ros-industrial/industrial_core.git
    version: ros2_msgs_only

This entry looks exactly like that of the other git repos.

I checked the industrial_core directory. The branch is indeed ros2_msgs_only, at its HEAD. There are no extra files added by the build, and there isn't even a .gitignore file to hide them.

I'm not sure what's going on.

Environment