"svn diff" crashes (or exits with error when using external diff) when I
type the commands listed below. The "cp" is just a way of changing the
binary data in subversion_logo.eps.gz; the same thing happens if instead
I unzip the file, insert a few characters near the beginning and re-zip it.
- Julian
Reproduction recipe (in my SVN source tree, updated and built yesterday):
~/src/subversion/notes/logo> svn propget svn:mime-type
subversion_logo.eps.gz
subversion_logo.eps.gz - application/x-gzip-compressed
~/src/subversion/notes/logo> svn diff
~/src/subversion/notes/logo> svn --diff-cmd /usr/bin/diff diff
~/src/subversion/notes/logo> cp subversion_logo.ico subversion_logo.eps.gz
~/src/subversion/notes/logo> svn diff
Segmentation fault
~/src/subversion/notes/logo> svn --diff-cmd /usr/bin/diff diff
Index: subversion_logo.eps.gz
===================================================================
Binary files subversion_logo.eps.gz (revision 5039) and
subversion_logo.eps.gz (working copy) differ
subversion/libsvn_subr/io.c:1192: (apr_err=200012)
svn: Error calling external program
svn: '/usr/bin/diff' returned 2
~/src/subversion/notes/logo> svn --version
svn, version 0.18.0 (dev build)
compiled Feb 23 2003, 23:08:38
[...]
* ra_dav : Module for accessing a repository via WebDAV (DeltaV) protocol.
- handles 'http' schema
* ra_svn : Module for accessing a repository using the svn network protocol.
- handles 'svn' schema
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Feb 25 01:10:41 2003