##// END OF EJS Templates
mergetool: warn if ui.merge points to nonexistent tool...
Martin von Zweigbergk -
r38987:0e58c5b2 default
parent child Browse files
Show More
@@ -208,9 +208,10 b' def _picktool(repo, ui, path, binary, sy'
208 208 if uimerge:
209 209 # external tools defined in uimerge won't be able to handle
210 210 # change/delete conflicts
211 if uimerge not in names and not changedelete:
212 return (uimerge, uimerge)
213 tools.insert(0, (None, uimerge)) # highest priority
211 if check(uimerge, path, symlink, binary, changedelete):
212 if uimerge not in names and not changedelete:
213 return (uimerge, uimerge)
214 tools.insert(0, (None, uimerge)) # highest priority
214 215 tools.append((None, "hgmerge")) # the old default, if found
215 216 for p, t in tools:
216 217 if check(t, None, symlink, binary, changedelete):
@@ -1748,7 +1748,9 b' missingbinary is a merge-tool that doesn'
1748 1748 missingbinary.executable=doesnotexist
1749 1749 # hg update -C 1
1750 1750 $ hg merge -y -r 2 --config ui.merge=missingbinary
1751 couldn't find merge tool missingbinary (for pattern f)
1751 1752 merging f
1753 couldn't find merge tool missingbinary (for pattern f)
1752 1754 revision 1
1753 1755 space
1754 1756 revision 0
General Comments 0
You need to be logged in to leave comments. Login now