Mercurial > hg
comparison tests/test-notify-changegroup.t @ 22947:c63a09b6b337
tests: use $PYTHON instead of hardcoding python
This makes running the testsuite with pypy possible.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Wed, 15 Oct 2014 15:35:59 -0400 |
parents | 8e1854807dc2 |
children | 24849d53697d |
comparison
equal
deleted
inserted
replaced
22946:77c121da6143 | 22947:c63a09b6b337 |
---|---|
37 $ hg --traceback --cwd b commit -Amb | 37 $ hg --traceback --cwd b commit -Amb |
38 | 38 |
39 push | 39 push |
40 | 40 |
41 $ hg --traceback --cwd b push ../a 2>&1 | | 41 $ hg --traceback --cwd b push ../a 2>&1 | |
42 > python -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' | 42 > $PYTHON -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' |
43 pushing to ../a | 43 pushing to ../a |
44 searching for changes | 44 searching for changes |
45 adding changesets | 45 adding changesets |
46 adding manifests | 46 adding manifests |
47 adding file changes | 47 adding file changes |
90 repository tip rolled back to revision -1 (undo unbundle) | 90 repository tip rolled back to revision -1 (undo unbundle) |
91 | 91 |
92 unbundle with correct source | 92 unbundle with correct source |
93 | 93 |
94 $ hg --config notify.sources=unbundle --cwd a unbundle ../test.hg 2>&1 | | 94 $ hg --config notify.sources=unbundle --cwd a unbundle ../test.hg 2>&1 | |
95 > python -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' | 95 > $PYTHON -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' |
96 adding changesets | 96 adding changesets |
97 adding manifests | 97 adding manifests |
98 adding file changes | 98 adding file changes |
99 added 2 changesets with 2 changes to 1 files | 99 added 2 changesets with 2 changes to 1 files |
100 Content-Type: text/plain; charset="us-ascii" | 100 Content-Type: text/plain; charset="us-ascii" |
165 $ hg --traceback --cwd b commit -Am "merged" | 165 $ hg --traceback --cwd b commit -Am "merged" |
166 | 166 |
167 push | 167 push |
168 | 168 |
169 $ hg --traceback --cwd b --config notify.fromauthor=True push ../a 2>&1 | | 169 $ hg --traceback --cwd b --config notify.fromauthor=True push ../a 2>&1 | |
170 > python -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' | 170 > $PYTHON -c 'import sys,re; print re.sub("\n\t", " ", sys.stdin.read()),' |
171 pushing to ../a | 171 pushing to ../a |
172 searching for changes | 172 searching for changes |
173 adding changesets | 173 adding changesets |
174 adding manifests | 174 adding manifests |
175 adding file changes | 175 adding file changes |