Hi,
I spent some time trying to figure out why our commit emails contained
differences even for binary files like MSWord documents. Eventually
I realized that 'svnlook diff' looks at the svn:mime-type keywords
to determine whether to explicitly show the diff.
This small fact is not documented in the Subversion book, so here's
a tiny patch to fix that.
These files had no MIME type because they were imported from a CVS
repository (note to Karl: does svn2cvs apply the same MIME type
heuristic that 'svn add' does?)
Also, I wrote a simple script that slurps in "mime.types" files (in
Apache httpd's format) and then scans a working hierarchy, setting
svn:mime-type for all files with recognized suffixes.. might be
useful for the SVN utilities project?
Cheers,
-Archie
__________________________________________________________________________
Archie Cobbs * CTO, Awarix * http://www.awarix.com
Index: ch09.xml
===================================================================
--- ch09.xml (revision 9984)
+++ ch09.xml (working copy)
@@ -4665,6 +4665,10 @@
@@ -0,0 +1 @@
+Don't forget the mayo!
+Modified: trunk/vendors/deli/logo.jpg
+==============================================================================
+(Binary files differ)
+
Deleted: trunk/vendors/deli/chips.txt
==============================================================================
@@ -4672,6 +4676,10 @@
==============================================================================
</screen>
+ <para>
+ For files with non-text MIME types the actual differences
+ are not explicitly shown.
+ </para>
</refsect1>
</refentry>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 15 03:34:58 2004