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: bzr repository ready? Date: Mon, 23 Nov 2009 05:34:26 +0100 Message-ID: <87r5rphnal.fsf@telefonica.net> References: <87zl6vskq0.fsf@red-bean.com> <874op07kb0.fsf@red-bean.com> <87639fr3w7.fsf@red-bean.com> <87vdhfpil2.fsf@red-bean.com> <87einvxy9c.fsf@red-bean.com> <20091118230952.GB908@muc.de> <87my2jw05z.fsf@red-bean.com> <83skc9pbf7.fsf@gnu.org> <87iqd5vw5n.fsf@red-bean.com> <83hbsop394.fsf@gnu.org> <87hbsm414e.fsf@telefonica.net> <87vdh2gc5x.fsf@telefonica.net> 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 1258951024 25603 80.91.229.12 (23 Nov 2009 04:37:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Nov 2009 04:37:04 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 23 05:36:58 2009 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 1NCQfY-000060-1J for ged-emacs-devel@m.gmane.org; Mon, 23 Nov 2009 05:36:56 +0100 Original-Received: from localhost ([127.0.0.1]:54380 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCQfX-0006n8-EE for ged-emacs-devel@m.gmane.org; Sun, 22 Nov 2009 23:36:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCQfR-0006mu-LE for emacs-devel@gnu.org; Sun, 22 Nov 2009 23:36:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCQfN-0006mR-4f for emacs-devel@gnu.org; Sun, 22 Nov 2009 23:36:49 -0500 Original-Received: from [199.232.76.173] (port=53019 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCQfN-0006mO-0s for emacs-devel@gnu.org; Sun, 22 Nov 2009 23:36:45 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:41988) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NCQfM-0008UT-G4 for emacs-devel@gnu.org; Sun, 22 Nov 2009 23:36:44 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.50) id 1NCQfH-0008TB-81 for emacs-devel@gnu.org; Mon, 23 Nov 2009 05:36:39 +0100 Original-Received: from 83.red-83-40-117.dynamicip.rima-tde.net ([83.40.117.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Nov 2009 05:36:39 +0100 Original-Received: from ofv by 83.red-83-40-117.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Nov 2009 05:36:39 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 95 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 83.red-83-40-117.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:D7udBYs74HcMgUbsBtXbdohgyHw= 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:117556 Archived-At: Óscar Fuentes writes: >>> Besides, you usually are interested on one or two branches, >>> not on the whole repository. >> >> The time it takes to "bzr clone" a single branch from the Emacs >> repository is many times larger than downloading the tarball containing >> every single banch. > > Uh, I forgot how much `bzr branch' sucks for cloning large branches > across the internet. Just checked again: oscar@qcore:~/dev/other/$ bzr init-repo bzr-emacs oscar@qcore:~/dev/other/$ cd bzr-emacs oscar@qcore:~/dev/other/bzr-emacs$ time bzr branch http://bzr.savannah.gnu.org/r/emacs/trunk Branched 98737 revision(s). real 22m59.636s user 9m49.320s sys 0m5.440s then cloned another branch: oscar@qcore:~/dev/other/bzr-emacs$ time bzr branch http://bzr.savannah.gnu.org/r/emacs/multi-tty Branched 77736 revision(s). real 2m15.748s user 0m8.280s sys 0m1.010s It could be much better, but it is not unreasonable for an operation that you need to do only once. The most frustrating part of the cloning process is that the progress info that bzr gives is pretty much useless, so the user has no clue about how much time it will take. I used bzr 2.0 on Kubuntu 9.10 x86_64, with an Intel Q6600 CPU 2.4 GHz, 8 GB RAM, ADSL 6 Mb/s (max download speed ~ 620 KB/s), ext3 filesystem, python 2.6.4. bzr dowloaded approx. 260 MB of data and took 10 minutes of CPU time for the first clone using just a little bit more than 1 GB of RAM. What took a really long time for such a simple operation was oscar@qcore:~/dev/other/bzr-emacs$ time bzr branches http://bzr.savannah.gnu.org/r/emacs Boehm-GC Boehm-versions DAVELOVE EMACS_21_1_RC EMACS_22_BASE EMACS_23_1_RC FLYSPELL ILYA NewVC-fileset URL VENDOR XFT_JHD_BRANCH branch-5_8 cedet-branch custom_themes emacs-bidi emacs-unicode emacs-unicode-2 font-backend fx-branch gerd_big gerd_dbe gerd_defvaralias glibc-2_0_x gnus-5_10-branch lexbind master-UNNAMED-BRANCH multi-tty patches_21_0 rmail-mbox-branch test2 trunk ttn-vms-21-2-stash ttn-vms-21-3-stash unicode-xft real 5m19.574s user 0m1.290s sys 0m0.070s BTW, there is quite a bit of junk there. Including all that stuff on a tarball can confuse newcomers, or at least force them to do some work cleaning their local repository. -- Óscar