[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: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2005-04-28 21:44:55 CEST

kfogel@collab.net wrote:
>>>In my short history with svn, I have seen: svn:ingore, svn:external,
>>>svn:eolstyle... things like that.
>
> Ideally, this would be caught by our client libraries. After all,
> Subversion owns the "svn:*" space. We can disallow properties as well
> as allow them, and catching obvious errors as early as possible is
> always nice.
>
> The problem is coming up with a statistically useful set of
> misspellings. Obviously, we can't just prohibit any "svn:" property
> we don't know about, because then older clients wouldn't work with
> future properties that haven't been invented yet.

If we want to fix this in the client, and I'd agree it would be nice to do so,
then the way to do it is like the original poster said: catch any unknown
"svn:*" property name, and either just give a warning but accept it, or error
unless "--force" was given.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 28 22:26:57 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.