Fix a parenthesization error in the code for repairing some vc.el

functions.

[git-p4: depot-paths = "//guest/Ben_Key/vc-p4/,//guest/jonathan_kamens/vc-p4/,//guest/magnus_henoch/vc-p4/": change = 1216]
This commit is contained in:
Jonathan Kamens 2002-01-05 22:13:56 -08:00
parent d128cfaad4
commit 96df41611e

View file

@ -112,18 +112,18 @@
;; return version of starting point ;; return version of starting point
(vc-branch-part branch))))))) (vc-branch-part branch)))))))
(if (not (fboundp 'vc-default-resolve-select-yours)) (if (fboundp 'vc-default-resolve-select-yours) t
(defun vc-maybe-resolve-conflicts (file status &optional name-A name-B) (defun vc-maybe-resolve-conflicts (file status &optional name-A name-B)
(vc-resynch-buffer file t (not (buffer-modified-p))) (vc-resynch-buffer file t (not (buffer-modified-p)))
(if (zerop status) (message "Merge successful") (if (zerop status) (message "Merge successful")
(if (fboundp 'smerge-mode) (smerge-mode 1)) (if (fboundp 'smerge-mode) (smerge-mode 1))
(if (y-or-n-p "Conflicts detected. Resolve them now? ") (if (y-or-n-p "Conflicts detected. Resolve them now? ")
(if (and (fboundp 'smerge-ediff) (if (and (fboundp 'smerge-ediff)
(not (vc-find-backend-function (vc-backend file) (not (vc-find-backend-function (vc-backend file)
'resolve-select-yours))) 'resolve-select-yours)))
(smerge-ediff) (smerge-ediff)
(vc-resolve-conflicts name-A name-B)) (vc-resolve-conflicts name-A name-B))
(message "File contains conflict markers")))) (message "File contains conflict markers"))))
(defun vc-default-resolve-select-yours (backend) (defun vc-default-resolve-select-yours (backend)
(goto-char (point-min)) (goto-char (point-min))