diff --git a/mercurial/filemerge.py b/mercurial/filemerge.py --- a/mercurial/filemerge.py +++ b/mercurial/filemerge.py @@ -97,8 +97,11 @@ def _picktool(repo, ui, path, binary, sy if check(t, None, symlink, binary): toolpath = _findtool(ui, t) return (t, '"' + toolpath + '"') - # internal merge as last resort - return (not (symlink or binary) and "internal:merge" or None, None) + + # internal merge or prompt as last resort + if symlink or binary: + return "internal:prompt", None + return "internal:merge", None def _eoltype(data): "Guess the EOL type of a file"