From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.devel Subject: Re: Setting the value of `emacs-bzr-version' also from a git checkout Date: Sat, 12 Oct 2013 23:25:25 +0200 Message-ID: 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; charset=ISO-8859-1 X-Trace: ger.gmane.org 1381613130 12889 80.91.229.3 (12 Oct 2013 21:25:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Oct 2013 21:25:30 +0000 (UTC) Cc: Emacs development discussions To: =?ISO-8859-1?Q?=D3scar_Fuentes?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 12 23:25:34 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 1VV6gn-0001Bc-G7 for ged-emacs-devel@m.gmane.org; Sat, 12 Oct 2013 23:25:33 +0200 Original-Received: from localhost ([::1]:59405 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VV6gm-0000Nt-Ed for ged-emacs-devel@m.gmane.org; Sat, 12 Oct 2013 17:25:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VV6gi-0000Nd-ML for emacs-devel@gnu.org; Sat, 12 Oct 2013 17:25:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VV6gh-00081M-CF for emacs-devel@gnu.org; Sat, 12 Oct 2013 17:25:28 -0400 Original-Received: from mail-la0-x22c.google.com ([2a00:1450:4010:c03::22c]:51106) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VV6gh-000813-0F for emacs-devel@gnu.org; Sat, 12 Oct 2013 17:25:27 -0400 Original-Received: by mail-la0-f44.google.com with SMTP id eo20so4651326lab.3 for ; Sat, 12 Oct 2013 14:25:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=sIYi+TCIB2TsvtjiL3dtzzIxCS63GjDMtF93/ToJaEo=; b=ULW8cOrotk64CbsPLLKk5yk5WXPjm1gSy7h0QM9N3rvTduKeinELAyCs5cJSOY+BVf e5UCJAYHlzRNEbskxYjvfbsJFo8vOvk9GOv4Qqaqr3DPW6CDeqFRTGQ8BbTAVcbmYJLY Fc64SO03HavBVa1Ws7QC46dkvtrJF42PR0TZm9nVEyiJoQlPYxcdWKTStooniIC8wRWH xDpDf/ykhyzh2iVTwOj2mfc8VxirhfIxYE0cDZ8fr8H7ds58zz20G2/hJN5q4i/lS2hg PiCL24wG8BrVw/wPbjLgi6qcn+SHFzbmX3lXe/0y7eOtBJg/c7EN1HbQSNR99pKik5XU by2A== X-Received: by 10.112.130.138 with SMTP id oe10mr6018307lbb.1.1381613125919; Sat, 12 Oct 2013 14:25:25 -0700 (PDT) Original-Received: by 10.114.176.231 with HTTP; Sat, 12 Oct 2013 14:25:25 -0700 (PDT) In-Reply-To: <871u3qgvk2.fsf@wanadoo.es> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c03::22c 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:164162 Archived-At: > That's because they don't understand the implications. The usefulness of > including version info on bug reports (something that IIRC is done > automatically, so there is no need to show the info on screenshots, etc) > is to pinpoint the sources used for the build. 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. But I also understand what you say: The revnos are ambiguous when you don't specify the branch they come from. 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). -- Dani Moncayo