Fix a bug in the logic for determining whether to use smerge-ediff or
backend-specific conflict resolution. [git-p4: depot-paths = "//guest/Ben_Key/vc-p4/,//guest/jonathan_kamens/vc-p4/,//guest/magnus_henoch/vc-p4/": change = 2215]
This commit is contained in:
parent
ba127bdbfb
commit
435d183a4c
1 changed files with 2 additions and 2 deletions
4
vc-p4.el
4
vc-p4.el
|
@ -200,8 +200,8 @@ visiting FILE."
|
|||
(if (fboundp 'smerge-mode) (smerge-mode 1))
|
||||
(if (y-or-n-p "Conflicts detected. Resolve them now? ")
|
||||
(if (and (fboundp 'smerge-ediff)
|
||||
(not (vc-find-backend-function (vc-backend file)
|
||||
'resolve-select-yours)))
|
||||
(not (fboundp (vc-make-backend-sym (vc-backend file)
|
||||
'resolve-select-yours))))
|
||||
(smerge-ediff)
|
||||
(vc-resolve-conflicts name-A name-B))
|
||||
(message "File contains conflict markers"))))
|
||||
|
|
Loading…
Reference in a new issue