Issue 194 in svnbook: Fix <note> about the use of external diff tools: 'svn diff --force' allows it!

svnbook at googlecode.com svnbook at googlecode.com
Fri Apr 19 11:42:45 CDT 2013


Status: New
Owner: cmpilato
Labels: Type-Defect Priority-Medium Milestone-en-1.8

New issue 194 by cmpilato: Fix <note> about the use of external diff  
tools: 'svn diff --force' allows it!
http://code.google.com/p/svnbook/issues/detail?id=194

In chapter 7, we find this note:

{{{
     <note>
       <para>The decision on when to fire off a contextual two- or three-way
         diff as part of a larger Subversion operation is made entirely
         by Subversion and is affected by, among other things, whether
         the files being operated on are human-readable as
         determined by their <literal>svn:mime-type</literal> property.
         This means, for example, that even if you had the niftiest
         Microsoft Word-aware differencing or merging tool in the
         universe, it would never be invoked by Subversion as long as
         your versioned Word documents had a configured MIME type that
         denoted that they were not human-readable (such as
         <literal>application/msword</literal>).  For more about MIME
         type settings, see <xref
         linkend="svn.advanced.props.special.mime-type"/></para>
     </note>
}}}

What is *not* noted is that the --force option to 'svn diff' will override  
and short-circuit this mime-type detection logic!

-- 
You received this message because this project is configured to send all  
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings




More information about the svnbook-dev mailing list