From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emilio Lopes Newsgroups: gmane.emacs.bugs Subject: bug#18461: `vc-svn-registered' signals an error if a directory has be (re)moved. Date: Fri, 12 Sep 2014 22:36:52 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1410554306 30867 80.91.229.3 (12 Sep 2014 20:38:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2014 20:38:26 +0000 (UTC) Cc: 18461@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 12 22:38:19 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XSXbm-0000HL-Br for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Sep 2014 22:38:18 +0200 Original-Received: from localhost ([::1]:47292 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSXbl-0001j1-VA for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Sep 2014 16:38:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37018) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSXbf-0001hD-4x for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2014 16:38:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XSXba-0003W2-6u for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2014 16:38:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48110) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XSXba-0003Vu-3Z for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2014 16:38:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XSXbZ-0002iS-Jo for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2014 16:38:05 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Emilio Lopes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Sep 2014 20:38:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 18461 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 18461-submit@debbugs.gnu.org id=B18461.141055423710382 (code B ref 18461); Fri, 12 Sep 2014 20:38:05 +0000 Original-Received: (at 18461) by debbugs.gnu.org; 12 Sep 2014 20:37:17 +0000 Original-Received: from localhost ([127.0.0.1]:39674 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XSXal-0002hM-AN for submit@debbugs.gnu.org; Fri, 12 Sep 2014 16:37:16 -0400 Original-Received: from mail-vc0-f176.google.com ([209.85.220.176]:51620) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XSXaj-0002hB-0p for 18461@debbugs.gnu.org; Fri, 12 Sep 2014 16:37:13 -0400 Original-Received: by mail-vc0-f176.google.com with SMTP id la4so1240204vcb.7 for <18461@debbugs.gnu.org>; Fri, 12 Sep 2014 13:37:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-type:content-transfer-encoding; bh=e3wdL+ZngYHcs22DGpYHfREKKDsTQEd623pmYav/8pM=; b=S/uiw25wXFQM228tS0nppFUzq+HQ0hVJxXIqL1vyfezbnYJRmC/InwaaJV5viKKo6L 9gwP1wMCy9QtbmuBYwwEFrkwNVaGdgZMUBW6xWDYrbVjZynz9l60fPsXorogeKNHXBIu K9ptafyFu9e1l1FkSuI5zpc855R/7ORyAU/qVQ8Zd1EUqIK1HbUDpnGIgbs1YKHYOh6j rA8rIx134P9RGjU5zspej8pqS/iyjo5PssLxmBbyReNcqKjJltBwuWYb/hEVI52MIkhr 8FpcLdIHayaOVzKR/yLtlKBuaUv7YwwW5IKxrkVs7D+gAeUGIMWB6nlX0UmLWHVpjxb0 Aq4g== X-Received: by 10.52.35.105 with SMTP id g9mr4388282vdj.61.1410554232490; Fri, 12 Sep 2014 13:37:12 -0700 (PDT) Original-Received: by 10.220.241.138 with HTTP; Fri, 12 Sep 2014 13:36:52 -0700 (PDT) In-Reply-To: X-Google-Sender-Auth: DSyUNiSJEtZA70KlDhTH3wWxALw X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:93313 Archived-At: 2014-09-12 19:28 GMT+02:00 Stefan Monnier : >> + (ignore-errors >> + ;; In case some problem might happen. E.g. We can't >> + ;; find an `svn' executable. We used to only catch >> + ;; `file-error' but when the process is run on a >> + ;; remote host via Tramp, the error is only reported >> + ;; via the exit status which is turned into an >> + ;; `error' by vc-do-command. >> + (cd dir) >> + (vc-svn-command t t file "status" "-v")))) > > Sounds OK, but I suggest we use with-demoted-errors, so the user is told > in case there's a problem. Makes sense, thanks for looking at it. I'll submit a new patch the next da= ys. Em=C3=ADlio