From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Torsten Bronger Newsgroups: gmane.emacs.bugs Subject: bug#2157: 23.0.90; bzr support: vc-diff doesn't work with prefix argument on unchanged files Date: Tue, 03 Feb 2009 08:35:56 +0100 Organization: Phoenix Foundation Message-ID: <87eiygezvn.fsf@physik.rwth-aachen.de> References: <20090202100449.B94A5E4057@wilson.homeunix.com> <200902022005.n12K5jIx023982@rodan.ics.uci.edu> <87fxiwa83w.fsf@physik.rwth-aachen.de> <200902022237.n12MbtsC025843@rodan.ics.uci.edu> Reply-To: Torsten Bronger , 2157@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1233648294 13234 80.91.229.12 (3 Feb 2009 08:04:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 3 Feb 2009 08:04:54 +0000 (UTC) Cc: 2157@emacsbugs.donarmstrong.com To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 03 09:06:07 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LUGHJ-0005y6-TW for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Feb 2009 09:05:37 +0100 Original-Received: from localhost ([127.0.0.1]:42128 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUGG0-0006pi-Mr for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Feb 2009 03:03:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LUGFv-0006oR-QG for bug-gnu-emacs@gnu.org; Tue, 03 Feb 2009 03:03:39 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LUGFu-0006ly-Cz for bug-gnu-emacs@gnu.org; Tue, 03 Feb 2009 03:03:39 -0500 Original-Received: from [199.232.76.173] (port=34667 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUGFu-0006lf-3z for bug-gnu-emacs@gnu.org; Tue, 03 Feb 2009 03:03:38 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:20414) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LUGFs-0006A4-Pw for bug-gnu-emacs@gnu.org; Tue, 03 Feb 2009 03:03:37 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LUGFp-0002bb-Ef for bug-gnu-emacs@gnu.org; Tue, 03 Feb 2009 03:03:33 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n1383VpV031402; Tue, 3 Feb 2009 00:03:31 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n137j3Mt026674; Mon, 2 Feb 2009 23:45:03 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Torsten Bronger Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Tue, 03 Feb 2009 07:45:02 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2157 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2157-submit@emacsbugs.donarmstrong.com id=B2157.123364656325363 (code B ref 2157); Tue, 03 Feb 2009 07:45:02 +0000 Original-Received: (at 2157) by emacsbugs.donarmstrong.com; 3 Feb 2009 07:36:03 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mta-1.ms.rz.rwth-aachen.de (mta-1.ms.rz.RWTH-Aachen.DE [134.130.7.72]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n137ZwO6025356 for <2157@emacsbugs.donarmstrong.com>; Mon, 2 Feb 2009 23:36:00 -0800 Original-Received: from ironport-out-1.rz.rwth-aachen.de ([134.130.5.40]) by mta-1.ms.rz.RWTH-Aachen.de (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008)) with ESMTP id <0KEH000RGBRY7CF0@mta-1.ms.rz.RWTH-Aachen.de> for 2157@emacsbugs.donarmstrong.com; Tue, 03 Feb 2009 08:35:58 +0100 (CET) X-IronPort-AV: E=Sophos;i="4.37,371,1231110000"; d="scan'208";a="191893" Original-Received: from relay-1.ms.rz.rwth-aachen.de (HELO relay.rwth-aachen.de) ([134.130.7.74]) by ironport-in-1.rz.rwth-aachen.de with ESMTP; Tue, 03 Feb 2009 08:35:58 +0100 Original-Received: from wilson (xdsl-87-78-66-145.netcologne.de [87.78.66.145]) by relay.rwth-aachen.de (8.13.8+Sun/8.13.8/1) with ESMTP id n137Zvs4023898; Tue, 03 Feb 2009 08:35:57 +0100 (CET) X-PGP-Fingerprint: C5C8 D6E2 79D2 EFE9 8C0F 6D77 D5E3 CEFC 9F51 6B77 X-PGP-Affinity: will accept encrypted message for GPG X-Home-Page: http://www.wikipedia.org/wiki/User:Bronger X-Binford: 6100 (more power) X-Accept-Language: de, en Jabber-ID: torsten.bronger@jabber.rwth-aachen.de Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEWVTEMoFxP8/Pnw4Nn8 tqbbi3ju7eqxc2XlqJjz8u/LYySDAAACVElEQVR4nF2UMW/bMBCFqUEluokIUGf21i1xArTd ilZBM6pICGpMa0C2NiYuQXdrDBNlt0IGDOvf9h1JKUJv0MBPd+/ueEfW9mSPYrTZYk7GwvlK TOw8gradOjD67CLA+SmdkmVCnI2hLoUoGOOWDD6zAJoQqWA4k2QKLovkcUQUbo2svfdS6ihC HpBgOJeeTCohnpLHShQccfy+LL13iPU6gb8ACFTCbgM4S+ABkaTcl5FMwFrwAK6JEHiVwEkw Q+DqKoFB45BA+fk6gqeU7jH7T2M3Vl5wWSeArIpuaOIzgE8ABc6GJr4PoBxANna3yhizdcwK zcqKTQQHzTJ0fUv/o+3mkeUD0Bl6DXKT4bK41rwL4gCMfPKywg0ao60l0LQHC8AKm5fKMMtl xe33AJZGc5Ybacq6/u2MrIyKHq3VdNk197WTpnaVMqHyplUahXvHHe5wj9JtAs0XTfUpHvvl FB/AOyTvXRXBrbRym8AJoJY6d/KeSrdqkzTeKmp7ZaARJOynBLoTg3q1dTK03d7NU6i2R3yv f9yQhgvJRo++/wVQ5dJSUnYzHz2OAFJxW1Mo+3MCPoZJN94jKb17Af1FGPbaY6zVBDTHFdpr 7/e3tAZT0KwZtd7SzCu2eAHtEqFoo1CjnYKm0Rwu+N8pzf50E3DBQyzsE8veYHBGsEZTJDws bv+877shq+ah4FuPrYESRrfr5l30aJ8x8J6KKCztOYJFsBQFbZvUGa+w8+28Sxp4SzBYXEOJ Xo/iwyD+jd4LehyMDI8HSASXBKhA+TW9Tf4fSktOMtuPmUoAAAAASUVORK5CYII= User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.90 (gnu/linux) X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) Resent-Date: Tue, 03 Feb 2009 03:03:39 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:24886 Archived-At: Hall=F6chen! Dan Nicolaescu writes: > Torsten Bronger writes: > >> Dan Nicolaescu writes: >>=20 >>> Torsten Bronger writes: >>> >>>> If I visit an unchanged file under bzr revision control, >>>> i.e. the modeline says "Bzr-" (NOT "Bzr:"), I can't use C-u C-x >>>> v =3D, i.e. vc-diff but with explicit revision parameters. The >>>> error message is: >>>>=20 >>>> vc-bzr-previous-revision: Wrong type argument: stringp, nil > > [...] > > This shows that (vc-working-revision > "/home/bronger/src/chantal/current/chantal/samples/remote_client/la2chant= al.py") > > returns nil. So probably for some reason > (vc-bzr-working-revision > "/home/bronger/src/chantal/current/chantal/samples/remote_client/la2chant= al.py") > > returns nil. Can you try to debug why that happens? I don't know Lisp, but I hooked into the bzr executable and can safely say that it isn't called for this action. So apparently, vc-bzr-working-revision tries to get the revno from the metadata in the .bzr/ directory. The branch format is "Bazaar Branch Format 7 (needs bzr 1.6)". By the way, bug#618 is probably related to this. Formerly, I had missing revno in the modeline only in lightweight checkout, now I have the same problem with all branches. Maybe the branch metadata format has diverged too much for vc-bzr? Tsch=F6, Torsten. --=20 Torsten Bronger, aquisgrana, europa vetus Jabber ID: torsten.bronger@jabber.rwth-aachen.de