Mercurial > hg > mercurial-source
comparison tests/test-bundle @ 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 | 89b15372df18 |
children | 400a4a502001 |
comparison
equal
deleted
inserted
replaced
2671:82864a2eb709 | 2673:109a22f5434a |
---|---|
36 | 36 |
37 rm -rf empty | 37 rm -rf empty |
38 hg init empty | 38 hg init empty |
39 cd empty | 39 cd empty |
40 hg -R bundle://../full.hg log | 40 hg -R bundle://../full.hg log |
41 echo '[hooks]' >> .hg/hgrc | |
42 echo 'changegroup = echo changegroup: u=$HG_URL' >> .hg/hgrc | |
41 #doesn't work (yet ?) | 43 #doesn't work (yet ?) |
42 #hg -R bundle://../full.hg verify | 44 #hg -R bundle://../full.hg verify |
43 hg pull bundle://../full.hg | 45 hg pull bundle://../full.hg |
44 cd .. | 46 cd .. |
45 | 47 |