.editorconfig
author Julien Cristau <jcristau@mozilla.com>
Fri, 07 Feb 2020 15:55:21 +0100
changeset 44279 e48a996d12bc
parent 38281 1d6066336d7b
child 45392 c25efc468a49
permissions -rw-r--r--
hghave: cache the result of gethgversion hghave --test-features calls it 90 times, each one calling hg --version which takes a tenth of a second on my workstation, adding up to about 10s win on test-hghave.t. Fixes https://bugs.debian.org/939756 Differential Revision: https://phab.mercurial-scm.org/D8092

# 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