Mercurial > hg-stable
changeset 4289:e17598881509
test-http: use printenv.py
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Mon, 26 Mar 2007 23:50:01 -0300 |
parents | 8a3e12426c03 |
children | 347766c2ff86 |
files | tests/test-http tests/test-http.out |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-http Mon Mar 26 23:50:00 2007 -0300 +++ b/tests/test-http Mon Mar 26 23:50:01 2007 -0300 @@ -1,5 +1,7 @@ #!/bin/sh +cp "$TESTDIR"/printenv.py . + hg init test cd test echo foo>foo @@ -31,6 +33,6 @@ echo % pull cd copy-pull echo '[hooks]' >> .hg/hgrc -echo 'changegroup = echo changegroup: u=$HG_URL' >> .hg/hgrc +echo 'changegroup = python ../printenv.py changegroup' >> .hg/hgrc hg pull cd ..
--- a/tests/test-http.out Mon Mar 26 23:50:00 2007 -0300 +++ b/tests/test-http.out Mon Mar 26 23:50:01 2007 -0300 @@ -31,7 +31,7 @@ 1 files, 1 changesets, 1 total revisions adding bar % pull -changegroup: u=http://localhost:20059/ +changegroup hook: HG_NODE=cfbd11a1fa315300a080c3de8fe36b0fc5820acf HG_SOURCE=pull HG_URL=http://localhost:20059/ pulling from http://localhost:20059/ searching for changes adding changesets