.editorconfig
author Anton Shestakov <av6@dwimlabs.net>
Thu, 18 Jul 2019 17:10:38 +0800
changeset 42699 911e25dc9d8c
parent 38281 1d6066336d7b
child 45392 c25efc468a49
permissions -rw-r--r--
revset: drop argument when it's None getstack's definition is `getstack(repo, rev=None)`, so providing None explicitly is unnecessary. Moreover, when x is not None, it's definitely not a revision but a part of a parsed tree of revset arguments. Differential Revision: https://phab.mercurial-scm.org/D6707

# 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