##// END OF EJS Templates
filemerge: explicitly tests for None...
Pierre-Yves David -
r31436:ac7aa96e default
parent child Browse files
Show More
@@ -36,7 +36,9 b' def _toolbool(ui, tool, part, default=Fa'
36 return ui.configbool("merge-tools", tool + "." + part, default)
36 return ui.configbool("merge-tools", tool + "." + part, default)
37
37
38 def _toollist(ui, tool, part, default=None):
38 def _toollist(ui, tool, part, default=None):
39 return ui.configlist("merge-tools", tool + "." + part, default or [])
39 if default is None:
40 default = []
41 return ui.configlist("merge-tools", tool + "." + part, default)
40
42
41 internals = {}
43 internals = {}
42 # Merge tools to document.
44 # Merge tools to document.
General Comments 0
You need to be logged in to leave comments. Login now