.editorconfig
author Anton Shestakov <av6@dwimlabs.net>
Thu, 09 Aug 2018 13:04:52 +0800
branchstable
changeset 38931 5caee9f923ae
parent 38281 1d6066336d7b
child 45392 c25efc468a49
permissions -rw-r--r--
hgweb: catch ParseError that's raised by revset.match() Some queries, like the demonstrated "first(::)", fail earlier than we call mfunc(), and that results in a "500 Internal Server Error". To prevent it, revset.match() also needs to be in a try-except block.

# See http://EditorConfig.org for the specification

root = true

[*.py]
indent_size = 4
indent_style = space
trim_trailing_whitespace = true

[*.{c,h}]
indent_size = 8
indent_style = tab
trim_trailing_whitespace = true

[*.t]
indent_size = 2
indent_style = space
trim_trailing_whitespace = false