unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* vc with svn and git
@ 2017-02-24 15:23 Alfred M. Szmidt
  2017-02-24 15:35 ` Andreas Schwab
  2017-02-24 17:28 ` Karl Fogel
  0 siblings, 2 replies; 17+ messages in thread
From: Alfred M. Szmidt @ 2017-02-24 15:23 UTC (permalink / raw)
  To: emacs-devel

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  <ams@gnu.org>  (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).



^ permalink raw reply related	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2017-02-28 18:32 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-24 15:23 vc with svn and git Alfred M. Szmidt
2017-02-24 15:35 ` Andreas Schwab
2017-02-24 15:54   ` Alfred M. Szmidt
2017-02-24 17:28 ` Karl Fogel
2017-02-24 17:49   ` Stefan Monnier
2017-02-24 18:11   ` Alfred M. Szmidt
2017-02-24 18:45     ` Karl Fogel
2017-02-24 20:04       ` Richard Copley
2017-02-24 21:16         ` Stefan Monnier
2017-02-24 21:44           ` Richard Copley
2017-02-25  0:11             ` Stefan Monnier
2017-02-25  8:01           ` Michael Albinus
2017-02-25 13:06             ` Stefan Monnier
2017-02-25 13:18               ` Michael Albinus
2017-02-25 13:36               ` tramp-sh-handle-vc-registered (was: vc with svn and git) Stefan Monnier
2017-02-28 14:54       ` vc with svn and git Alfred M. Szmidt
2017-02-28 18:32         ` Karl Fogel

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).