I would like to import an arbitrary GIT branch (NOT master
) into a Bazaar repo on Launchpad, but when requesting a new code import Launchpad by default imports the HEAD
of the master
branch. So how can I import, for example, the 2.1.x
branch of the LyX GIT repository, if the URL for the repo is git://git.lyx.org/lyx
?
To import the 2.1.x
branch of the LyX GIT repo, when requesting a new code import on Launchpad you need to append ,branch=$NAME
to the GIT repo URL. So in this case it would be:
git://git.lyx.org/lyx,branch=2.1.x
This feature doesn't seem to be documented on Launchpad's help page for VcsImports.