[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Surely 'bzr branch' shouldn't be this slow?

From: Óscar Fuentes
Subject: Re: Surely 'bzr branch' shouldn't be this slow?
Date: Wed, 06 Jan 2010 15:06:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux)

Jason Rumney <address@hidden> writes:

> Alan Mackenzie wrote:
>>>> Having created a local copy of the bzr repository in my directory
>>>> ~/emacs/emacs.bzr/trunk, I then went to create the now familiar
>>>> quickfixes branch from it, with this command:
>>>>     $ time bzr branch emacs.bzr/trunk/ quickfixes/
>> Ah, right.  The .../quickfixes/ needs to be physically under .../trunk,
>> not just "related" to it.  Thanks!
> I fear you may be heading for another 39 minute wait now.  quickfixes
> needs to be under emacs/emacs.bzr,
> alongside trunk/, not under it.

As far as the directories containing the branches are under the
directory that acts as the shared repository, you will benefit from the
fast operations the shared branch brings in. You can move and rename
branches within the shared repository (as long as they are not
referenced by other branches: if you work with the recommended
decentralized workflow, renaming `trunk' will require some tweaking on
the other branches.)

39 minutes for branching outside the shared repository corresponds to a
slow machine. It is 10 minutes on a GNU/Linux 2.4 GHz 64 bits
worksation-class machine. Bazaar is no speed daemon, but in this case it
has to process more than 200 MB of data (not merely copying it around.)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]