← Back to team overview

launchpad-dev team mailing list archive

Re: importing non-trunk branches from git/hg

 

On Fri, 2011-07-15 at 14:55 +1200, Robert Collins wrote:
> This is currently bug https://bugs.launchpad.net/launchpad/+bug/380871
> but it seems to me that we don't need bzr supporting local colocated
> branches to be able to read from a branch in git or hg - we just need
> something (e.g. the previously discussed ;branch=NAME url parameter)
> to let bzr-git and bzr-hg open a Branch object, and imports should
> work fine AIUI.
> 
> If my understanding is correct, I'd like to make bug 380871 be about
> supporting colocated bzr branch hosting in LP, and move the 'import
> from other branches' to a new and much smaller focused bug.
That works for me.

Another option than putting the branch name in the URL is to use the
"module" variable in code imports to store the colocated branch name.
It's currently only used by CVS imports, but it seems like it would
apply to other things as well.

Cheers,

Jelmer

Attachment: signature.asc
Description: This is a digitally signed message part


References