##// END OF EJS Templates
Try to find diffstat in PATH before calling it...
Try to find diffstat in PATH before calling it At least on Solaris, /bin/sh will print a "command not found" message even if we redirect stderr.

File last commit:

r1473:7d66ce98 default
r4316:6e4334be default
Show More
test-hgrc
7 lines | 106 B | text/plain | TextLexer
#!/bin/sh
mkdir t
cd t
hg init
echo "invalid" > .hg/hgrc
hg status 2>&1 |sed -e "s:/.*\(/t/.*\):...\1:"