##// 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 #!/bin/sh
1 #!/bin/sh
2
2
3 cp "$TESTDIR"/printenv.py .
4
3 hg init test
5 hg init test
4 cd test
6 cd test
5 echo 0 > afile
7 echo 0 > afile
@@ -43,7 +45,7 b' 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
@@ -87,7 +87,7 b' user: test'
87 date: Mon Jan 12 13:46:40 1970 +0000
87 date: Mon Jan 12 13:46:40 1970 +0000
88 summary: 0.0
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 pulling from bundle://../full.hg
91 pulling from bundle://../full.hg
92 requesting all changes
92 requesting all changes
93 adding changesets
93 adding changesets
General Comments 0
You need to be logged in to leave comments. Login now