Ask Your Question

rosinstall upstream

asked 2016-03-17 03:26:37 -0500

Juan gravatar image

updated 2016-03-20 10:16:03 -0500

gvdhoorn gravatar image

I would like to know if .rosinstall can be used to pull from upstream. In doing so, we can get the latest changes from upstream as opposed to local changes that we create from within our own repository...

Is it possible? If so, what is the syntax?

Edit: @al-dev I feel familiar with wtool and its documentation.

The situation is that currently in my git folder I have an address for an upstream remote and an origin remote. wstool seems to compare the uri in the file to that of the origin master remote branch.

When I use wstool I get an error stating that the address in the file and that of my git repository are different...

Prepare updating (version master) to /home/vmrguser/ros/indigo/baxter_ws/src/baxter_examples Url does not match requested.

Feedback is appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-03-18 05:04:08 -0500

al-dev gravatar image

updated 2016-03-20 13:39:54 -0500

@Juan, you can use wstool for that purpose. See for the syntax. Typically, once you have properly configured your list of repositories in your .rosinstall file with their remote URI, you can pull with wstool update in the folder where your file is located ( )

Edit: Now I understand your problem seems related to the fact that wstool uses the origin remote by default. You may want to have a look at this ticket and the discussion therein. In short the suggestions so far are :

  1. try using vcstool instead of wstool
  2. try out this WIP branch if you are willing to keep only one remote, or
  3. make a patch yourself and a pull request...
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2016-03-17 03:26:37 -0500

Seen: 117 times

Last updated: Mar 20 '16