##// END OF EJS Templates
tests: new test for mq qdiff command...
tests: new test for mq qdiff command `hg qdiff .' is supposed to work but it is currently broken. This test should help us verify when it gets fixed.

File last commit:

r2912:8fd6925a default
r2916:8ca608c1 default
Show More
test-extdiff
26 lines | 454 B | text/plain | TextLexer
#!/bin/sh
HGRCPATH=$HGTMP/.hgrc; export HGRCPATH
echo "[extensions]" >> $HGTMP/.hgrc
echo "extdiff=" >> $HGTMP/.hgrc
hg init a
cd a
echo a > a
hg add
hg extdiff -o -Nr
echo "[extdiff]" >> $HGTMP/.hgrc
echo "cmd.falabala=echo" >> $HGTMP/.hgrc
echo "opts.falabala=diffing" >> $HGTMP/.hgrc
hg falabala
hg help falabala
hg ci -d '0 0' -mtest1
echo b >> a
hg ci -d '1 0' -mtest2
hg falabala -r 0:1 || echo "diff-like tools yield a non-zero exit code"