summaryrefslogtreecommitdiff
path: root/lisp/vc/vc-svn.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/vc/vc-svn.el')
-rw-r--r--lisp/vc/vc-svn.el7
1 files changed, 7 insertions, 0 deletions
diff --git a/lisp/vc/vc-svn.el b/lisp/vc/vc-svn.el
index a94bf0d6117..39b107b81b5 100644
--- a/lisp/vc/vc-svn.el
+++ b/lisp/vc/vc-svn.el
@@ -215,6 +215,9 @@ If you want to force an empty list of arguments, use t."
(setq result (cons (list filename state) result)))))
(funcall callback result)))
+;; -dir-status called from vc-dir, which loads vc, which loads vc-dispatcher.
+(declare-function vc-exec-after "vc-dispatcher" (code))
+
(defun vc-svn-dir-status (dir callback)
"Run 'svn status' for DIR and update BUFFER via CALLBACK.
CALLBACK is called as (CALLBACK RESULT BUFFER), where
@@ -293,6 +296,8 @@ RESULT is a list of conses (FILE . STATE) for directory DIR."
(vc-svn-command "*vc*" 0 "." "checkout"
(concat "file://" default-directory "SVN")))
+(autoload 'vc-switches "vc")
+
(defun vc-svn-register (files &optional rev comment)
"Register FILES into the SVN version-control system.
The COMMENT argument is ignored This does an add but not a commit.
@@ -493,6 +498,8 @@ or svn+ssh://."
(require 'add-log)
(set (make-local-variable 'log-view-per-file-logs) nil))
+(autoload 'vc-setup-buffer "vc-dispatcher")
+
(defun vc-svn-print-log (files buffer &optional shortlog start-revision limit)
"Print commit log associated with FILES into specified BUFFER.
SHORTLOG is ignored.