From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: Surely 'bzr branch' shouldn't be this slow? Date: Sun, 03 Jan 2010 18:59:10 +0100 Message-ID: <87bphbhxxt.fsf@telefonica.net> References: <20100103174743.GB1653@muc.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1262541598 6733 80.91.229.12 (3 Jan 2010 17:59:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 3 Jan 2010 17:59:58 +0000 (UTC) Cc: Alan Mackenzie To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jan 03 18:59:51 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NRUk1-000290-A2 for ged-emacs-devel@m.gmane.org; Sun, 03 Jan 2010 18:59:49 +0100 Original-Received: from localhost ([127.0.0.1]:48792 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRUk1-00069q-Uo for ged-emacs-devel@m.gmane.org; Sun, 03 Jan 2010 12:59:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NRUjv-00068z-OQ for emacs-devel@gnu.org; Sun, 03 Jan 2010 12:59:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NRUjr-00064n-Sh for emacs-devel@gnu.org; Sun, 03 Jan 2010 12:59:43 -0500 Original-Received: from [199.232.76.173] (port=38812 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NRUjr-00064i-Qg for emacs-devel@gnu.org; Sun, 03 Jan 2010 12:59:39 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:41285) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NRUjr-0002Ix-6m for emacs-devel@gnu.org; Sun, 03 Jan 2010 12:59:39 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NRUjk-00023p-J7 for emacs-devel@gnu.org; Sun, 03 Jan 2010 18:59:32 +0100 Original-Received: from 217.red-88-24-214.staticip.rima-tde.net ([88.24.214.217]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jan 2010 18:59:32 +0100 Original-Received: from ofv by 217.red-88-24-214.staticip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 03 Jan 2010 18:59:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 217.red-88-24-214.staticip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.90 (gnu/linux) Cancel-Lock: sha1:y8uOQnngxnnISVbzkXT1ySbrIyw= X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:119315 Archived-At: Alan Mackenzie writes: > Hi, all, > > 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/ > > . This took over 39 minutes at 100% CPU usage. For comparison, a full > build on my machine takes ~33 minutes. > > What on Earth is going on here? Surely creating a branch (which, > essentially, is just copying or linking files) should take at most a few > seconds. > > Is there some configuration setting (or something) I've missed? If you followed the recommended setup, your quickfixes/ branch should be created within emacs.bzr/, which is the shared repo. Branching within a shared repo is much faster because the new branch shares its history with the previous one and the required time is reduced to creating the working tree (the files you edit). Try it. -- Óscar