Show More
@@ -109,11 +109,13 b' expect success, server lacks the unbundl' | |||||
109 |
|
109 | |||
110 | expect push success, phase change failure |
|
110 | expect push success, phase change failure | |
111 |
|
111 | |||
112 |
$ |
|
112 | $ cat > .hg/hgrc <<EOF | |
113 | $ echo 'push_ssl = false' >> .hg/hgrc |
|
113 | > [web] | |
114 | $ echo 'allow_push = *' >> .hg/hgrc |
|
114 | > push_ssl = false | |
115 | $ echo '[hooks]' >> .hg/hgrc |
|
115 | > allow_push = * | |
116 | $ echo 'prepushkey = python "$TESTDIR/printenv.py" prepushkey 1' >> .hg/hgrc |
|
116 | > [hooks] | |
|
117 | > prepushkey = python "$TESTDIR/printenv.py" prepushkey 1 | |||
|
118 | > EOF | |||
117 | $ req |
|
119 | $ req | |
118 | pushing to http://localhost:$HGPORT/ |
|
120 | pushing to http://localhost:$HGPORT/ | |
119 | searching for changes |
|
121 | searching for changes | |
@@ -127,7 +129,7 b' expect push success, phase change failur' | |||||
127 |
|
129 | |||
128 | expect phase change success |
|
130 | expect phase change success | |
129 |
|
131 | |||
130 |
$ echo |
|
132 | $ echo "prepushkey = python \"$TESTDIR/printenv.py\" prepushkey 0" >> .hg/hgrc | |
131 | $ req |
|
133 | $ req | |
132 | pushing to http://localhost:$HGPORT/ |
|
134 | pushing to http://localhost:$HGPORT/ | |
133 | searching for changes |
|
135 | searching for changes |
General Comments 0
You need to be logged in to leave comments.
Login now