On 9/15/2010 12:17 PM, Nicolas Goutte wrote:
> Am 15.09.2010 um 18:04 schrieb Edward Diener:
>
>> I modified the TSVN config file to enable auto properties with
>> "enable-auto-props = yes" and add auto properties for various file
>> types. Yet when I try to add a file to a repository I get a message
>> telling me the commit failed because "svn:mime-type is not set". The
>> commit has a pre-commit hook which checks for it. My config file is:
>>
>>
>
> [...]
>
>> The error message is:
>>
>> "Commit failed (details follow):
>> Commit blocked by pre-commit hook (exit code 1) with output:
>> /home/subversion/boost/hooks/check-mime-type.pl:
>>
>> sandbox/variadic_macro_data/boost/variadic_macro_data/detail/
>> VMDDetail.hpp
>> :
>> svn:mime-type is not set"
>>
>> The file I am attempting to commit has an .hpp extension. Anybody have
>> any idea why this is not working ?
>
> Check with TortoiseSVN if the property was added, when the file has
> benn added. So you better know if the problem is more client side or
> server side.
The file never gets added to the repository because of the error.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2660347
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-09-15 19:50:13 CEST