[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: John Szakmeister <john_at_szakmeister.net>
Date: 2005-04-28 16:12:21 CEST

Fabien COELHO wrote:
>
> Dear Madan,
>
>> [madan@madan A]$ svn ps svn:asdf "value" mu
>> 'svn:asdf' is not a valid property.
>
>
> Basically, yes.
> Well, maybe it only needs to be a warning?
>
>> [madan@madan A]$ svn ps svn:asdf "value" mu
>> WARNING 'svn:asdf' is not an svn standard property.
>
>
> Or should svn:* property be reserved, and any unknown prop coldly refused?
> Or have --force to set it anyway?

I think this would be a double-edged sword. If we reserve it, or check
for misspellings, then we potentially cause bad user interactions for
users with old clients whenever we add a new property.

Perhaps a better solution might be to check the property names in the
pre-commit hook to make sure they're valid svn properties?

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 28 17:01:28 2005

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