changeset 12641:da6693cce635

tests: remove filtertmp.py and helpers.sh These nice starts ended up being replaced with globs.
author Mads Kiilerich <mads@kiilerich.com>
date Fri, 08 Oct 2010 22:36:10 -0500
parents 6cc4b14fb76b
children bb35840e965c
files tests/filtertmp.py tests/helpers.sh
diffstat 2 files changed, 0 insertions(+), 32 deletions(-) [+]
line wrap: on
line diff
--- 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)
--- 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/';
-}