Function: vc-svn-repository-url

vc-svn-repository-url is a byte-compiled function defined in vc-svn.el.gz.

Signature

(vc-svn-repository-url FILE-OR-DIR &optional REMOTE-NAME)

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-svn.el.gz
(defun vc-svn-repository-url (file-or-dir &optional _remote-name)
  (let ((default-directory (vc-svn-root file-or-dir)))
    (with-temp-buffer
      (vc-svn-command (current-buffer) 0 nil
                      "info" "--show-item" "repos-root-url")
      (buffer-substring-no-properties (point-min) (1- (point-max))))))