comparison tests/test-http @ 2673:109a22f5434a

hooks: add url to changegroup, incoming, prechangegroup, pretxnchangegroup hooks all repository classes now have url() method that returns url of repo.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Tue, 25 Jul 2006 13:50:32 -0700
parents 064aef9162cc
children 7c81e337fed2
comparison
equal deleted inserted replaced
2671:82864a2eb709 2673:109a22f5434a
21 21
22 echo % clone via pull 22 echo % clone via pull
23 http_proxy= hg clone http://localhost:20059/ copy-pull 23 http_proxy= hg clone http://localhost:20059/ copy-pull
24 cd copy-pull 24 cd copy-pull
25 hg verify 25 hg verify
26
27 cd test
28 echo bar > bar
29 hg commit -A -d '1 0' -m 2
30
31 echo % pull
32 cd ../copy-pull
33 echo '[hooks]' >> .hg/hgrc
34 echo 'changegroup = echo changegroup: u=$HG_URL' >> .hg/hgrc
35 hg pull