Mercurial > hg
comparison tests/test-extdiff @ 2932:d77022db1bca
Solaris portability fixes
author | Danek Duvall <danek.duvall@sun.com> |
---|---|
date | Fri, 18 Aug 2006 10:24:04 -0700 |
parents | 8fd6925ae32f |
children | 61fcd9fac434 |
comparison
equal
deleted
inserted
replaced
2931:0843bd53dcff | 2932:d77022db1bca |
---|---|
6 | 6 |
7 hg init a | 7 hg init a |
8 cd a | 8 cd a |
9 echo a > a | 9 echo a > a |
10 hg add | 10 hg add |
11 hg extdiff -o -Nr | 11 diff -N /dev/null /dev/null 2> /dev/null |
12 if [ $? -ne 0 ]; then | |
13 opt="-p gdiff" | |
14 fi | |
15 hg extdiff -o -Nr $opt | |
12 | 16 |
13 echo "[extdiff]" >> $HGTMP/.hgrc | 17 echo "[extdiff]" >> $HGTMP/.hgrc |
14 echo "cmd.falabala=echo" >> $HGTMP/.hgrc | 18 echo "cmd.falabala=echo" >> $HGTMP/.hgrc |
15 echo "opts.falabala=diffing" >> $HGTMP/.hgrc | 19 echo "opts.falabala=diffing" >> $HGTMP/.hgrc |
16 | 20 |