emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

vc with svn and git


From: Alfred M. Szmidt
Subject: vc with svn and git
Date: Fri, 24 Feb 2017 10:23:25 -0500

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  <address@hidden>  (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).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]