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

svnlook diff doesn't ignore binary files

From: Dang Nguyen <haidangwa_at_comcast.net>
Date: Fri, 18 Jul 2008 17:11:58 -0700

I'm running Subversion 1.5.0 on Windows Server 2003. My post commit script
usually sends me an email with each commit and shows me the files committed
and their diffs (normal mailer stuff). I noticed a couple of times that I
wasn't getting the notifications. Digging into this, I found that the
"svnlook diff" portion of my script was failing, because svnlook was not
ignoring the binary files being committed. Some of the files being
committed are pdf's and "svnlook diff" tries to show me the changes between
the previous version and the new version.

 

We recently moved from a Linux server on 1.3.2 to the current Windows server
and I never had this problem. Researching into this, I've read that svnlook
uses the svn:mime-type property to determine the file type. None of these
files have this property set, but they weren't set explicitly when we were
on the Linux server either.

 

Is this a regression in 1.5.0 or do I need to configure something with the
new Windows server?

 

 
Received on 2008-07-19 02:12:34 CEST

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.