From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.tramp,gmane.emacs.devel Subject: Re: tramp (2.0.51); Saving SVN-managed files over Tramp fails Date: Sun, 13 Nov 2005 23:32:16 -0500 Message-ID: <87d5l3n979.fsf-monnier+emacs@gnu.org> References: <877jbclb1d.fsf@zemdatav.stor.no-ip.org> <87wtjccuun.fsf@gmx.de> <87slu0nt3n.fsf-monnier+emacs@gnu.org> <87oe4o6v4m.fsf@gmx.de> <87zmo8m94q.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1131942809 32591 80.91.229.2 (14 Nov 2005 04:33:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 14 Nov 2005 04:33:29 +0000 (UTC) Cc: tramp-devel@gnu.org, Magnus Henoch , emacs-devel@gnu.org Original-X-From: tramp-devel-bounces+tramp=quimby.gnus.org@gnu.org Mon Nov 14 05:33:28 2005 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EbW1T-0001D0-NJ for tramp@deer.gmane.org; Mon, 14 Nov 2005 05:32:51 +0100 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1EbW1T-0006yl-00 for ; Mon, 14 Nov 2005 05:32:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EbW1S-0003dL-PY for tramp@quimby.gnus.org; Sun, 13 Nov 2005 23:32:50 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EbW0z-0003OA-P9 for tramp-devel@gnu.org; Sun, 13 Nov 2005 23:32:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EbW0y-0003Nc-5f for tramp-devel@gnu.org; Sun, 13 Nov 2005 23:32:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EbW0w-0003NL-9B; Sun, 13 Nov 2005 23:32:18 -0500 Original-Received: from [209.226.175.34] (helo=tomts13-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EbW0w-0006HY-7q; Sun, 13 Nov 2005 23:32:18 -0500 Original-Received: from alfajor ([65.92.243.185]) by tomts13-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20051114043217.IZYQ25800.tomts13-srv.bellnexxia.net@alfajor>; Sun, 13 Nov 2005 23:32:17 -0500 Original-Received: by alfajor (Postfix, from userid 1000) id 011BB2FD7E; Sun, 13 Nov 2005 23:32:16 -0500 (EST) Original-To: Michael Albinus In-Reply-To: (Michael Albinus's message of "Mon, 14 Nov 2005 00:41:10 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: tramp-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: tramp-devel.gnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: tramp-devel-bounces+tramp=quimby.gnus.org@gnu.org Errors-To: tramp-devel-bounces+tramp=quimby.gnus.org@gnu.org Xref: news.gmane.org gmane.emacs.tramp:2969 gmane.emacs.devel:45934 Archived-At: >> Then does the patch below fix the problem acceptably (and does the comment >> correctly describe the problem)? > That looks fine to me. But shouldn't the other vc backends behave the > same way? Most other backends don't need to run any command just to figure out whether a file is under VC control or not. Actually vc-arch.el probably should but it doesn't (`tla' doesn't really provide the right command for it anyway). > Or should vc-do-command raise a file-error? vc-do-command can't know whether it's a file-error or something else. > (Or should Tramp check the command existence, and raise a file-error?) That'd be good, but if it comes at a performance price, it's not clear it's worth the trouble. Stefan