Mercurial > public > mercurial-scm > hg
diff mercurial/filemerge.py @ 16256:c655e4acaa82
merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 13 Mar 2012 16:29:13 -0500 |
parents | 1970e6f61009 c7eef052c9e3 |
children | 9a2cf955db84 |
line wrap: on
line diff
--- a/mercurial/filemerge.py Mon Mar 12 17:05:42 2012 -0500 +++ b/mercurial/filemerge.py Tue Mar 13 16:29:13 2012 -0500 @@ -107,8 +107,11 @@ 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"