dirk-thomas / vcstool

Vcstool is a command line tool designed to make working with multiple repositories easier
Apache License 2.0
398 stars 85 forks source link

updating the workspace based on updated repo file #276

Open fmessmer opened 1 month ago

fmessmer commented 1 month ago

I'm missing a feature similar to wstool update

I have a workspace initially imported based on a repo file. Now the repo files changes, e.g.:

How would I keep my workspace on the filesystem (because I might have added origins, branches and other changes while working with the workspace) but still checkout the latest origin/branch/hash of the repos and/or clone missing repos.

For wstool update, this was possible. i.e. other remotes and branches were kept, but the new info in the rosinstall file was used to update the workspace to what is described in the rosinstall file

Does this kind of functionality exist in vcstool? How can I achieve it?

fmessmer commented 1 month ago

I found the following related issues:

so vcs pull --nested would update things - if not using haches

but I'm still missing a tool to update my workspace to new checkout new hashes if those changed in the repo file...