You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Daniel Becroft <dj...@gmail.com> on 2009/07/23 06:10:26 UTC
'svn diff' and binary files
Hey all,
I've just noticed some 'interesting' behaviour w.r.t. the way that 'svn
diff' works for binary files.
If I try and get a patch for a binary file for a specific revision:
svn diff -c X svn://....../binaryfile.dll
>
I correctly get the following output:
Index: moitaka.dll
> ===================================================================
> Cannot display: file marked as a binary type.
> svn:mime-type = application/octet-stream
>
However, I've noticed that (using ProcessMonitor from sysinternals.com),
even though it couldn't display a valid patch, both copies of the file seem
to be downloaded into %TEMP%.
Is this valid behaviour? Does 'svn diff' require both copies of the file
*before* it can determine that a diff is not possible?
Cheers,
---
Daniel Becroft
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2374667
To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].