[asterisk-dev] Subversion repository now requires properties on text files

Kevin P. Fleming kpfleming at digium.com
Tue Feb 14 12:43:46 MST 2006


I have just installed a pre-commit script in the Subversion repositories
that checks newly added files for a few things:

1) the svn:mime-type property must be set. Common choices are either
'text/plain' or 'application/octet-stream'. If you forget to set the
property, the script will remind you of these values.

2) text files must have 'svn:eol-style' and 'svn:keywords' set. The
script does not currently check what the values are, but the canonical
values (use them unless you have a very good reason not to are) 'native'
for eol-style and 'Author Id Date Revision' (in any order) for keywords.

The existing files in the trunk directories have had all their
properties set to match these new rules. This should solve the problem
of newly-added files appearing to have DOS-style line endings.



More information about the asterisk-dev mailing list