# HG changeset patch # User Mads Kiilerich # Date 1286595370 18000 # Node ID da6693cce63548431c7109c7fe22d2a32e0be7e0 # Parent 6cc4b14fb76b23a1edee51a99c8fb5054cf0a015 tests: remove filtertmp.py and helpers.sh These nice starts ended up being replaced with globs. diff -r 6cc4b14fb76b -r da6693cce635 tests/filtertmp.py --- a/tests/filtertmp.py Fri Oct 08 22:36:10 2010 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,15 +0,0 @@ -#!/usr/bin/env python -# -# This used to be a simple sed call like: -# -# $ sed "s:$HGTMP:*HGTMP*:" -# -# But $HGTMP has ':' under Windows which breaks the sed call. -# -import sys, os - -input = sys.stdin.read() -input = input.replace(os.sep, '/') -hgtmp = os.environ['HGTMP'].replace(os.sep, '/') -input = input.replace(hgtmp, '$HGTMP') -sys.stdout.write(input) diff -r 6cc4b14fb76b -r da6693cce635 tests/helpers.sh --- a/tests/helpers.sh Fri Oct 08 22:36:10 2010 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -#/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/"; } - -hidebackup() { sed 's/\(saved backup bundle to \).*/\1/'; } - -cleanrebase() { - sed -e 's/\(Rebase status stored to\).*/\1/' \ - -e 's/\(Rebase status restored from\).*/\1/' \ - -e 's/\(saved backup bundle to \).*/\1/'; -}