From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Giorgos Keramidas Newsgroups: gmane.emacs.devel Subject: Re: Emacs Bazaar repository Date: Fri, 14 Mar 2008 17:02:29 +0200 Message-ID: <20080314150229.GA7848@kobe.laptop> References: <87skyvse7k.fsf@xmission.com> <87fxuvl0gi.fsf@offby1.atm01.sea.blarg.net> <87bq5j19ok.fsf@workhorse.earlhome> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205507046 24679 80.91.229.12 (14 Mar 2008 15:04:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Mar 2008 15:04:06 +0000 (UTC) Cc: Jason Earl , Martin Pool , emacs-devel@gnu.org To: Jonathan Lange Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Mar 14 16:04:31 2008 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 1JaBRw-0001kJ-9q for ged-emacs-devel@m.gmane.org; Fri, 14 Mar 2008 16:04:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JaBRK-0008WS-66 for ged-emacs-devel@m.gmane.org; Fri, 14 Mar 2008 11:03:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JaBRG-0008TV-4y for emacs-devel@gnu.org; Fri, 14 Mar 2008 11:03:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JaBRB-0008H3-Cr for emacs-devel@gnu.org; Fri, 14 Mar 2008 11:03:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JaBRB-0008Gu-A9 for emacs-devel@gnu.org; Fri, 14 Mar 2008 11:03:13 -0400 Original-Received: from igloo.linux.gr ([62.1.205.36]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JaBRA-0001Xh-EA for emacs-devel@gnu.org; Fri, 14 Mar 2008 11:03:13 -0400 Original-Received: from kobe.laptop (vader.bytemobile-rio.ondsl.gr [83.235.57.37]) (authenticated bits=128) by igloo.linux.gr (8.14.2/8.14.2/Debian-3) with ESMTP id m2EF2bqX023668 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 14 Mar 2008 17:02:48 +0200 Original-Received: from kobe.laptop (kobe.laptop [127.0.0.1]) by kobe.laptop (8.14.2/8.14.2) with ESMTP id m2EF2VBk011546; Fri, 14 Mar 2008 17:02:31 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Original-Received: (from keramida@localhost) by kobe.laptop (8.14.2/8.14.2/Submit) id m2EF2Ttu011541; Fri, 14 Mar 2008 17:02:29 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Content-Disposition: inline In-Reply-To: X-MailScanner-ID: m2EF2bqX023668 X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-3.976, required 5, autolearn=not spam, ALL_TRUSTED -1.80, AWL 0.42, BAYES_00 -2.60) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 1) 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:92569 Archived-At: On 2008-03-14 10:46, Jonathan Lange wrote: > On Thu, Mar 13, 2008 at 7:04 PM, dhruva wrote: > > Hi, > > I got bzr setup and running on my M$-XP box. I got the bzr repo of > > emacs (by downloading the emacs.tar.gz) and updated it to the latest. > > I wanted to make sure the recent changesets are pulled in. I typed > > "bzr log -l 10". It took ~24 seconds (elapsed time from perfmon) > > consistently. Whereas Mercurial (hg log -l 10) on the trunk to 2 > > seconds (and the mercurial repo is on a CIFS mounted drive while bzr > > repo was on local disk). GIT was fastest though even on a CIFS mounted > > system. > > > > I was a bit curious about this so I asked my friendly neighbourhood > Bazaar hacker (CCd). He tells me that comparing 'bzr log' to 'hg log' > is like comparing apples with ... umm, apple trees. Bazaar's log > displays all merges and thus has to do calculations on the whole > ancestry graph. Mercurial's log just displays the mainline history. > 'bzr log --line' is a better comparison. The `glog' extension of Mercurial displays an ancestry graph and it can show the last 3 changesets in less than 1/3 of a second, on a system that is currently building the CVS 'HEAD' of FreeBSD and the CVS 'HEAD' of Emacs itself: keramida@kobe:/hg/emacs/gker$ /usr/bin/time hg glog -l3 @ changeset: 1988:601be9d00890 |\ branch: keramida | | tag: tip | | parent: 1724:25ffb390e254 | | parent: 1987:c2bdce21cc28 | | user: Giorgos Keramidas | | date: Fri Mar 14 16:48:24 2008 +0200 | | summary: Merge from HEAD | | | o changeset: 1987:c2bdce21cc28 | | branch: HEAD | | user: bastien1 | | date: Fri Mar 14 10:13:27 2008 +0000 | | summary: * textmodes/flyspell.el (nxml-mode): Add the right. | | | o changeset: 1986:414912c00a1f | | branch: HEAD | | user: miles | | date: Fri Mar 14 10:06:41 2008 +0000 | | summary: Add arch tagline | | 0.25 real 0.15 user 0.08 sys keramida@kobe:/hg/emacs/gker$ I'm not sure if `wait, because we are calculating the changeset ancestry' is a valid reason for taking too long to show the last two or three log entries... > Definitely. I hate waiting for anything, computers most of all. I'll > hassle Martin and try to get this fixed. Alternatively, the Bazaar > project welcomes patches with open arms. :) That's cool. If Emacs converts to bzr, we need all the speed we can get. The CVS repository of Emacs is one of the CVS repositories with the longest uninterrupted history I have ever seen :)