##// END OF EJS Templates
test-bundle: use printenv.py
Alexis S. L. Carvalho -
r4287:ce71da8a default
parent child Browse files
Show More
@@ -1,5 +1,7 b''
1 1 #!/bin/sh
2 2
3 cp "$TESTDIR"/printenv.py .
4
3 5 hg init test
4 6 cd test
5 7 echo 0 > afile
@@ -43,7 +45,7 b' hg init empty'
43 45 cd empty
44 46 hg -R bundle://../full.hg log
45 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 49 #doesn't work (yet ?)
48 50 #hg -R bundle://../full.hg verify
49 51 hg pull bundle://../full.hg
@@ -87,7 +87,7 b' user: test'
87 87 date: Mon Jan 12 13:46:40 1970 +0000
88 88 summary: 0.0
89 89
90 changegroup: u=bundle:../full.hg
90 changegroup hook: HG_NODE=5649c9d34dd87d0ecb5fd39672128376e83b22e1 HG_SOURCE=pull HG_URL=bundle:../full.hg
91 91 pulling from bundle://../full.hg
92 92 requesting all changes
93 93 adding changesets
General Comments 0
You need to be logged in to leave comments. Login now