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

Re: Binary Files

From: Martin Tomes <lists_at_tomes.org>
Date: 2004-06-30 16:37:12 CEST

Ben Collins-Sussman wrote:

> On Wed, 2004-06-30 at 08:54, Butler, Frances H (FHB) wrote:
>
>>Can someone tell me how to tell subversion to treat pdf files as binary?
>>It apparently does not by default, as it just sent me a diff of two pdf
>>files.

You need these lines in your config file which is in
c:/Documents and Settings/<username>/Application Data/Subversion/config

### Section for configuring miscelleneous Subversion options.
[miscellany]
enable-auto-props = yes

[auto-props]
*.pdf = svn:mime-type: application/pdf

Any pdf file you add will then be treated as binary.

-- 
Martin Tomes
echo 'martin at tomes x org x uk'\
  | sed -e 's/ x /\./g' -e 's/ at /@/'
The Subversion Wiki is at http://www.subversionary.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 30 16:54:31 2004

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

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