[Rock-dev] 'autoproj update' always checks out master branch of autoproj subdir
Sylvain Joyeux
sylvain.joyeux at dfki.de
Thu Mar 3 10:20:14 CET 2011
I did find one bug during bootstrapping, where the branch (and for that
matter, any VCS options given on the command line) would not be saved
properly. This would lead the first "autoproj update" to checkout master.
Moreover, "autoproj switch-config" is also buggy, as it does not update
the branch as it should.
Now, after rereading your mail, I'm not entirely sure what you are
experiencing.
The autoproj/manifest file does *not* contain the branch of the master
configuration. It only contains definitions for the "package sets" (i.e.
stuff that lies in autoproj/remotes/)
The VCS definition for the master configuration is stored in
autoproj/config.yml. You can edit/change this file yourself, but the
preferred way is to do
autoproj switch-config VCSTYPE VCSURL VCSOPTIONS
As a shortcut, if you only want to change VCS options (as e.g. the
branch), the vcs type and URL can be omitted.
autoproj switch-config branch=toolchain-2.3
It is preferred, as autoproj should restore the old configuration if
checking out the new one fails.
More information about the Rock-dev
mailing list