Function: vc-bzr-root

vc-bzr-root is a byte-compiled function defined in vc-bzr.el.gz.

Signature

(vc-bzr-root FILE)

Documentation

Return the root directory of the bzr repository containing FILE.

Aliases

vc-bzr-responsible-p

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-bzr.el.gz
(defun vc-bzr-root (file)
  "Return the root directory of the bzr repository containing FILE."
  ;; Cache technique copied from vc-arch.el.
  (or (vc-file-getprop file 'bzr-root)
      (let ((root (vc-find-root file vc-bzr-admin-checkout-format-file)))
	(when root (vc-file-setprop file 'bzr-root root)))))