Function: vc-bzr-resolve-when-done

vc-bzr-resolve-when-done is a byte-compiled function defined in vc-bzr.el.gz.

Signature

(vc-bzr-resolve-when-done)

Documentation

Call "bzr resolve" if the conflict markers have been removed.

Source Code

;; Defined in /usr/src/emacs/lisp/vc/vc-bzr.el.gz
(defun vc-bzr-resolve-when-done ()
  "Call \"bzr resolve\" if the conflict markers have been removed."
  (save-excursion
    (goto-char (point-min))
    (unless (re-search-forward "^<<<<<<< " nil t)
      (vc-bzr-command "resolve" nil 0 buffer-file-name)
      ;; Remove the hook so that it is not called multiple times.
      (remove-hook 'after-save-hook #'vc-bzr-resolve-when-done t))))