equal
deleted
inserted
replaced
56 |
56 |
57 expect success |
57 expect success |
58 |
58 |
59 $ echo 'allow_push = *' >> .hg/hgrc |
59 $ echo 'allow_push = *' >> .hg/hgrc |
60 $ echo '[hooks]' >> .hg/hgrc |
60 $ echo '[hooks]' >> .hg/hgrc |
61 $ echo "changegroup = python \"$TESTDIR/printenv.py\" changegroup 0" >> .hg/hgrc |
61 $ echo "changegroup = printenv.py changegroup 0" >> .hg/hgrc |
62 $ echo "pushkey = python \"$TESTDIR/printenv.py\" pushkey 0" >> .hg/hgrc |
62 $ echo "pushkey = printenv.py pushkey 0" >> .hg/hgrc |
63 $ req |
63 $ req |
64 pushing to http://localhost:$HGPORT/ |
64 pushing to http://localhost:$HGPORT/ |
65 searching for changes |
65 searching for changes |
66 remote: adding changesets |
66 remote: adding changesets |
67 remote: adding manifests |
67 remote: adding manifests |
112 $ cat > .hg/hgrc <<EOF |
112 $ cat > .hg/hgrc <<EOF |
113 > [web] |
113 > [web] |
114 > push_ssl = false |
114 > push_ssl = false |
115 > allow_push = * |
115 > allow_push = * |
116 > [hooks] |
116 > [hooks] |
117 > prepushkey = python "$TESTDIR/printenv.py" prepushkey 1 |
117 > prepushkey = printenv.py prepushkey 1 |
118 > EOF |
118 > EOF |
119 $ req |
119 $ req |
120 pushing to http://localhost:$HGPORT/ |
120 pushing to http://localhost:$HGPORT/ |
121 searching for changes |
121 searching for changes |
122 remote: adding changesets |
122 remote: adding changesets |
128 updating ba677d0156c1 to public failed! |
128 updating ba677d0156c1 to public failed! |
129 % serve errors |
129 % serve errors |
130 |
130 |
131 expect phase change success |
131 expect phase change success |
132 |
132 |
133 $ echo "prepushkey = python \"$TESTDIR/printenv.py\" prepushkey 0" >> .hg/hgrc |
133 $ echo "prepushkey = printenv.py prepushkey 0" >> .hg/hgrc |
134 $ req |
134 $ req |
135 pushing to http://localhost:$HGPORT/ |
135 pushing to http://localhost:$HGPORT/ |
136 searching for changes |
136 searching for changes |
137 no changes found |
137 no changes found |
138 % serve errors |
138 % serve errors |