Mercurial > public > mercurial-scm > hg
diff tests/test-static-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 | d22d730c96ed |
children | 7012c889e8f2 |
line wrap: on
line diff
--- a/tests/test-static-http Tue Jul 25 21:22:56 2006 +0200 +++ b/tests/test-static-http Tue Jul 25 13:50:32 2006 -0700 @@ -37,6 +37,14 @@ cd local hg verify cat bar + +cd ../remote +echo baz > quux +hg commit -A -mtest2 -d '100000000 0' + +cd ../local +echo '[hooks]' >> .hg/hgrc +echo 'changegroup = echo changegroup: u=$HG_URL' >> .hg/hgrc http_proxy= hg pull kill $!