comparison tests/test-static-http.t @ 31746:0fa30fbccc34

hook: provide hook type information to external hook The python hooks have access to the hook type information. There is not reason for external hook to not be aware of it too. For the record my use case is to make sure a hook script is configured for the right type.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Fri, 31 Mar 2017 11:08:11 +0200
parents 728d37353e1e
children aff7b32b3c05
comparison
equal deleted inserted replaced
31745:33504b54863e 31746:0fa30fbccc34
62 searching for changes 62 searching for changes
63 adding changesets 63 adding changesets
64 adding manifests 64 adding manifests
65 adding file changes 65 adding file changes
66 added 1 changesets with 1 changes to 1 files 66 added 1 changesets with 1 changes to 1 files
67 changegroup hook: HG_NODE=4ac2e3648604439c580c69b09ec9d93a88d93432 HG_NODE_LAST=4ac2e3648604439c580c69b09ec9d93a88d93432 HG_SOURCE=pull HG_TXNID=TXN:$ID$ HG_URL=http://localhost:$HGPORT/remote 67 changegroup hook: HG_HOOKTYPE=changegroup HG_NODE=4ac2e3648604439c580c69b09ec9d93a88d93432 HG_NODE_LAST=4ac2e3648604439c580c69b09ec9d93a88d93432 HG_SOURCE=pull HG_TXNID=TXN:$ID$ HG_URL=http://localhost:$HGPORT/remote
68 (run 'hg update' to get a working copy) 68 (run 'hg update' to get a working copy)
69 69
70 trying to push 70 trying to push
71 71
72 $ hg update 72 $ hg update