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

Re: warn about misspelled props?

From: Fabien COELHO <fabien_at_coelho.net>
Date: 2005-04-28 12:39:38 CEST

Dear Tobias,

>> A small feature that would help prevent mispelling props:
>>
>> When properties are modified, it would be nice to check for the property
>> name and display a warning if it does not match, esp. when the property
>> starts with "svn:" hence is expected to refer to a standard prop.
>
> This sounds like the perfect job for a pre-commit hook script.

I feel pre-commit time is a little too late.

It looks better if the warning appears as soon as the pset is performed.

Also, I think it could only be a warning (someone could wish to put a non
standard svn:* keyword). ISTM that commit time would rather suggest to
trigger an error, or to let it pass and another commit will be needed.

> There's some sample code in tools/hook-scripts if you'd like to write
> one yourself. If you do, we'd be happy to add it to tools/hook-scripts.
> It would be a nice addition.

I can do that, but for me the warning really belongs to the client side.

-- 
Fabien
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 28 12:40:55 2005

This is an archived mail posted to the Subversion Dev mailing list.

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