diff -r 0843bd53dcff -r d77022db1bca tests/test-extdiff --- a/tests/test-extdiff Fri Aug 18 10:05:44 2006 -0700 +++ b/tests/test-extdiff Fri Aug 18 10:24:04 2006 -0700 @@ -8,7 +8,11 @@ cd a echo a > a hg add -hg extdiff -o -Nr +diff -N /dev/null /dev/null 2> /dev/null +if [ $? -ne 0 ]; then + opt="-p gdiff" +fi +hg extdiff -o -Nr $opt echo "[extdiff]" >> $HGTMP/.hgrc echo "cmd.falabala=echo" >> $HGTMP/.hgrc