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: Setting the value of `emacs-bzr-version' also from a git checkout Date: Sat, 12 Oct 2013 23:38:51 +0200 Message-ID: <87ob6uf9uc.fsf@wanadoo.es> References: <87a9is6g2a.fsf@igel.home> <87pprokewg.fsf@wanadoo.es> <83iox2rd75.fsf@gnu.org> <87bo2uhie3.fsf@wanadoo.es> <871u3qgvk2.fsf@wanadoo.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1381613960 19954 80.91.229.3 (12 Oct 2013 21:39:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Oct 2013 21:39:20 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 12 23:39:23 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VV6uB-0000CW-5K for ged-emacs-devel@m.gmane.org; Sat, 12 Oct 2013 23:39:23 +0200 Original-Received: from localhost ([::1]:59435 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VV6uA-0004Du-LU for ged-emacs-devel@m.gmane.org; Sat, 12 Oct 2013 17:39:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40386) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VV6u1-0004Dj-4N for emacs-devel@gnu.org; Sat, 12 Oct 2013 17:39:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VV6ts-000350-Hi for emacs-devel@gnu.org; Sat, 12 Oct 2013 17:39:13 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:55530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VV6ts-00034w-AK for emacs-devel@gnu.org; Sat, 12 Oct 2013 17:39:04 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1VV6tp-0008Rp-0h for emacs-devel@gnu.org; Sat, 12 Oct 2013 23:39:01 +0200 Original-Received: from 35.red-83-36-170.dynamicip.rima-tde.net ([83.36.170.35]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Oct 2013 23:39:01 +0200 Original-Received: from ofv by 35.red-83-36-170.dynamicip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Oct 2013 23:39:01 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 31 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 35.red-83-36-170.dynamicip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:QzYp/lWfIwnajaP/CU0IDnJWMss= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:164164 Archived-At: Dani Moncayo writes: > Yes, but note that the bzr revision numbers have an advantage over the > revision IDs: they are numeric, so you can easily tell whether a given > revno is newer or older that another one. > > So, for example if you know that one bug was fixed in revno 100200, > and you see one user reporting a similar bug with revno 100150, you > _immediately_ know that this user is running an older version which > does not include the bug fix. Yes, and IIRC that's why there is some prominent people on the git community that miss sequential revision numbers. > But I also understand what you say: The revnos are ambiguous when you > don't specify the branch they come from. Exactly. Revision numbers are okay when you know the branch, but a potential source of confusion on any other case. > In any case, what I'm trying to do here is simply making > "emacs-bzr-version" give the same info (i.e. both the revno and the > revid) from a binary made from either bzr-trunk or its official git > counterpart (savannah's git mirror). And the message that I'm trying to send is that you already did the really useful part. I also build Emacs from git and I think it is a good thing to put the bzr revid on them. The difficulties you are facing now is with a bit of information that is not really required, once you have the revid, so I'll say don't bother with it and thank you for your work :-)