Function: vc-hg-move-working-tree

vc-hg-move-working-tree is a byte-compiled function defined in vc-hg.el.gz.

Signature

(vc-hg-move-working-tree FROM TO)

Documentation

Implementation of move-working-tree backend function for Mercurial.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-hg.el.gz
(defun vc-hg-move-working-tree (from to)
  "Implementation of `move-working-tree' backend function for Mercurial."
  (if (vc-hg--shared-p from)
      (rename-file from (directory-file-name to) 1)
    (user-error "\
Cannot relocate first working tree because this would break other working trees")))