Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify branches in all rosinstall files #2

Open
matthiashh opened this issue Oct 16, 2019 · 1 comment
Open

Specify branches in all rosinstall files #2

matthiashh opened this issue Oct 16, 2019 · 1 comment

Comments

@matthiashh
Copy link

This is one of the things, I wonder that I didn't run into earlier.

I just noticed that if one checks out a branch through a rosinstall file, e.g.

- git: {local-name: libs/skiros2/skiros2, uri: '[email protected]:robotlab/rvmi/skiros2.git', version: 'develop'}

and then use another rosinstall file that doesn't specify a branch

- git: {local-name: libs/skiros2/skiros2, uri: '[email protected]:robotlab/rvmi/skiros2.git'}

it doesn't revert back to master, but stay in the previous branch and just checks if the repo exists.
I will specify master branches now, you could consider doing the same.

@matthiashh
Copy link
Author

Of course this comes at the cost that every time you update your checked out branches are overwritten.
But the update script doesn't switch branches in rvmi_workspace_setup before applying a rosinstall file, so one could just make a branch here that has a rosinstall file with the correct branches one is working on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant