From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#5345: Password asked when visiting a file in a lightweight checkout Date: Sat, 09 Jan 2010 15:52:33 +0200 Message-ID: <83vdfb8jxa.fsf@gnu.org> References: <87eilzio5b.fsf@gmx.de> Reply-To: Eli Zaretskii , 5345@debbugs.gnu.org NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1263046757 5468 80.91.229.12 (9 Jan 2010 14:19:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Jan 2010 14:19:17 +0000 (UTC) To: Juanma Barranquero , 5345@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 09 15:19:09 2010 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 1NTc9k-0006EB-Vb for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jan 2010 15:19:09 +0100 Original-Received: from localhost ([127.0.0.1]:38969 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NTc9l-00019F-ER for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Jan 2010 09:19:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NTc9h-00018b-0g for bug-gnu-emacs@gnu.org; Sat, 09 Jan 2010 09:19:05 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NTc9c-00016r-GB for bug-gnu-emacs@gnu.org; Sat, 09 Jan 2010 09:19:04 -0500 Original-Received: from [199.232.76.173] (port=56129 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NTc9c-00016o-9L for bug-gnu-emacs@gnu.org; Sat, 09 Jan 2010 09:19:00 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38638) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NTc9c-0003P4-1H for bug-gnu-emacs@gnu.org; Sat, 09 Jan 2010 09:19:00 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NTbkU-00084c-FG; Sat, 09 Jan 2010 08:53:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Mail-Followup-To: Eli Zaretskii , 5345@debbugs.gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Jan 2010 13:53:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5345 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5345-submit@debbugs.gnu.org id=B5345.126304515231019 (code B ref 5345); Sat, 09 Jan 2010 13:53:02 +0000 Original-Received: (at 5345) by debbugs.gnu.org; 9 Jan 2010 13:52:32 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NTbk0-00084G-96 for submit@debbugs.gnu.org; Sat, 09 Jan 2010 08:52:32 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NTbjx-000849-LC for 5345@debbugs.gnu.org; Sat, 09 Jan 2010 08:52:30 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0KVZ00H00F3NTS00@a-mtaout20.012.net.il> for 5345@debbugs.gnu.org; Sat, 09 Jan 2010 15:51:59 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.222.44]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KVZ00C4HFUMDS61@a-mtaout20.012.net.il>; Sat, 09 Jan 2010 15:51:59 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-Spam-Score: -2.0 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -2.0 (--) Resent-Date: Sat, 09 Jan 2010 08:53:02 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org 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:34111 Archived-At: > From: Juanma Barranquero > Date: Sat, 9 Jan 2010 13:44:02 +0100 > Cc: 5345@debbugs.gnu.org > > file-exists-p("/C:/emacs/repo/trunk/.bzr/branch/format") <<<<<<<<<< > vc-bzr-working-revision("c:/emacs/repo/test-lightweight/etc/NEWS") > apply(vc-bzr-working-revision "c:/emacs/repo/test-lightweight/etc/NEWS") > vc-call-backend(Bzr working-revision "c:/emacs/repo/test-lightweight/etc/NEWS") Here's the bug: some code thinks that "C:/foo" is not an absolute file name, probably because it checks for the leading slash. So it prepends a slash, which alters the semantics of the file to be a remote file on a mythical machine called "C", with predictable results. I'd take a good look at vc-bzr-working-revision and the subroutines it calls.