[svnbook] r4382 committed - Finish issue 183 ("Document behaviour of 'svn diff' and 'svn blame'...

svnbook at googlecode.com svnbook at googlecode.com
Thu Jan 31 15:21:58 CST 2013

Revision: 4382
Author:   cmpilato at gmail.com
Date:     Thu Jan 31 13:21:47 2013
Log:      Finish issue 183 ("Document behaviour of 'svn diff' and 'svn  
with binary mime-types").

* en/book/ch03-advanced-topics.xml
   (svn.advanced.props.special.mime-type): Mention the effect of a
     binary MIME type property on diff and annotate commands.



--- /trunk/en/book/ch03-advanced-topics.xml	Tue Jan 29 10:10:34 2013
+++ /trunk/en/book/ch03-advanced-topics.xml	Thu Jan 31 13:21:47 2013
@@ -1985,6 +1985,22 @@
          attempts at performing contextual merges on files that simply
          cannot be contextually merged.</para>

+      <para>Additionally, since the acts of displaying line-based
+        differences and line-based change attribution are, rather
+        obviously, dependent on there being a meaningful definition
+        of <quote>line</quote> for a given file, files with nontextual
+        MIME types will by default trigger errors when used as the
+        targets of <command>svn diff</command> and <command>svn
+        annotate</command> operations.  This can be especially
+        frustrating for users with XML files whose
+        <literal>svn:mime-type</literal> property is set to something
+        such as <literal>application/xml</literal> which is not
+        unambiguously human-readable and as such is treated as
+        nontextual by Subversion.  Fortunately, those subcommands
+        offer a <option>--force</option> option for forcing
+        Subversion to attempt the operations in spite of the apparent
+        non-human-readability of the files.</para>
          <para>The <literal>svn:mime-type</literal> property, when set
            to a value that does not indicate textual file contents, can

More information about the svnbook-dev mailing list