From unknown Sat Jun 14 19:16:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12441: 24.2.50; emacs-bzr-version is not reliable Resent-From: Harald Hanche-Olsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Sep 2012 09:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12441 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 12441@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.134761641913163 (code B ref -1); Fri, 14 Sep 2012 09:54:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Sep 2012 09:53:39 +0000 Received: from localhost ([127.0.0.1]:33081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCSah-0003QG-3I for submit@debbugs.gnu.org; Fri, 14 Sep 2012 05:53:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55209) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCSaf-0003Q9-Hx for submit@debbugs.gnu.org; Fri, 14 Sep 2012 05:53:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCSZf-0005jj-3g for submit@debbugs.gnu.org; Fri, 14 Sep 2012 05:52:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:48708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCSZf-0005je-08 for submit@debbugs.gnu.org; Fri, 14 Sep 2012 05:52:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCSZZ-0003eQ-33 for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 05:52:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCSZT-0005hi-DL for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 05:52:29 -0400 Received: from hylle02.itea.ntnu.no ([129.241.56.101]:43734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCSZT-0005hZ-68 for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 05:52:23 -0400 Received: from localhost (localhost [127.0.0.1]) by hylle02.itea.ntnu.no (Postfix) with ESMTP id 303913000D for ; Fri, 14 Sep 2012 11:52:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hylle02.itea.ntnu.no Received: from anne.math.ntnu.no (anne.math.ntnu.no [129.241.15.150]) by hylle02.itea.ntnu.no (Postfix) with SMTP id A35152C055 for ; Fri, 14 Sep 2012 11:52:20 +0200 (CEST) Received: (qmail 7313 invoked from network); 14 Sep 2012 09:52:20 -0000 Received: from gauss.math.ntnu.no (HELO localhost) (hanche@129.241.15.58) by anne.math.ntnu.no with ESMTPA; 14 Sep 2012 09:52:20 -0000 Date: Fri, 14 Sep 2012 11:52:22 +0200 (CEST) Message-Id: <20120914.115222.209464088161029784.hanche@math.ntnu.no> From: Harald Hanche-Olsen X-URL: http://www.math.ntnu.no/~hanche/ X-Mailer: Mew version 6.5 on Emacs 24.2.50 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) The variable emacs-bzr-version gives wrong information when emacs has been built from a revision not at the tip of the current branch. The best demonstration of the problem is shown in the second line below, put there by M-x report-emacs-bug: In GNU Emacs 24.2.50.1 (x86_64-apple-darwin11.4.0, NS apple-appkit-1138.47) of 2012-09-14 on airy Bzr revision: 110013 rgm@gnu.org-20120913101731-6sng9auv00p60d0i In fact, this emacs is built from a lightweight checkout of bzr revision 109703. The automatically provided information above seems to be taken from the emacs-bzr-version variable, which is wrong, in other words. Windowing system distributor `Apple', version 10.3.1138 Configured using: `configure '--with-ns'' - Harald From unknown Sat Jun 14 19:16:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12441: Acknowledgement (24.2.50; emacs-bzr-version is not reliable) Resent-From: Harald Hanche-Olsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Sep 2012 12:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12441 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 12441@debbugs.gnu.org Received: via spool by 12441-submit@debbugs.gnu.org id=B12441.134762437328070 (code B ref 12441); Fri, 14 Sep 2012 12:07:02 +0000 Received: (at 12441) by debbugs.gnu.org; 14 Sep 2012 12:06:13 +0000 Received: from localhost ([127.0.0.1]:33186 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCUez-0007Ih-Cr for submit@debbugs.gnu.org; Fri, 14 Sep 2012 08:06:13 -0400 Received: from hylle01.itea.ntnu.no ([129.241.56.100]:54679) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCUex-0007IZ-1O for 12441@debbugs.gnu.org; Fri, 14 Sep 2012 08:06:12 -0400 Received: from localhost (localhost [127.0.0.1]) by hylle01.itea.ntnu.no (Postfix) with ESMTP id 170333E0AE for <12441@debbugs.gnu.org>; Fri, 14 Sep 2012 14:05:12 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hylle01.itea.ntnu.no Received: from anne.math.ntnu.no (anne.math.ntnu.no [129.241.15.150]) by hylle01.itea.ntnu.no (Postfix) with SMTP id 7570D31E024 for <12441@debbugs.gnu.org>; Fri, 14 Sep 2012 14:05:11 +0200 (CEST) Received: (qmail 3158 invoked from network); 14 Sep 2012 12:05:11 -0000 Received: from gauss.math.ntnu.no (HELO localhost) (hanche@129.241.15.58) by anne.math.ntnu.no with ESMTPA; 14 Sep 2012 12:05:11 -0000 Date: Fri, 14 Sep 2012 14:05:14 +0200 (CEST) Message-Id: <20120914.140514.1206889292717438125.hanche@math.ntnu.no> From: Harald Hanche-Olsen In-Reply-To: References: <20120914.115222.209464088161029784.hanche@math.ntnu.no> X-URL: http://www.math.ntnu.no/~hanche/ X-Mailer: Mew version 6.5 on Emacs 24.2.50 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: -4.7 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.7 (----) It occurs to me that I might have included a bit more detail with my bug report. I have a local (heavyweight) repository that tracks trunk from the official emacs repository. The tip of that branch, at the time when I compiled emacs, was indeed revision 110013, as reported in the emacs-bzr-version variable. >From my local trunk I did bzr checkout --lightweight -r 109703 . ../r109703 and then I cd'd into that directory and compiled emacs there. The resulting emacs shows revision 110013 in emacs-bzr-version. I have not checked if doing a heavyweight checkout would yield the same result. - Harald From unknown Sat Jun 14 19:16:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12441: Acknowledgement (24.2.50; emacs-bzr-version is not reliable) Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Sep 2012 16:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12441 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Harald Hanche-Olsen Cc: 12441@debbugs.gnu.org Received: via spool by 12441-submit@debbugs.gnu.org id=B12441.134763944318318 (code B ref 12441); Fri, 14 Sep 2012 16:18:02 +0000 Received: (at 12441) by debbugs.gnu.org; 14 Sep 2012 16:17:23 +0000 Received: from localhost ([127.0.0.1]:34021 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCYa2-0004lP-Sm for submit@debbugs.gnu.org; Fri, 14 Sep 2012 12:17:23 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:60944) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCYa1-0004lG-5M for 12441@debbugs.gnu.org; Fri, 14 Sep 2012 12:17:22 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TCYZ2-00087l-O8; Fri, 14 Sep 2012 12:16:20 -0400 From: Glenn Morris References: <20120914.115222.209464088161029784.hanche@math.ntnu.no> <20120914.140514.1206889292717438125.hanche@math.ntnu.no> X-Spook: Attorney General NSA subversive ASO emc Majic terrorism X-Ran: Y(CZt*;rMidM+ X-Hue: cyan X-Attribution: GM Date: Fri, 14 Sep 2012 12:16:20 -0400 In-Reply-To: <20120914.140514.1206889292717438125.hanche@math.ntnu.no> (Harald Hanche-Olsen's message of "Fri, 14 Sep 2012 14:05:14 +0200 (CEST)") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -7.4 (-------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.4 (-------) Harald Hanche-Olsen wrote: > I have a local (heavyweight) repository that tracks trunk from the > official emacs repository. The tip of that branch, at the time when > I compiled emacs, was indeed revision 110013, as reported in the > emacs-bzr-version variable. > >>>From my local trunk I did > > bzr checkout --lightweight -r 109703 . ../r109703 > > and then I cd'd into that directory and compiled emacs there. > The resulting emacs shows revision 110013 in emacs-bzr-version. BTW, so does: bzr revno unless you add --tree. > I have not checked if doing a heavyweight checkout would yield the > same result. No, that works fine. It also takes exactly the same time to checkout and produces a directory with exactly the same size (assuming a shared repository) as the lightweight case. So I'd suggest forgetting about lightweight checkouts. I'd say what you're doing is outside the simple uses cases that emacs-bzr-version (which is really just a minor convenience for bug reports) is for. You obviously know what revision you are using since you specified it manually. There's no way to get the real revision number of your lightweight checkout without running a bzr command. But I do not want to run any form of external command to find emacs-bzr-version, since it happens during dumping, etc. It would perhaps be better if we returned nil rather the wrong answer in your case, but I see no way even to do that. Lightweight checkouts with and without -r differ only in their dirstate files. So perhaps the information is buried in here if someone wants to dig it out. But there is no simple version string AFAICS. Which is a long-winded way of saying this gets a "wontfix" from me. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 14 12:19:58 2012 Received: (at control) by debbugs.gnu.org; 14 Sep 2012 16:19:58 +0000 Received: from localhost ([127.0.0.1]:34028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCYcY-0004pM-5w for submit@debbugs.gnu.org; Fri, 14 Sep 2012 12:19:58 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:32793) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCYcW-0004pE-4p for control@debbugs.gnu.org; Fri, 14 Sep 2012 12:19:57 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TCYbZ-0008Mi-Tt for control@debbugs.gnu.org; Fri, 14 Sep 2012 12:18:57 -0400 Date: Fri, 14 Sep 2012 12:18:57 -0400 Message-Id: Subject: control message for bug 12441 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -7.4 (-------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.4 (-------) severity 12441 wishlist tag 12441 wontfix From unknown Sat Jun 14 19:16:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12441: Acknowledgement (24.2.50; emacs-bzr-version is not reliable) Resent-From: Harald Hanche-Olsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Sep 2012 17:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12441 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix To: rgm@gnu.org Cc: 12441@debbugs.gnu.org Received: via spool by 12441-submit@debbugs.gnu.org id=B12441.134764224025892 (code B ref 12441); Fri, 14 Sep 2012 17:04:01 +0000 Received: (at 12441) by debbugs.gnu.org; 14 Sep 2012 17:04:00 +0000 Received: from localhost ([127.0.0.1]:34072 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCZJA-0006jZ-Bu for submit@debbugs.gnu.org; Fri, 14 Sep 2012 13:04:00 -0400 Received: from hylle01.itea.ntnu.no ([129.241.56.100]:51135) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCZJ7-0006jQ-Aw for 12441@debbugs.gnu.org; Fri, 14 Sep 2012 13:03:58 -0400 Received: from localhost (localhost [127.0.0.1]) by hylle01.itea.ntnu.no (Postfix) with ESMTP id 13992322033 for <12441@debbugs.gnu.org>; Fri, 14 Sep 2012 19:02:57 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hylle01.itea.ntnu.no Received: from anne.math.ntnu.no (anne.math.ntnu.no [129.241.15.150]) by hylle01.itea.ntnu.no (Postfix) with SMTP id 9239932202D for <12441@debbugs.gnu.org>; Fri, 14 Sep 2012 19:02:56 +0200 (CEST) Received: (qmail 17156 invoked from network); 14 Sep 2012 17:02:56 -0000 Received: from gauss.math.ntnu.no (HELO localhost) (hanche@129.241.15.58) by anne.math.ntnu.no with ESMTPA; 14 Sep 2012 17:02:56 -0000 Date: Fri, 14 Sep 2012 19:02:59 +0200 (CEST) Message-Id: <20120914.190259.1021878789905429001.hanche@math.ntnu.no> From: Harald Hanche-Olsen In-Reply-To: References: <20120914.140514.1206889292717438125.hanche@math.ntnu.no> X-URL: http://www.math.ntnu.no/~hanche/ X-Mailer: Mew version 6.5 on Emacs 24.1.50 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: -4.7 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.7 (----) [Glenn Morris (2012-09-14 16:16:20 UTC)] > Harald Hanche-Olsen wrote: > > No, that works fine. It also takes exactly the same time to checkout and > produces a directory with exactly the same size (assuming a shared > repository) as the lightweight case. So I'd suggest forgetting about > lightweight checkouts. Hmm, I thought I had done the experiment and found differently. But redoing it, I see that you are indeed right. > I'd say what you're doing is outside the simple uses cases that > emacs-bzr-version (which is really just a minor convenience for bug > reports) is for. You obviously know what revision you are using since > you specified it manually. Yeah, but there is a risk of getting confused while bisecting looking for the revision that introduced a certain bug. > It would perhaps be better if we returned nil rather the wrong answer in > your case, but I see no way even to do that. In emacs-bzr-get-version, in version.el, there seems to be a special branch in the cond dealing with lightweight checkouts. Maybe you could just remove that branch? It will only work, and unreliably to boot, with a lightweight checkout from a local branch. > Which is a long-winded way of saying this gets a "wontfix" from me. I can live with that, if you don't think my suggestion above is good. - Harald From unknown Sat Jun 14 19:16:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12441: Acknowledgement (24.2.50; emacs-bzr-version is not reliable) Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Sep 2012 19:34:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12441 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix To: Harald Hanche-Olsen Cc: rgm@gnu.org, 12441@debbugs.gnu.org Received: via spool by 12441-submit@debbugs.gnu.org id=B12441.13476511877169 (code B ref 12441); Fri, 14 Sep 2012 19:34:01 +0000 Received: (at 12441) by debbugs.gnu.org; 14 Sep 2012 19:33:07 +0000 Received: from localhost ([127.0.0.1]:34192 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCbdT-0001ra-DC for submit@debbugs.gnu.org; Fri, 14 Sep 2012 15:33:07 -0400 Received: from chene.dit.umontreal.ca ([132.204.246.20]:52373) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCbdQ-0001rT-S6 for 12441@debbugs.gnu.org; Fri, 14 Sep 2012 15:33:05 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q8EJW5eF004751; Fri, 14 Sep 2012 15:32:05 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 01E49B4071; Fri, 14 Sep 2012 15:32:04 -0400 (EDT) From: Stefan Monnier Message-ID: References: <20120914.140514.1206889292717438125.hanche@math.ntnu.no> <20120914.190259.1021878789905429001.hanche@math.ntnu.no> Date: Fri, 14 Sep 2012 15:32:04 -0400 In-Reply-To: <20120914.190259.1021878789905429001.hanche@math.ntnu.no> (Harald Hanche-Olsen's message of "Fri, 14 Sep 2012 19:02:59 +0200 (CEST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -4.1 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.1 (----) > In emacs-bzr-get-version, in version.el, there seems to be a special > branch in the cond dealing with lightweight checkouts. Maybe you could > just remove that branch? It will only work, and unreliably to boot, > with a lightweight checkout from a local branch. Lightweight checkouts of local branches are very common, so we definitely want to handle them right at least in the "normal" case where the checkout is showing the tip of the corresponding branch (contrary to your particular case). Stefan From unknown Sat Jun 14 19:16:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12441: emacs-bzr-version is not reliable Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Sep 2012 23:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12441 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix To: Stefan Monnier Cc: Harald Hanche-Olsen , 12441@debbugs.gnu.org Received: via spool by 12441-submit@debbugs.gnu.org id=B12441.134766502228320 (code B ref 12441); Fri, 14 Sep 2012 23:24:02 +0000 Received: (at 12441) by debbugs.gnu.org; 14 Sep 2012 23:23:42 +0000 Received: from localhost ([127.0.0.1]:34455 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCfEc-0007Mj-Ln for submit@debbugs.gnu.org; Fri, 14 Sep 2012 19:23:42 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:40507) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCfEb-0007Md-Gz for 12441@debbugs.gnu.org; Fri, 14 Sep 2012 19:23:42 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TCfDd-0008Qj-4D; Fri, 14 Sep 2012 19:22:41 -0400 From: Glenn Morris References: <20120914.140514.1206889292717438125.hanche@math.ntnu.no> <20120914.190259.1021878789905429001.hanche@math.ntnu.no> X-Spook: chameleon man offensive information warfare Rumsfeld X-Ran: |wOpW1:hXMo?JLicwZr189514tjXPh}#*>)GpqcqbzzcXexNE}:m'1cait21&B_"[SF"#7 X-Hue: yellow X-Attribution: GM Date: Fri, 14 Sep 2012 19:22:40 -0400 In-Reply-To: (Stefan Monnier's message of "Fri, 14 Sep 2012 15:32:04 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -7.4 (-------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.4 (-------) BTW, vc-bzr-working-revision gives the same result as emacs-bzr-version. From unknown Sat Jun 14 19:16:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12441: 24.2.50; emacs-bzr-version is not reliable In-Reply-To: <20120914.115222.209464088161029784.hanche@math.ntnu.no> Resent-From: Andy Moreton Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Sep 2012 23:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12441 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix To: 12441@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.134766541028932 (code B ref -1); Fri, 14 Sep 2012 23:31:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Sep 2012 23:30:10 +0000 Received: from localhost ([127.0.0.1]:34461 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCfKr-0007Wa-Ak for submit@debbugs.gnu.org; Fri, 14 Sep 2012 19:30:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59457) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCfKo-0007WT-KP for submit@debbugs.gnu.org; Fri, 14 Sep 2012 19:30:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCfJq-0004MM-4G for submit@debbugs.gnu.org; Fri, 14 Sep 2012 19:29:06 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:56132) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCfJq-0004MI-1b for submit@debbugs.gnu.org; Fri, 14 Sep 2012 19:29:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCfJo-0000j8-U3 for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 19:29:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCfJo-0004Lv-1f for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 19:29:04 -0400 Received: from plane.gmane.org ([80.91.229.3]:45527) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCfJn-0004Lq-RI for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 19:29:03 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TCfJo-0005ub-6d for bug-gnu-emacs@gnu.org; Sat, 15 Sep 2012 01:29:04 +0200 Received: from 82-69-64-228.dsl.in-addr.zen.co.uk ([82.69.64.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 Sep 2012 01:29:04 +0200 Received: from andrewjmoreton by 82-69-64-228.dsl.in-addr.zen.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 Sep 2012 01:29:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ From: Andy Moreton Date: Sat, 15 Sep 2012 00:28:45 +0100 Lines: 10 Message-ID: <82ipbg5glu.fsf@gmail.com> References: <20120914.115222.209464088161029784.hanche@math.ntnu.no> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 82-69-64-228.dsl.in-addr.zen.co.uk User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (windows-nt) Cancel-Lock: sha1:H8Ug6XSntZxHg9lh9ZW5vOQSv98= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) On Fri 14 Sep 2012, Harald Hanche-Olsen wrote: > The variable emacs-bzr-version gives wrong information when emacs has > been built from a revision not at the tip of the current branch. I have seen this too. The value of emacs-bzr-version is the equivalent of "bzr revno", but the version actually built will be "bzr revno --tree" (plus any uncommitted changes). AndyM From unknown Sat Jun 14 19:16:03 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12441: emacs-bzr-version is not reliable Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Sep 2012 00:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12441 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix To: Stefan Monnier Cc: Harald Hanche-Olsen , 12441@debbugs.gnu.org Received: via spool by 12441-submit@debbugs.gnu.org id=B12441.13476694025663 (code B ref 12441); Sat, 15 Sep 2012 00:37:01 +0000 Received: (at 12441) by debbugs.gnu.org; 15 Sep 2012 00:36:42 +0000 Received: from localhost ([127.0.0.1]:34505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCgNG-0001TI-9y for submit@debbugs.gnu.org; Fri, 14 Sep 2012 20:36:42 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:41311) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCgND-0001TB-JS for 12441@debbugs.gnu.org; Fri, 14 Sep 2012 20:36:40 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TCgME-0002aA-I5; Fri, 14 Sep 2012 20:35:38 -0400 From: Glenn Morris References: <20120914.140514.1206889292717438125.hanche@math.ntnu.no> <20120914.190259.1021878789905429001.hanche@math.ntnu.no> X-Spook: Al-Qaeda bemd Ermes Roswell Guantanamo Legion of Doom X-Ran: gd~$YvACs-u]C!Jo(5|~}j"^G@V$zD X-Hue: magenta X-Attribution: GM Date: Fri, 14 Sep 2012 20:35:38 -0400 In-Reply-To: (Glenn Morris's message of "Fri, 14 Sep 2012 19:22:40 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -7.4 (-------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.4 (-------) I found a way to improve it and committed it. vc-bzr-find-revision should be similarly improved. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 14 20:38:28 2012 Received: (at control) by debbugs.gnu.org; 15 Sep 2012 00:38:28 +0000 Received: from localhost ([127.0.0.1]:34509 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCgOl-0001XU-K1 for submit@debbugs.gnu.org; Fri, 14 Sep 2012 20:38:16 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:41346) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCgOj-0001XN-5Y for control@debbugs.gnu.org; Fri, 14 Sep 2012 20:38:13 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TCgNk-0002gx-Jj for control@debbugs.gnu.org; Fri, 14 Sep 2012 20:37:12 -0400 Date: Fri, 14 Sep 2012 20:37:12 -0400 Message-Id: Subject: control message for bug 12441 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -7.4 (-------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.4 (-------) tag 12441 - wontfix From unknown Sat Jun 14 19:16:03 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Harald Hanche-Olsen Subject: bug#12441: closed (Re: bug#12441: emacs-bzr-version is not reliable) Message-ID: References: <20120914.115222.209464088161029784.hanche@math.ntnu.no> X-Gnu-PR-Message: they-closed 12441 X-Gnu-PR-Package: emacs Reply-To: 12441@debbugs.gnu.org Date: Sat, 15 Sep 2012 01:14:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1347671642-12332-1" This is a multi-part message in MIME format... ------------=_1347671642-12332-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #12441: 24.2.50; emacs-bzr-version is not reliable which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 12441@debbugs.gnu.org. --=20 12441: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D12441 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1347671642-12332-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 12441-done) by debbugs.gnu.org; 15 Sep 2012 01:13:37 +0000 Received: from localhost ([127.0.0.1]:34523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCgwz-0003CD-2r for submit@debbugs.gnu.org; Fri, 14 Sep 2012 21:13:37 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:41736) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCgwu-0003C2-9p for 12441-done@debbugs.gnu.org; Fri, 14 Sep 2012 21:13:34 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TCgvu-00081h-Ux; Fri, 14 Sep 2012 21:12:31 -0400 From: Glenn Morris To: 12441-done@debbugs.gnu.org Subject: Re: bug#12441: emacs-bzr-version is not reliable References: <20120914.140514.1206889292717438125.hanche@math.ntnu.no> <20120914.190259.1021878789905429001.hanche@math.ntnu.no> X-Spook: Vickie Weaver Bellcore jihad BLU-114/B ASLET EuroFed AMW X-Ran: vxXtmJo"/*_cb#h#P3v9#h$]*9WN:f[ae6|B1quF8g[*fwZNO{3MKXoA^v?0qIak\^)4Ks X-Hue: black X-Debbugs-No-Ack: yes X-Attribution: GM Date: Fri, 14 Sep 2012 21:12:30 -0400 In-Reply-To: (Glenn Morris's message of "Fri, 14 Sep 2012 20:35:38 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -7.4 (-------) X-Debbugs-Envelope-To: 12441-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.4 (-------) Version: 24.3 Glenn Morris wrote: > vc-bzr-find-revision should be similarly improved. Done. ------------=_1347671642-12332-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 Sep 2012 09:53:39 +0000 Received: from localhost ([127.0.0.1]:33081 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCSah-0003QG-3I for submit@debbugs.gnu.org; Fri, 14 Sep 2012 05:53:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55209) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCSaf-0003Q9-Hx for submit@debbugs.gnu.org; Fri, 14 Sep 2012 05:53:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCSZf-0005jj-3g for submit@debbugs.gnu.org; Fri, 14 Sep 2012 05:52:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:48708) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCSZf-0005je-08 for submit@debbugs.gnu.org; Fri, 14 Sep 2012 05:52:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37541) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCSZZ-0003eQ-33 for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 05:52:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCSZT-0005hi-DL for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 05:52:29 -0400 Received: from hylle02.itea.ntnu.no ([129.241.56.101]:43734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCSZT-0005hZ-68 for bug-gnu-emacs@gnu.org; Fri, 14 Sep 2012 05:52:23 -0400 Received: from localhost (localhost [127.0.0.1]) by hylle02.itea.ntnu.no (Postfix) with ESMTP id 303913000D for ; Fri, 14 Sep 2012 11:52:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hylle02.itea.ntnu.no Received: from anne.math.ntnu.no (anne.math.ntnu.no [129.241.15.150]) by hylle02.itea.ntnu.no (Postfix) with SMTP id A35152C055 for ; Fri, 14 Sep 2012 11:52:20 +0200 (CEST) Received: (qmail 7313 invoked from network); 14 Sep 2012 09:52:20 -0000 Received: from gauss.math.ntnu.no (HELO localhost) (hanche@129.241.15.58) by anne.math.ntnu.no with ESMTPA; 14 Sep 2012 09:52:20 -0000 Date: Fri, 14 Sep 2012 11:52:22 +0200 (CEST) Message-Id: <20120914.115222.209464088161029784.hanche@math.ntnu.no> To: bug-gnu-emacs@gnu.org Subject: 24.2.50; emacs-bzr-version is not reliable From: Harald Hanche-Olsen X-URL: http://www.math.ntnu.no/~hanche/ X-Mailer: Mew version 6.5 on Emacs 24.2.50 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) The variable emacs-bzr-version gives wrong information when emacs has been built from a revision not at the tip of the current branch. The best demonstration of the problem is shown in the second line below, put there by M-x report-emacs-bug: In GNU Emacs 24.2.50.1 (x86_64-apple-darwin11.4.0, NS apple-appkit-1138.47) of 2012-09-14 on airy Bzr revision: 110013 rgm@gnu.org-20120913101731-6sng9auv00p60d0i In fact, this emacs is built from a lightweight checkout of bzr revision 109703. The automatically provided information above seems to be taken from the emacs-bzr-version variable, which is wrong, in other words. Windowing system distributor `Apple', version 10.3.1138 Configured using: `configure '--with-ns'' - Harald ------------=_1347671642-12332-1--