[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Config file problem

From: Nicolas Goutte <nicolas.goutte_at_extragroup.de>
Date: Wed, 15 Sep 2010 19:50:16 +0200

Am 15.09.2010 um 19:45 schrieb Edward Diener:

> On 9/15/2010 12:15 PM, Andy Levy wrote:
>> On Wed, Sep 15, 2010 at 12:04, Edward Diener
>> <eldlistmailingz_at_tropicsoft.com> wrote:
>>> 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 the properties on the added file; are they set?
>
> The file was never added to the repository.

The try to explicitly add the file (without a commit). Then locally
the auto-props should be set.

>
>>
>> Try this: *.hpp = svn:eol-style=native;svn:keywords=Id;svn:mime-
>> type=text/plain
>>
>> Note that there is no space after the semicolon.
>
> The same error occurs.
>

Nicolas Goutte

extragroup GmbH - Karlsruhe
Waldstr. 49
76133 Karlsruhe
Germany

Geschäftsführer: Lars Busch
Registergericht: Amtsgericht Münster / HRB: 5624
Steuer Nr.: 337/5903/0421 / UstID: DE 204607841

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2660348

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-09-15 19:50:25 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.