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 00:01:49 +0200 Message-ID: <83wrc93m42.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> Reply-To: Eli Zaretskii 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 1318457210 1646 80.91.229.12 (12 Oct 2011 22:06:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 12 Oct 2011 22:06:50 +0000 (UTC) Cc: 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 00:06:46 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 1RE6wl-0005Io-VW for ged-emacs-devel@m.gmane.org; Thu, 13 Oct 2011 00:06:44 +0200 Original-Received: from localhost ([::1]:39387 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE6wl-0006Ud-Df for ged-emacs-devel@m.gmane.org; Wed, 12 Oct 2011 18:06:43 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:47307) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE6wi-0006TX-A2 for emacs-devel@gnu.org; Wed, 12 Oct 2011 18:06:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RE6wh-0001Fc-Dl for emacs-devel@gnu.org; Wed, 12 Oct 2011 18:06:40 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:35695) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RE6wh-0001FK-3G for emacs-devel@gnu.org; Wed, 12 Oct 2011 18:06:39 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LSZ008003N9KN00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Thu, 13 Oct 2011 00:01:49 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([84.229.17.178]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LSZ0071M3UZT5E0@a-mtaout22.012.net.il>; Thu, 13 Oct 2011 00:01:49 +0200 (IST) In-reply-to: <877h49evsi.fsf@wanadoo.es> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.172 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:145068 Archived-At: > From: =C3=93scar Fuentes > Date: Wed, 12 Oct 2011 23:37:17 +0200 >=20 > > I looked at the two marks tables, but I'm not familiar enough wit= h Bzr to know > > the simple incantation to turn > > "cyd@stupidchicken.com-20090609183929-nuq8sa1d8pep960t" into a re= vision > > number. With that knowledge, I can do it easily. >=20 > There is no easy way, AFAIK. In bzr you can simply do >=20 > bzr log -r cyd@stupidchicken.com-20090609183929-nuq8sa1d8pep960t bzr revision-info cyd@stupidchicken.com-20090609183929-nuq8sa1d8pep= 960t produces output that is easier to parse: 96032 cyd@stupidchicken.com-20090609183929-nuq8sa1d8pep960t > Add to that that the same bzr revision-id may correspond to > different revision numbers, one per branch where the revision is > present, so you would need to repeat the `log' command on every bra= nch > and output a pair (branch-name, revision-id). Although usually the = Emacs > hackers are interested on two branches (`trunk' and the maintenance > branch, what was `emacs-23' until recently, `emacs-24' after the > release.) it is still a lot of work to do. It is good enough to map git sha1 to bzr revision-id; that eliminates the dependency on the branch. All the bzr commands that accept revision numbers also accept revision-ids.