comparison tests/test-push-http.t @ 13427:2432b3227303 stable

merge default into stable for 1.8 code freeze
author Matt Mackall <mpm@selenic.com>
date Wed, 16 Feb 2011 14:13:22 -0600
parents 682edefe7dbb
children 1e497df514e2
comparison
equal deleted inserted replaced
13369:69238d0ca60f 13427:2432b3227303
1 1
2 $ cp "$TESTDIR"/printenv.py .
3 $ hg init test 2 $ hg init test
4 $ cd test 3 $ cd test
5 $ echo a > a 4 $ echo a > a
6 $ hg ci -Ama 5 $ hg ci -Ama
7 adding a 6 adding a
51 50
52 expect success 51 expect success
53 52
54 $ echo 'allow_push = *' >> .hg/hgrc 53 $ echo 'allow_push = *' >> .hg/hgrc
55 $ echo '[hooks]' >> .hg/hgrc 54 $ echo '[hooks]' >> .hg/hgrc
56 $ echo 'changegroup = python ../printenv.py changegroup 0' >> .hg/hgrc 55 $ echo 'changegroup = python "$TESTDIR"/printenv.py changegroup 0' >> .hg/hgrc
57 $ req 56 $ req
58 pushing to http://localhost:$HGPORT/ 57 pushing to http://localhost:$HGPORT/
59 searching for changes 58 searching for changes
60 remote: adding changesets 59 remote: adding changesets
61 remote: adding manifests 60 remote: adding manifests
62 remote: adding file changes 61 remote: adding file changes
63 remote: added 1 changesets with 1 changes to 1 files 62 remote: added 1 changesets with 1 changes to 1 files
64 remote: changegroup hook: HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_SOURCE=serve HG_URL=remote:http 63 remote: changegroup hook: HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_SOURCE=serve HG_URL=remote:http:*: (glob)
65 % serve errors 64 % serve errors
66 $ hg rollback 65 $ hg rollback
67 rolling back to revision 0 (undo serve) 66 rolling back to revision 0 (undo serve)
68 67
69 expect authorization error: all users denied 68 expect authorization error: all users denied