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

diff binary properties

From: Daniel Shahaf <danielsh_at_elego.de>
Date: Wed, 24 Apr 2013 18:09:27 +0300

With trunk:

% head -c 1024 /dev/urandom > 1
% $svn ps -F ./1 k ./
property 'k' set on '.'
% $svn diff | perl -lpe 's/[^ -~]/%/g'
Index: .
===================================================================
--- . (revision 1471438)
+++ . (working copy)

Property changes on: .
___________________________________________________________________
Added: k
## -0,0 +1,13 ##
+%%R%%W%2%%%%%N%%%O%%%2%%'j1%2%%%%%h%%%%%%%%%%%L-%%nAD%%%n%%%%%%%%2%z%%%%^%.}h%%%%k0%%%%x%%=%g%Y%%%%%*
% $svn add 1
A (bin) 1
% $svn diff 1
Index: 1
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream

It seems 'diff' should apply the 'binary?' heuristic to properties too.

Daniel
(I'd file an issue, unless someone fixes the problem before I get to
doing that... :) )
Received on 2013-04-24 17:10:05 CEST

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

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