From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ams@gnu.org (Alfred M. Szmidt) Newsgroups: gmane.emacs.devel Subject: vc with svn and git Date: Fri, 24 Feb 2017 10:23:25 -0500 Message-ID: NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1487949820 19579 195.159.176.226 (24 Feb 2017 15:23:40 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 24 Feb 2017 15:23:40 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 24 16:23:37 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1chHiU-0004Af-Uk for ged-emacs-devel@m.gmane.org; Fri, 24 Feb 2017 16:23:31 +0100 Original-Received: from localhost ([::1]:38071 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chHia-0000oi-S4 for ged-emacs-devel@m.gmane.org; Fri, 24 Feb 2017 10:23:36 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57808) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chHiR-0000m9-7X for emacs-devel@gnu.org; Fri, 24 Feb 2017 10:23:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1chHiQ-0004zl-8G for emacs-devel@gnu.org; Fri, 24 Feb 2017 10:23:27 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40266) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1chHiQ-0004zg-4u for emacs-devel@gnu.org; Fri, 24 Feb 2017 10:23:26 -0500 Original-Received: from ams by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1chHiP-0008Ip-RJ for emacs-devel@gnu.org; Fri, 24 Feb 2017 10:23:25 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:212568 Archived-At: If /home/ams contains a .svn directory, doing (vc-dir "/home/ams/emacs") (which is git repository) results in: svn: warning: W155010: The node '/home/ams/emacs' was not found. svn: E200009: Could not display info for all targets because some targets don't exist This patch puts the SVN backend to come into effect last. 2017-02-24 Alfred M. Szmidt (tiny change) * lisp/vc/vc-hooks.el (vc-handled-backends): Check SVN backend last. diff --git a/lisp/vc/vc-hooks.el b/lisp/vc/vc-hooks.el index 47e923c209..7da1244ef5 100644 --- a/lisp/vc/vc-hooks.el +++ b/lisp/vc/vc-hooks.el @@ -107,7 +107,7 @@ vc-ignore-dir-regexp :type 'regexp :group 'vc) -(defcustom vc-handled-backends '(RCS CVS SVN SCCS SRC Bzr Git Hg Mtn) +(defcustom vc-handled-backends '(RCS CVS SCCS SRC Bzr Git Hg Mtn SVN) ;; RCS, CVS, SVN, SCCS, and SRC come first because they are per-dir ;; rather than per-tree. RCS comes first because of the multibackend ;; support intended to use RCS for local commits (with a remote CVS server).