[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: Butler, Frances H (FHB) <butlerfh_at_y12.doe.gov>
Date: 2004-06-30 16:45:44 CEST

Martin,

Many thanks for providing a real "how to" for this.

Frances

-----Original Message-----
From: Martin Tomes [mailto:lists@tomes.org]
Sent: Wednesday, June 30, 2004 10:37 AM
To: Ben Collins-Sussman
Cc: Butler, Frances H (FHB); 'users@subversion.tigris.org'; Campbell,
Matthew A
Subject: Re: Binary Files

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 17:03:05 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.