On Thu, Apr 11, 2002 at 10:17:03AM -0500, firstname.lastname@example.org wrote:
> Marcus Comstedt <email@example.com> writes:
> > START: diff_tests.py
> > ['/usr/bin/diff: illegal option -- u\n', 'usage: diff [-bitw] [-c | -e | -f | -h | -n] file1 file2\n', ' diff [-bitw] [-C number] file1 file2\n', ' diff [-bitw] [-D string] file1 file2\n', '
> > diff [-bitw] [-c | -e | -f | -h | -n] [-l] [-r] [-s] [-S name] directory1 directory2\n']
> > FAIL: diff_tests.py 1: update a file
> > etc etc. There are two possible solutions
> > 1) If svn diff really needs GNU diff, then it should run GNU diff
> > (gdiff on my system) and not any old /usr/bin/diff.
> > 2) If svn diff doesn't really need GNU diff, then it should not assume
> > GNU diff by using the -u flag without checking first.
> We *do* require GNU diff, and `configure' should be testing that you
> have such. Wonder what's going on...
Maybe sussman remembers better, but what I thought happened was that when we
switched to using diff3, we decided that we still needed gnu diff (since diff3
runs it under the hood), but we could you any diff for svn diff. Hence the
I think we are on the right track and what is needed is a removal of the -u
passed to to diff, and a way to specify in ~/.subversion/options to pass
-X"-u" to svn diff by default.
Kevin Pilch-Bisson http://www.pilch-bisson.net
"Historically speaking, the presences of wheels in Unix
has never precluded their reinvention." - Larry Wall
Received on Thu Apr 11 17:50:05 2002
- application/pgp-signature attachment: stored