forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: Diffs for PDF? (was Re: svn commit: r425386 [5/40])
Date Tue, 25 Jul 2006 15:32:20 GMT
El mar, 25-07-2006 a las 17:09 +0200, Josias Thöny escribió:
> On Tue, 2006-07-25 at 16:53 +0200, Thorsten Scherler wrote:
> > Hi all,
> > 
> > why are diffs created for pdf?
> > 
> > Has somebody an idea?
> 
> It happens when the svn:mimetype property is not set correctly.
> 
> You can set it with
> svn propset svn:mimetype application/pdf foo.pdf
> 
> The best way is to use the auto property in the subversion config file,
> then it will be set automatically when you add a new pdf:
> 
> *.pdf = svn:mime-type=application/pdf

thorsten@cartman:~$ cat .subversion/config|grep pdf
*.pdf = svn:mime-type=application/pdf

Yeah. 

> hth,
> Josias

:) 

Good to see you here as well.

Yeah you are right the pdf had no mimetype set.

I did now 
find . -name "*.pdf"|awk '{print "svn propset svn:mimetype
application/pdf "$1}'|sh

in lenya/site this will hopefully fix it.

Thanks.

salu2
-- 
Thorsten Scherler
COO Spain
Wyona Inc.  -  Open Source Content Management  -  Apache Lenya
http://www.wyona.com                   http://lenya.apache.org
thorsten.scherler@wyona.com                thorsten@apache.org


Mime
View raw message