Show More
@@ -36,7 +36,9 b' def _toolbool(ui, tool, part, default=Fa' | |||
|
36 | 36 | return ui.configbool("merge-tools", tool + "." + part, default) |
|
37 | 37 | |
|
38 | 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 | 43 | internals = {} |
|
42 | 44 | # Merge tools to document. |
General Comments 0
You need to be logged in to leave comments.
Login now