From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#2157: 23.0.90; bzr support: vc-diff doesn't work with prefix argument on unchanged files Date: Mon, 2 Feb 2009 14:37:55 -0800 (PST) Message-ID: <200902022237.n12MbtsC025843@rodan.ics.uci.edu> References: <20090202100449.B94A5E4057@wilson.homeunix.com> <200902022005.n12K5jIx023982@rodan.ics.uci.edu> <87fxiwa83w.fsf@physik.rwth-aachen.de> Reply-To: Dan Nicolaescu , 2157@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1233615889 5823 80.91.229.12 (2 Feb 2009 23:04:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 2 Feb 2009 23:04:49 +0000 (UTC) Cc: 2157@emacsbugs.donarmstrong.com To: Torsten Bronger Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Feb 03 00:06:03 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 1LU7r4-0003nq-Oq for geb-bug-gnu-emacs@m.gmane.org; Tue, 03 Feb 2009 00:05:49 +0100 Original-Received: from localhost ([127.0.0.1]:53481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LU7pl-0005oM-WB for geb-bug-gnu-emacs@m.gmane.org; Mon, 02 Feb 2009 18:04:06 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LU7pI-0005dK-S3 for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2009 18:03:37 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LU7pH-0005c9-7q for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2009 18:03:36 -0500 Original-Received: from [199.232.76.173] (port=53989 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LU7pG-0005c0-JB for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2009 18:03:34 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55409) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LU7pF-0002aM-RJ for bug-gnu-emacs@gnu.org; Mon, 02 Feb 2009 18:03:34 -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 n12N3VWU025723; Mon, 2 Feb 2009 15:03:31 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n12Mj4D3021031; Mon, 2 Feb 2009 14:45:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Dan Nicolaescu Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 02 Feb 2009 22:45:04 +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.123361429519666 (code B ref 2157); Mon, 02 Feb 2009 22:45:04 +0000 Original-Received: (at 2157) by emacsbugs.donarmstrong.com; 2 Feb 2009 22:38:15 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from barrelv2.ics.uci.edu (barrelv2.ics.uci.edu [128.195.1.114]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n12McDZ5019659 for <2157@emacsbugs.donarmstrong.com>; Mon, 2 Feb 2009 14:38:14 -0800 Original-Received: from rodan.ics.uci.edu (rodan.ics.uci.edu [128.195.6.9]) by barrelv2.ics.uci.edu (8.13.8+Sun/8.13.8) with ESMTP id n12MbtYr021967; Mon, 2 Feb 2009 14:37:55 -0800 (PST) Original-Received: (from dann@localhost) by rodan.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id n12MbtsC025843; Mon, 2 Feb 2009 14:37:55 -0800 (PST) In-Reply-To: <87fxiwa83w.fsf@physik.rwth-aachen.de> (Torsten Bronger's message of "Mon, 02 Feb 2009 21:37:07 +0100") Original-Lines: 39 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: n12MbtYr021967 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.363, required 5, autolearn=disabled, ALL_TRUSTED -1.44, TW_BZ 0.08) X-ICS-MailScanner-From: dann@rodan.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Mon, 02 Feb 2009 18:03:36 -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:24863 Archived-At: Torsten Bronger writes: > Hall=C3=B6chen! >=20 > 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 > > > > I can't reproduce this on my GNU/Linux machine. What version of > > bzr are you using? >=20 > 1.11 >=20 > > Can you do: Options / Enter debugger on error and then please > > email here the contents of the *Backtrace* buffer that appears > > when the error occurs. >=20 > I hope this is what you need: >=20 > Debugger entered--Lisp error: (wrong-type-argument stringp nil) > string-match("\\`[0-9]+\\'" nil) > vc-bzr-previous-revision("/home/bronger/src/chantal/current/chantal/s= amples/remote_client/la2chantal.py" nil) > apply(vc-bzr-previous-revision ("/home/bronger/src/chantal/current/ch= antal/samples/remote_client/la2chantal.py" nil)) > vc-call-backend(Bzr previous-revision "/home/bronger/src/chantal/curr= ent/chantal/samples/remote_client/la2chantal.py" nil) > (setq rev1-default (vc-call-backend backend (quote previous-revision)= first (vc-working-revision first))) This shows that (vc-working-revision "/home/bronger/src/chantal/current/cha= ntal/samples/remote_client/la2chantal.py")=20 returns nil. So probably for some reason (vc-bzr-working-revision "/home/bronger/src/chantal/current/chantal/samples= /remote_client/la2chantal.py")=20 returns nil. Can you try to debug why that happens?