Property values for boolean properties.
From: Karl Fogel <kfogel_at_red-bean.com>
Date: 2007-06-18 05:57:50 CEST
Subversion has two versioned properties interpreted as booleans --
Their property values are always normalized to "*", no matter what
$ svn propset svn:needs-lock "StrawberryFieldsForever" artwork.jpg
This presents users with the conundrum of what property value to use.
$ svn propset svn:executable ON somescript
But the problem is that the word "off" doesn't turn the property off;
I'm not sure what we can do about this. Obviously, "off" doesn't mean
svn propset on artwork.jpg --> sets the property
svn propset off artwork.jpg --> deletes the property
...with the second two being special cases.
Yes, yes, I realize that's lame. Thoughts? Creative solutions?
-Karl
---------------------------------------------------------------------
|
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.