From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Git mirrors Date: Thu, 13 Oct 2011 10:02:57 +0200 Message-ID: <83ty7d2ua6.fsf@gnu.org> References: <8762k095n4.fsf@lifelogs.com> <871uuksdxi.fsf@lifelogs.com> <83lissxj9a.fsf@gnu.org> <87k48by7ex.fsf@lifelogs.com> <83sjmywqc6.fsf@gnu.org> <877h49evsi.fsf@wanadoo.es> <83wrc93m42.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1318492994 3505 80.91.229.12 (13 Oct 2011 08:03:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 13 Oct 2011 08:03:14 +0000 (UTC) Cc: emacs-devel@gnu.org To: John Wiegley Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 13 10:03:06 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 1REGFs-0003TO-PQ for ged-emacs-devel@m.gmane.org; Thu, 13 Oct 2011 10:03:04 +0200 Original-Received: from localhost ([::1]:57503 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REGFr-0004JW-U7 for ged-emacs-devel@m.gmane.org; Thu, 13 Oct 2011 04:03:03 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:46492) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REGFp-0004JE-7J for emacs-devel@gnu.org; Thu, 13 Oct 2011 04:03:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1REGFl-0003YA-63 for emacs-devel@gnu.org; Thu, 13 Oct 2011 04:03:01 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:33020) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1REGFk-0003QS-Tl for emacs-devel@gnu.org; Thu, 13 Oct 2011 04:02:57 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LSZ00D00VGBY600@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Thu, 13 Oct 2011 10:02:55 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.17.178]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LSZ00D23VOUXY40@a-mtaout23.012.net.il>; Thu, 13 Oct 2011 10:02:55 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.175 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:145105 Archived-At: > From: John Wiegley > Date: Wed, 12 Oct 2011 17:35:45 -0500 > > >>>>> Eli Zaretskii writes: > > > bzr revision-info cyd@stupidchicken.com-20090609183929-nuq8sa1d8pep960t > > > produces output that is easier to parse: > > > 96032 cyd@stupidchicken.com-20090609183929-nuq8sa1d8pep960t > > Wow. On my VPS, doing this a single time takes 16 seconds. Yes, it's slow. I will file a bug against it. > Is there not a better to do this? Yes, there is: don't. As I already wrote, there's no need for you to do this translation at all. It is enough to provide the bzr revision-id that corresponds to each git sha1. Any Emacs developer who wants to see the details of the revision can use the revision-id directly, or convert it to revno if she wants. No need for your scripts to do that. Would that solve the problem?