bzr branch should support bundles

Bug #267781 reported by Vincent Ladeuil
2
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Wishlist
Unassigned

Bug Description

We can do:
bzr init foo & bzr pull -d foo foo.patch
but that's not as natural (and IIRC someone complained that bundles are presented as self-contained branches, so adding support will enhance coherency)

Vincent Ladeuil (vila)
Changed in bzr:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Martin Pool (mbp) wrote :

This would certainly be useful when eg wanting to pick up on some work posted to bundle buggy.

As a workaround, you can init a branch and then pull into it.

I investigated adding this, similarly to what's done in cmd_pull. It could be done by copying a little bit of code that checks first whether there's a bundle there, but it might be nice to instead make bundles act more like readonly branches to avoid duplication.

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 267781] Re: bzr branch should support bundles

On Thu, 2008-11-27 at 02:23 +0000, Martin Pool wrote:
> This would certainly be useful when eg wanting to pick up on some work
> posted to bundle buggy.
>
> As a workaround, you can init a branch and then pull into it.
>
> I investigated adding this, similarly to what's done in cmd_pull. It
> could be done by copying a little bit of code that checks first whether
> there's a bundle there, but it might be nice to instead make bundles act
> more like readonly branches to avoid duplication.
There would be more commands that would benefit from making bundles act
more like readonly branches - some that come to mind are "bzr missing",
"bzr log" and "bzr viz". I've actually tried to run those on bundles in
the past, hoping they would work :-)

Cheers,

Jelmer

--
Jelmer Vernooij <email address hidden> - http://samba.org/~jelmer/
Jabber: <email address hidden>

Revision history for this message
Vincent Ladeuil (vila) wrote :

bundle == read-only stacked branch

kthksbye :)

Revision history for this message
Vincent Ladeuil (vila) wrote :

Note that 'bzr init foo & bzr pull -d foo foo.patch' doesn't set the parent branch nor the target branch as seen in the bundle, that may be nice to have so that the created branch really become a clone of the bundle.

Martin Pool (mbp)
Changed in bzr:
status: Triaged → Confirmed
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.