comparison tests/test-bundle @ 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 f6f65a8d8ed3
children
comparison
equal deleted inserted replaced
4286:949516072388 4287:ce71da8ab4f5
1 #!/bin/sh 1 #!/bin/sh
2
3 cp "$TESTDIR"/printenv.py .
2 4
3 hg init test 5 hg init test
4 cd test 6 cd test
5 echo 0 > afile 7 echo 0 > afile
6 hg add afile 8 hg add afile
41 rm -r empty 43 rm -r empty
42 hg init empty 44 hg init empty
43 cd empty 45 cd empty
44 hg -R bundle://../full.hg log 46 hg -R bundle://../full.hg log
45 echo '[hooks]' >> .hg/hgrc 47 echo '[hooks]' >> .hg/hgrc
46 echo 'changegroup = echo changegroup: u=$HG_URL' >> .hg/hgrc 48 echo 'changegroup = python ../printenv.py changegroup' >> .hg/hgrc
47 #doesn't work (yet ?) 49 #doesn't work (yet ?)
48 #hg -R bundle://../full.hg verify 50 #hg -R bundle://../full.hg verify
49 hg pull bundle://../full.hg 51 hg pull bundle://../full.hg
50 cd .. 52 cd ..
51 53