auto_props and setting the same property multiple times?

Gert Kello gert.kello at mail.ee
Mon Jan 29 06:06:11 CST 2007


> a bitmap file is binary and will get the mime-type: 
> "svn:mime-type=application/octet-stream"
> from the auto_props it will get "svn:mime-type=image/bmp".

 From SVN manual "For example, if a file's svn:mime-type property is set 
to a non-text MIME type (generally, something that doesn't begin with 
text/, though there are exceptions), Subversion will assume that the 
file contains binary—that is, not human-readable—data."
(http://svnbook.red-bean.com/nightly/en/svn.advanced.props.file-portability.html#svn.advanced.props.special.mime-type)

AFAIK, there should be only one mime type per file - it does not have 
sense to have multiple of them.
> Can both settings exists at the same time?
> Must both settings be set in order to treat the file as binary?
> How is the list of properties assigned? Separated by semicolon or 
> multiline?

I think that all properties are "unique" - in the sense that You can 
apply one property to a file only once. The property can be multiline, 
yes. But how the value of property is handled depends entirely on the 
tool who uses the property.

> Are some properties defined to be unique and others not? E.g. the 
> "svn:executable" does not have a value.

There are couple of properties where the value is ignored: 
"svn:executable", "svn:needs-lock"

-- 
Gert



More information about the vss2svn-users mailing list