Mercurial > hg
changeset 4287:ce71da8ab4f5
test-bundle: use printenv.py
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Mon, 26 Mar 2007 23:49:59 -0300 |
parents | 949516072388 |
children | 8a3e12426c03 |
files | tests/test-bundle tests/test-bundle.out |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-bundle Mon Mar 26 23:49:58 2007 -0300 +++ b/tests/test-bundle Mon Mar 26 23:49:59 2007 -0300 @@ -1,5 +1,7 @@ #!/bin/sh +cp "$TESTDIR"/printenv.py . + hg init test cd test echo 0 > afile @@ -43,7 +45,7 @@ cd empty hg -R bundle://../full.hg log echo '[hooks]' >> .hg/hgrc -echo 'changegroup = echo changegroup: u=$HG_URL' >> .hg/hgrc +echo 'changegroup = python ../printenv.py changegroup' >> .hg/hgrc #doesn't work (yet ?) #hg -R bundle://../full.hg verify hg pull bundle://../full.hg
--- a/tests/test-bundle.out Mon Mar 26 23:49:58 2007 -0300 +++ b/tests/test-bundle.out Mon Mar 26 23:49:59 2007 -0300 @@ -87,7 +87,7 @@ date: Mon Jan 12 13:46:40 1970 +0000 summary: 0.0 -changegroup: u=bundle:../full.hg +changegroup hook: HG_NODE=5649c9d34dd87d0ecb5fd39672128376e83b22e1 HG_SOURCE=pull HG_URL=bundle:../full.hg pulling from bundle://../full.hg requesting all changes adding changesets