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