[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RE: Silly Mozilla question.

From: Leeuw van der, Tim <tim.leeuwvander_at_nl.unisys.com>
Date: 2003-03-14 17:01:49 CET

Hmmm...

>Given that you're adding files via Mozilla, then nothing is ever going to
>set that property. But you *can* still get it set if you check out a
>working copy(*), set them, and commit the propchange back:
>
>$ svn co http://host.name/repos/path/to/html/files wc
>$ cd wc
>$ svn propset svn:mime-type text/html *.html
>$ svn commit -m "set the MIME type to text/html"
>
>And away you go :-)

Does it work with:

$ svn propset svn:mime-type text/html "*.html"

?

In other words, will svn do the filename wildcard-matching itself? That way
it will automatically put the property on any new file (hopefully, and
hopefully also on html files in sub-directories).

If I do it the way it is in the original post, the shell will expand
wildcards and it will only put the property on all html files which
currently are in the current directory.

--Tim

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Mar 14 17:02:39 2003

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.