vcstools/rosinstall — pull request #30 by tkruse (2012-11-22 10:56:34+00:00)
Title: Extend rpp from setup

for review (code is trivial, but semantics are not):

fix for #29
There is a caveat. The behavior remains same for electric and before,since those do not use setup-file elements.
In Fuerte however, the RPP will change with the patch, because there is a setup-file,and this setup-file also sets the RPP. So with fuerte we get in the simple overlay case:

before the patch:
$ source setup.bash; echo $ROS_PACKAGE_PATH
/opt/ros/fuerte/stacks:/opt/ros/fuerte/share:/opt/ros/fuerte/share/ros
after the patch:
$ source setup.bash; echo $ROS_PACKAGE_PATH
/opt/ros/fuerte/stacks:/opt/ros/fuerte/share:/opt/ros/fuerte/share/ros:/opt/ros/fuerte/share:/opt/ros/fuerte/stacks

This is ugly, but I think it is benign. Not sure how we could fix #29 else.