role of the mirror branch

Yoshihara Tadafumi tada3 at aioros.ocn.ne.jp
Mon Jun 15 00:03:17 BST 2009


Thanks for clearing my head.
I understand that the network connection makes difference
between the two ways.

Tada

On Fri, Jun 12, 2009 at 11:49 AM, Yoshihara
Tadafumi<tada3 at aioros.ocn.ne.jp> wrote:
> Hello,
>
> I started to use Bazaar in my team and I encountered
> the question, "why do we need the mirror branch?"
>
> In 6.2 of the user guide recommends to create a local
> mirror branch first and create task branches from it.
> But I think you can create task branches from the trunk
> branch on the server. And if you merge it with the server
> trunk branch, the workflow would be equivalent with the one
> described in 6.2 of the user guide.
> The work flow would be like this:
>
> ?% bzr branch xxx/ABC/trunk ? ABC-bug123
> ?% cd BAC-bug123
> ? (work, work, work)
> ?% bzr merge
> ?% bzr commit
> ?% bzr push xxx/ABC/trunk
>
> First, I thought that you can save the resource used by
> the shared repository with the mirror branch style. But as far
> as the total file size of ".bzr", the above "direct task branch"
> style consumes the same amount disk size.
>
> Is there any other reasons to create a mirror branch on the local
> machine?
>



More information about the bazaar mailing list