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

Re: How can I fix mime for somes graphics binary files (illustrator, photoshop) ...

From: Andy Levy <andy.levy_at_gmail.com>
Date: 2006-11-20 17:26:45 CET

On 11/20/06, Sébastien CRAMATTE <s.cramatte@wanadoo.fr> wrote:
> Hello,
>
> I use Tortoise SVN as graphic/webdesign production stream. I've
> commited an Illustrator file, and just after a photoshop seems
> that haven't setuped the mime properly for theses files ...
>
> So how can I be sure to setup de correct mime for this kind of files ...
> I supose that I should make something for the new files and for the
> files that are already in the repository ?

Go to your TortoiseSVN settings and edit the configuration file
(alternately, open %APPDATA%\Subversion\config in any text editor).
Set auto-props to "on", then put in a line for each file type you need
to have set up automatically with a mime-type. The configuration file
is well-commented so you shouldn't have trouble adding these settings.

For existing files, you can either update this property manually, or
get svn_apply_autoprops.py and run it against your working copy after
you've set your auto-props appropriately. Be aware that it doesn't
seem to like spaces in filenames (at least the version I have
doesn't).

If check-mime.pl isn't blocking your commits for files which are
missing these properties, you'll need to figure out how to configure
these filetypes for it as well.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Mon Nov 20 17:27:00 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.