.editorconfig
author Pierre-Yves David <pierre-yves.david@octobus.net>
Thu, 10 Oct 2019 00:06:41 +0200
changeset 43145 4296cc3c4ae1
parent 38293 1d6066336d7b
child 45411 c25efc468a49
permissions -rw-r--r--
changelog: make copies related function return None or a valid value With the previous code, existing but empty value were not "decoded", leading to the method returning one of `None`, some valid value (`list` or `dict`) or `b''`. On a general basis, not explicitly checking for None is a source of bugs. Having a clean return types will help the side-data copies code in future changesets. Differential Revision: https://phab.mercurial-scm.org/D7037

# 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