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

Re: Question about propset

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2002-08-22 16:01:39 CEST

"Drew Jetter" <ajetter1@cox.net> writes:

> Hi, I just recently stumbled upon this project, and I have to say,
> it seems very cool. I have one question though....I would like to
> set a number of files as binary files. For instance, all my .dfm
> files. What is the best way to go about doing this? I would like
> to be able to do this:
>
> svn propset svn:mime-type binary/binary *.dfm
>
> But that gives me an error. Does that mean I have to type the
> command for each and every .dfm file? Thanks in advance to anyone
> replying to this....

When you 'svn add *.dfm', a heuristic should have already detected the
files as binary, and set the mime-type prop to
application/octet-stream. Did this not happen for you?

By the way, I just tried

    svn propset svn:mime-type foo/bar *.txt

And it worked just fine. 'svn propset' takes any number of targets.
What kind of error did you get? Did you forget to 'svn add' the files
first? Files can't have properties until you make the revision
control system aware of them first. :-)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Aug 22 16:04:10 2002

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.