Hari - you seem to be right. I really thought there was a way to
configure this on the server-side - I mixed up the client and server
configurations in this regard.
Perhaps its possible to do this using a pre-commit hook though?
Erik
On Mar 24, 2005, at 1:26 AM, Hari Kodungallur wrote:
Hi Erik,
We needed this feature ourselves and I could not find anyway to set a
server-side defaults for mime-types. AFAIK svn does not offer that
feature yet.
However, we can do that on the client side using the [auto-props]
section in the client configuration file (location:
$HOME/.subversion/config). But again the catch is that this will be
effective only on files that are newly *added* by that user. Does not
affect modified files.
rgds
-Hari
I'm sure the file is fine in Subversion. You may need to do an svn
propset:
svn propset svn:mime-type "application/pdf" i18n.pdf
(or whatever MIME type you like)
There is a way to have defaults set for specific file types on the
server so this wouldn't be needed.
Erik