← Back to team overview

launchpad-dev team mailing list archive

Re: importing non-trunk branches from git/hg

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 7/15/2011 4:55 AM, 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.
> 
> -Rob

I worked on it a little bit with Jelmer. The reason he wants it in core
is because he still uses Transport as his base object. And without
Transport knowing about ";branch=FOO" (or ",branch=FOO") support, then
probing for files under a directory is a bit wonky.
 eg: path/to/repo,branch=foo/.hg/format

I don't think we solved everything, but I do think we made progress on
it at the sprint.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk4f3CEACgkQJdeBCYSNAAOpCACgqHiTZYmkGnlR5IBbZqrv4So1
wtsAnR4zkk/84oQs9MPolJxdEhnGvQIN
=X67b
-----END PGP SIGNATURE-----


Follow ups

References