Show More
@@ -9,6 +9,7 b'' | |||
|
9 | 9 | import sys, os |
|
10 | 10 | |
|
11 | 11 | input = sys.stdin.read() |
|
12 | input = input.replace(os.environ['HGTMP'], '$HGTMP') | |
|
13 | 12 | input = input.replace(os.sep, '/') |
|
13 | hgtmp = os.environ['HGTMP'].replace(os.sep, '/') | |
|
14 | input = input.replace(hgtmp, '$HGTMP') | |
|
14 | 15 | sys.stdout.write(input) |
@@ -1,7 +1,5 b'' | |||
|
1 | 1 | #!/bin/sh |
|
2 | 2 | |
|
3 | STRIP=`pwd` | |
|
4 | ||
|
5 | 3 | hg init test |
|
6 | 4 | cd test |
|
7 | 5 | cat > .hg/hgrc <<EOF |
@@ -21,4 +19,4 b' cp .hg/store/data/beta.i tmp' | |||
|
21 | 19 | echo blah >> beta |
|
22 | 20 | hg ci -m '2 (corrupt)' |
|
23 | 21 | mv tmp .hg/store/data/beta.i |
|
24 |
hg push 2>&1 | |
|
|
22 | hg push 2>&1 | "$TESTDIR/filtertmp.py" |
General Comments 0
You need to be logged in to leave comments.
Login now