svn: E200030: database disk image is malformed
<p>Occasionally I will try to commit a file and receive the error:</p>

<pre><code>Transmitting file data .svn: E200030: Commit failed (details follow):
svn: E200030: database disk image is malformed
</code></pre>

<p><a href="https://stackoverflow.com/a/15874781/6600111">This answer</a> recommends running the following:</p>

<pre><code>$ sqlite3 .svn/wc.db "pragma integrity_check"
</code></pre>

<p>I do this and simply get the following:</p>

<pre><code>ok
</code></pre>

<p>The same answer recommends checking out a fresh copy into a different directory, than copying the <code>.svn</code> directory back into the current directory. I also try this, but get the same error:</p>

<pre><code>$ svn co $URL /tmp/svn-tmp
$ rm -rf .svn
$ cp -r /tmp/svn-tmp/.svn .
$ svn ci -F svn-commit.txt
Transmitting file data .svn: E200030: Commit failed (details follow):
svn: E200030: database disk image is malformed
</code></pre>

<p>I can usually track down the problem to a single file that I am trying to commit, and it is often a single character in that file that needs to be deleted or replaced; often it is whitespace. This happens even if files are only edited on OS X and Linux, not Windows. The issue happens on different systems and different versions of SVN (1.7 and 1.8).</p>

<p>Most recently I noticed that if I tried to make the same change (replace the number 3 with the number 4) to the same file (a package.json) on two different systems (one OS X, one Linux) and two different versions of SVN (1.8 and 1.7 respectively), the issue happened in both cases.</p>

<p>Is there anything else I can do to try to diagnose these issues?</p>