Fixing Subversion's 'database disk image is malformed' Error in Working Copies
Subversion's 'database disk image is malformed' error means the local SQLite metadata in .svn/wc.db is damaged — not the repository. Diagnose the cause, repair with cleanup, or rebuild without losing uncommitted work.