launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #07649
Re: importing non-trunk branches from git/hg
-
To:
Robert Collins <robertc@xxxxxxxxxxxxxxxxx>
-
From:
John Arbash Meinel <john@xxxxxxxxxxxxxxxxx>
-
Date:
Fri, 15 Jul 2011 08:20:17 +0200
-
Cc:
Launchpad Community Development Team <launchpad-dev@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<CAJ3HoZ1PrFY0m94+x=N0J2x16g+Jh8fJtCsX-Yh9vEFrzDm+JA@mail.gmail.com>
-
User-agent:
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.18) Gecko/20110616 Lightning/1.0b2 Thunderbird/3.1.11
-----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