.editorconfig
author Sune Foldager <cryo@cyanite.org>
Thu, 14 Jun 2018 13:44:42 +0200
changeset 38307 519b46a8f4d2
parent 38281 1d6066336d7b
child 45392 c25efc468a49
permissions -rw-r--r--
hgweb: propagate http headers from ErrorResponse for web interface commands This makes it possible for e.g. authorization hooks to provide appropriate headers to make the web browser ask for credentials. It's done in the same way as the existing code in wireprotoserver.py.

# 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