]> git.eshelyaron.com Git - emacs.git/commitdiff
(vc-svn-program): New var.
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 11 Jun 2007 18:41:09 +0000 (18:41 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 11 Jun 2007 18:41:09 +0000 (18:41 +0000)
(vc-svn-command): Use it.

lisp/ChangeLog
lisp/vc-svn.el

index 7ab55f730a344107ded25fc91a75e139a184b0d5..a9fefcfce8917fc66d9d703946a4371aff967e12 100644 (file)
@@ -1,3 +1,8 @@
+2007-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * vc-svn.el (vc-svn-program): New var.
+       (vc-svn-command): Use it.
+
 2007-06-11  Juanma Barranquero  <lekktu@gmail.com>
 
        * server.el (server-switch-buffer): Remove redundant check.
index 1538a2a1ab33cb801e106ad072db913f38b6a4c1..b109f48d91dbe28ab4553d4f3b447c272cc1b74b 100644 (file)
@@ -464,11 +464,16 @@ NAME is assumed to be a URL."
 ;;; Internal functions
 ;;;
 
+(defcustom vc-svn-program "svn"
+  "Name of the svn executable."
+  :type 'string
+  :group 'vc)
+
 (defun vc-svn-command (buffer okstatus file &rest flags)
   "A wrapper around `vc-do-command' for use in vc-svn.el.
 The difference to vc-do-command is that this function always invokes `svn',
 and that it passes `vc-svn-global-switches' to it before FLAGS."
-  (apply 'vc-do-command buffer okstatus "svn" file
+  (apply 'vc-do-command buffer okstatus vc-svn-program file
          (if (stringp vc-svn-global-switches)
              (cons vc-svn-global-switches flags)
            (append vc-svn-global-switches