##// END OF EJS Templates
tests: force color ansi mode on Windows
tests: force color ansi mode on Windows

File last commit:

r10774:0065e6b4 default
r11141:df5d1d57 default
Show More
helpers.sh
8 lines | 291 B | application/x-sh | BashLexer
#/bin/sh
hideport() { sed "s/localhost:$HGPORT/localhost:\$HGPORT/"; }
repr() { python -c "import sys; print repr(sys.stdin.read()).replace('\\n', '\n')" }
hidehex() { python -c 'import sys, re; print re.replace("\b[0-9A-Fa-f]{12,40}", "X" * 12)' }
hidetmp() { sed "s/$HGTMP/\$HGTMP/"; }