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