[ros-users] Experimental Results Repository

Ivan Dryanovski ivan.dryanovski at gmail.com
Thu Oct 7 01:22:06 UTC 2010

I'm sorry to go back to this thread, but I am still having issues with
the rosinstall tool.

I have the following lines in my rosconfig file that I am passing to
ROS Install:

- git:
    uri: http://robotics.ccny.cuny.edu/git/ccny-ros-exp.git
    version: master
    local-name: ccny-ros-exp
- git:
    uri: http://robotics.ccny.cuny.edu/git/ccny-ros-pkg.git
    version: ICRA2011
    local-name: ccny-ros-pkg

The first on works fine. When the installer attempts to check out the
he second one, it produces this error:

fatal: git checkout: updating paths is incompatible with switching
Did you intend to checkout 'ICRA2011' which can not be resolved as commit?
ERROR: Failed to install tree '/home/idryanov/icra2011_ccny/ccny-ros-pkg'
 vcs not setup correctly.

A quick search on the issue gives me this:


The comments suggest pulling first, and then checking out the desired
branch. How does rosinstall handle it?
Any help would be appreciated


On Wed, Sep 29, 2010 at 7:54 PM, Brian Gerkey <gerkey at willowgarage.com> wrote:
> On Wed, Sep 29, 2010 at 2:57 PM, Ivan Dryanovski
> <ivan.dryanovski at gmail.com> wrote:
>> I ran into an svn versioning issue.
>> I am using the following command to get the svn revisions:
>> ./unwrap_externals.py
>> https://code.ros.org/svn/ros-pkg/externals/latest/ >
>> icra2011_dryanovski.rosconfig
> You probably want to unwrap the cturtle external instead, e.g.:
> ./unwrap_externals.py
> https://code.ros.org/svn/ros-pkg/externals/distro/cturtle/all >
> icra2011_dryanovski.rosconfig
> In general, you'd want to unwrap the external from which you'd checked
> out the code.
> Now that I think about it, there's a potential mismatch between the
> version currently pointed to by the external and the version that was
> used.    A while back, I wrote a script to rummage over your
> ROS_PACKAGE_PATH, and produce a rosinstall file that would check out
> the same stuff that you currently have checked out (assuming that it
> all came from SVN).  I can't find that script now, but it would be
> easy to reproduce.
> But still we're talking about doing work from a source-based install,
> which is (hopefully) becoming less common as the binary packages are
> gaining traction (at least for people running Ubuntu).
> It seems like, to record the software that makes up your experimental
> environment, you need to know:
>  * the versions of all released stacks in use
>  * the svn/git/bzr/hg URI and revision/branch/hash info for everything else.
> (To be complete, you could record the version of the Linux kernel and
> so on, but we have to bottom out somewhere.)  So perhaps we need a
> tool that gathers that information....
>        brian.
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users

More information about the ros-users mailing list