[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

GNU diff or not GNU diff, that is the question...

From: Marcus Comstedt <marcus_at_mc.pp.se>
Date: 2002-04-11 16:57:20 CEST

Hi.

I've been off the list for a while because the importer I was using to
read it broke down (I've subscribed via normal email now), so my
apologies if this has already been hashed through.

Nearly all testsuite tests now work again after the "new commit
system" hullabaloo, but diff_tests.py is still a no-go for me, and
that for a very simple reason:

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.

  // Marcus

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 11 17:00:23 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.