From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: Git mirrors Date: Wed, 12 Oct 2011 18:57:35 -0500 Message-ID: References: <871uuksdxi.fsf@lifelogs.com> <83lissxj9a.fsf@gnu.org> <87k48by7ex.fsf@lifelogs.com> <83sjmywqc6.fsf@gnu.org> <877h49evsi.fsf@wanadoo.es> <83wrc93m42.fsf@gnu.org> <87pqi1dd2z.fsf@wanadoo.es> <87lispdbny.fsf@wanadoo.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1318463869 8040 80.91.229.12 (12 Oct 2011 23:57:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 Oct 2011 23:57:49 +0000 (UTC) Cc: Lars Ingebrigtsen , emacs-devel@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 13 01:57:45 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RE8gC-0003GG-9y for ged-emacs-devel@m.gmane.org; Thu, 13 Oct 2011 01:57:44 +0200 Original-Received: from localhost ([::1]:58943 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE8gB-0004sP-TO for ged-emacs-devel@m.gmane.org; Wed, 12 Oct 2011 19:57:43 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE8g9-0004sK-H0 for emacs-devel@gnu.org; Wed, 12 Oct 2011 19:57:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RE8g8-00074e-4q for emacs-devel@gnu.org; Wed, 12 Oct 2011 19:57:41 -0400 Original-Received: from mail-iy0-f169.google.com ([209.85.210.169]:65174) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE8g8-00074Z-1o for emacs-devel@gnu.org; Wed, 12 Oct 2011 19:57:40 -0400 Original-Received: by iagj37 with SMTP id j37so722485iag.0 for ; Wed, 12 Oct 2011 16:57:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=rvrZ3boA8qU4AX2cz4crTyO6iwvXz4Vu9yF8GIY+ZsE=; b=NQP3VfcL5TWp/CYzLMPUfHvx8pTxWF1iOg5gCR4GizgaXK/WWu0x1L6vp5E3aIcuUN XJubXYTdsb953Bek/YREcFJ+4fnyAe2Oo8VPogkGusXlEUs6Cj2R+XyJKKxSm911Peiz wQz5O6of3N8V7tnMapRMUntX2oarfAuGgxMPA= Original-Received: by 10.42.132.10 with SMTP id b10mr2539278ict.18.1318463858130; Wed, 12 Oct 2011 16:57:38 -0700 (PDT) Original-Received: from vulcan.localhost (c-98-215-105-167.hsd1.il.comcast.net. [98.215.105.167]) by mx.google.com with ESMTPS id jm11sm9509244ibb.1.2011.10.12.16.57.36 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 12 Oct 2011 16:57:37 -0700 (PDT) Original-Received: by vulcan.localhost (Postfix, from userid 501) id 6D6135551495; Wed, 12 Oct 2011 18:57:35 -0500 (CDT) In-Reply-To: <87lispdbny.fsf@wanadoo.es> (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Thu, 13 Oct 2011 01:37:21 +0200") User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.210.169 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:145082 Archived-At: >>>>> =C3=93scar Fuentes writes: > Well, if you wish to follow that route, this is the actual command you > should use: > bzr log --show-ids -n 0 > Without the `-n 0', the output only includes the leftmost part of the DAG. > With this command: > bzr log --show-ids -n 0 --short > the number of emitted lines is halved, but it executes about 15% *slower* > and the format is different, not necessarily more difficult to parse. This was still too slow for something that must run on every branch, for ev= ery hour. Instead, I'm making a file available which maps Bzr revision ids to = Git commits: http://ftp.newartisans.com/pub/emacs/commit-map.txt.gz Each individual will have to map Git commits to Bzr revision ids to Bzr rev numbers as needed. I.e., with bash: commit_to_id() { bzr revision-info $(zgrep " $1" commit-map.txt.gz \ | awk '{print $1}') \ | awk '{print $1}' } echo $(commit_to_id f32fa9ed) The other files have been taken down, since they do not add any information. Also, please copy this file to your local machine when you really need to update it. Bandwidth costs and I'm not sure yet how much this will add up. Thanks, John