How to manage multiple branches of the same git repository with wstool?
Hi everyone,
I am looking at wstool to systematically update my local git repositories, but I am wondering how to manage multiple branches of the same repository.
For example, if I want wstool to help me pull the latest changes from the navigation stack on both the hydro-devel
branch and the navigation-1.8
branch, and add them to the respective branches of my local navigation stack repository, how can I do that?
From what I understand, if you create one 'navigationstack' entry in your .rosinstall file, you can only associate one --version
tag to it.
Thanks,
Edit : to clarify my initial question : I have used wstool update
to set up or update a target (robot) in a specific configuration, in which case we only need to pull one branch for each repository we need.
Since I find it a convenient tool, I was wondering if it could also facilitate the task of pulling changes from multiple branches for each repository, as you are coding on your development machine for instance.
Let's say a colleague has started development on a new repository Rep_A and he has already created three branches Branch_A, Branch_B and Branch C. Would it be possible, by configuring wstool, to clone Rep_A on your machine, create local branches tracking the 3 remote branches and pull changes on all of them? Something like this I guess : http://stackoverflow.com/questions/10...
Can't you have two navigation stack entries in your .rosinstall ?
Yes but how do you link them to the same local git repository (i.e same folder)?