aggregating subproject branches with bzr

Darren Dale dsdale24 at gmail.com
Wed Feb 4 16:10:15 GMT 2009


On Wed, Feb 4, 2009 at 10:26 AM, Alexander Belchenko <bialix at ukr.net> wrote:

> Darren Dale пишет:
>
>> I'm new to this list but I've been using bzr and launchpad frequently for
>> a while now. Thank you for making such excellent tools!
>>
>> I have a project that I would like to break up into several independently
>> developed subprojects. Each is useful on its own and I would like to make
>> them available independently. I think that part is not difficult.
>>
>
> You can do this manually (and therefore break the history) or via "split"
> command.
>
>
>  Then I'd like to configure a master bzr branch that pulls in a branch from
>> each of the subprojects, and tracks changes in each of the subproject
>> branches. Is this possible with bzr?
>>
>
> If you want just have one integral branch and merge (not pull) the changes
> there -- yes, it's possible.
>
> First time you should merge your subprojects branches into integral branch
> with command:
>
> bzr merge -r0..-1 ../subproject-a
>
> And then perhaps move subproject files to some subdir.
> Next time you can merge you subproject branch simply by
>
> bzr merge ../subproject-a
>
> This is not ideal (although working) solution.
>
> May be nested trees will help you there but they're not implemented yet,
> but very likely will be soon.
>
> As Marius suggested there is separate plugin (scmproj), also it's at alpha
> stage now.
>
> Nested trees and scmproj does not require to merge subproject branches back
> to integral branch, but instead track subproject branches as is.
>
>
Thank you very much for the detailed response, this is exactly what I was
looking for, but I wasn't familiar with the lingo so I wasn't making mush
progress tracking down information. I think what you describe is really what
I want, to track the subproject branches without actually merging them back
into the integral project.

Will your scmproj project be orthogonal to the native nested trees support,
or do you envision using the native trees once they become available?

Thanks again,
Darren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20090204/e45f8b8c/attachment-0001.htm 


More information about the bazaar mailing list