Return-Path: X-Original-To: apmail-subversion-commits-archive@minotaur.apache.org Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 940881084F for ; Fri, 20 Sep 2013 21:49:22 +0000 (UTC) Received: (qmail 26039 invoked by uid 500); 20 Sep 2013 21:49:22 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 25846 invoked by uid 500); 20 Sep 2013 21:49:16 -0000 Mailing-List: contact commits-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@subversion.apache.org Delivered-To: mailing list commits@subversion.apache.org Received: (qmail 25837 invoked by uid 99); 20 Sep 2013 21:49:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Sep 2013 21:49:14 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 20 Sep 2013 21:49:12 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id F408E238883D; Fri, 20 Sep 2013 21:48:50 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1525151 - /subversion/trunk/contrib/client-side/emacs/vc-svn.el Date: Fri, 20 Sep 2013 21:48:50 -0000 To: commits@subversion.apache.org From: mattiase@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20130920214850.F408E238883D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: mattiase Date: Fri Sep 20 21:48:50 2013 New Revision: 1525151 URL: http://svn.apache.org/r1525151 Log: Since "svn status" is run for every file because of the removed check for .svn in every directory, don't complain if it fails. The check is made more robust by adding @ to the file name, for files whose names contain that character. * contrib/client-side/emacs/dsvn.el (vc-svn-run-status): Append @ to the file name. (vc-svn-parse-status): Don't complain on error. Suggested by: Karl Berry Modified: subversion/trunk/contrib/client-side/emacs/vc-svn.el Modified: subversion/trunk/contrib/client-side/emacs/vc-svn.el URL: http://svn.apache.org/viewvc/subversion/trunk/contrib/client-side/emacs/vc-svn.el?rev=1525151&r1=1525150&r2=1525151&view=diff ============================================================================== --- subversion/trunk/contrib/client-side/emacs/vc-svn.el (original) +++ subversion/trunk/contrib/client-side/emacs/vc-svn.el Fri Sep 20 21:48:50 2013 @@ -162,7 +162,7 @@ See `vc-svn-parse-status' for a descript (let ((status (apply 'call-process vc-svn-program-name nil t nil (append '("status" "-v") (if update '("-u") '()) - (list file))))) + (list (concat file "@")))))) (goto-char (point-min)) (if (not (equal 0 status)) ; not zerop; status can be a string ;; If you ask for the status of a file that isn't even in a @@ -205,7 +205,8 @@ If the file is newly added, LOCAL is \"0 (match-string 3))) ((looking-at "^I +") nil) ;; An ignored file ((looking-at " \\{40\\}") nil) ;; A file that is not in the wc nor svn? - (t (error "Couldn't parse output from `svn status -v'"))))) + ;; Since svn status is run on every file, don't complain if it fails. + (t nil)))) (defun vc-svn-parse-state-only ()