equal
deleted
inserted
replaced
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 foo>foo |
7 echo foo>foo |
6 hg commit -A -d '0 0' -m 1 |
8 hg commit -A -d '0 0' -m 1 |
29 cd .. |
31 cd .. |
30 |
32 |
31 echo % pull |
33 echo % pull |
32 cd copy-pull |
34 cd copy-pull |
33 echo '[hooks]' >> .hg/hgrc |
35 echo '[hooks]' >> .hg/hgrc |
34 echo 'changegroup = echo changegroup: u=$HG_URL' >> .hg/hgrc |
36 echo 'changegroup = python ../printenv.py changegroup' >> .hg/hgrc |
35 hg pull |
37 hg pull |
36 cd .. |
38 cd .. |