From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#3122: Error saving commit messages for bazaar (bzr). Date: Sun, 26 Apr 2009 23:02:28 -0400 Message-ID: References: <49F4E687.4010108@amicitas.com> Reply-To: Stefan Monnier , 3122@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1240830922 29415 80.91.229.12 (27 Apr 2009 11:15:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 27 Apr 2009 11:15:22 +0000 (UTC) Cc: 3122@emacsbugs.donarmstrong.com To: Novimir Pablant Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Apr 27 13:15:14 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 1LyHHg-0001dh-Dd for geb-bug-gnu-emacs@m.gmane.org; Mon, 27 Apr 2009 05:13:32 +0200 Original-Received: from localhost ([127.0.0.1]:35497 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LyHGG-0008J9-Rl for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Apr 2009 23:12:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LyHGB-0008IB-RN for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2009 23:11:59 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LyHG7-0008DH-D6 for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2009 23:11:59 -0400 Original-Received: from [199.232.76.173] (port=43853 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LyHG7-0008DE-74 for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2009 23:11:55 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:42462) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LyHG6-0001tm-O3 for bug-gnu-emacs@gnu.org; Sun, 26 Apr 2009 23:11:55 -0400 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 n3R3Bo0f012645; Sun, 26 Apr 2009 20:11:50 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3R3A4S3011476; Sun, 26 Apr 2009 20:10:04 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 27 Apr 2009 03:10:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3122 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3122-submit@emacsbugs.donarmstrong.com id=B3122.12408013719390 (code B ref 3122); Mon, 27 Apr 2009 03:10:04 +0000 Original-Received: (at 3122) by emacsbugs.donarmstrong.com; 27 Apr 2009 03:02:51 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.182]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3R32loo009382 for <3122@emacsbugs.donarmstrong.com>; Sun, 26 Apr 2009 20:02:48 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhwFALu99ElFxLKx/2dsb2JhbACBUMhvg3QFhTE X-IronPort-AV: E=Sophos;i="4.40,251,1238990400"; d="scan'208";a="37630492" Original-Received: from 69-196-178-177.dsl.teksavvy.com (HELO pastel.home) ([69.196.178.177]) by ironport2-out.teksavvy.com with ESMTP; 26 Apr 2009 23:02:28 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 0BE0C7F10; Sun, 26 Apr 2009 23:02:28 -0400 (EDT) In-Reply-To: <49F4E687.4010108@amicitas.com> (Novimir Pablant's message of "Sun, 26 Apr 2009 15:56:07 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 26 Apr 2009 23:11:59 -0400 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:27471 Archived-At: > vc-bzr-registered: IO error reading > c:/library/code/python/annotatex/releases/test/.bzr/checkout/dirstate: > Permission denied > Bazaar version 1.13 > Emacs version 22.3 Can you try and reproduce this bug with the Emacs-23 pretest? Also, as far as I can tell, the code in vc-bzr.el (in Emacs-22.3 as well as in the upcoming Emacs-23) checks (file-readable-p dirstate) before reading the file, so could you check: M-: (file-readable-p "c:/library/code/python/annotatex/releases/test/.bzr/checkout/dirstate") RET to see if it indeed returns t rather than nil. And then try M-: (insert-file-contents "c:/library/code/python/annotatex/releases/test/.bzr/checkout/dirstate") RET to check that it indeed signals the error you're seeing. If indeed, file-readable-p claims the file is readable, but insert-file-contents signals a "permission denied", then the problem seems to be in the C code (or even deeper such that there's no way for Emacs to predict that insert-file-contents will signal an error). Stefan