Does bzr have a partial checkout option aka checkout a subdirectory of a branch?

Asked by BjornW

Hi,

I would like to checkout parts of a branch. Something like this:

bzr co /bzr-repos/trunk/subdirectory/another-sub-directory only-the-last-subdir-is-checkedout-here

In other words: How can I check out parts of a branch?

Thanks in advance!

Question information

Language:
English Edit question
Status:
Solved
For:
Bazaar Edit question
Assignee:
No assignee Edit question
Solved by:
John A Meinel
Solved:
Last query:
Last reply:
Revision history for this message
John A Meinel (jameinel) said :
#1

It does not. In general if you have a large system, you may want to consider
breaking it up into separate branches.

John
=:->

On Mon, Jun 20, 2011 at 11:55 AM, BjornW <
<email address hidden>> wrote:

> New question #162071 on Bazaar:
> https://answers.launchpad.net/bzr/+question/162071
>
> Hi,
>
> I would like to checkout parts of a branch. Something like this:
>
> bzr co /bzr-repos/trunk/subdirectory/another-sub-directory
> only-the-last-subdir-is-checkedout-here
>
> In other words: How can I check out parts of a branch?
>
> Thanks in advance!
>
> --
> You received this question notification because you are an answer
> contact for Bazaar.
>

Revision history for this message
BjornW (bjornw) said :
#2

Thanks for the quick reply John.

Could you explain how you would do this? How do I combine the different branches for deployment (I use bzr mainly for webapplications)?

grtz
BjornW

Revision history for this message
Best John A Meinel (jameinel) said :
#3

There are a few ways to do it. A simple script is the most straightforward. There is also
https://launchpad.net/bzr-scmproj
and
https://launchpad.net/bzr-externals

Which let you create a project branch that references other branches.

Revision history for this message
BjornW (bjornw) said :
#4

Thanks John A Meinel, that solved my question.