Mercurial > hg
comparison tests/test-http.t @ 31741:728d37353e1e
run-tests: auto-replace 'TXNID' output
Hooks related to the transaction are aware of the transaction id. By definition
this txn-id is unique and different for each transaction. As a result it can
never be predicted in test and always needs matching. As a result, touching any
like with this data is annoying. We solve the problem once and for all by
installing an automatic replacement. In test, this will now show as:
TXNID=TXN:$ID$
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Thu, 30 Mar 2017 17:29:03 +0200 |
parents | 161ab32b44a1 |
children | 0fa30fbccc34 |
comparison
equal
deleted
inserted
replaced
31740:a40e979b9d97 | 31741:728d37353e1e |
---|---|
127 searching for changes | 127 searching for changes |
128 adding changesets | 128 adding changesets |
129 adding manifests | 129 adding manifests |
130 adding file changes | 130 adding file changes |
131 added 1 changesets with 1 changes to 1 files | 131 added 1 changesets with 1 changes to 1 files |
132 changegroup hook: HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d HG_NODE_LAST=5fed3813f7f5e1824344fdc9cf8f63bb662c292d HG_SOURCE=pull HG_TXNID=TXN:* HG_URL=http://localhost:$HGPORT1/ (glob) | 132 changegroup hook: HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d HG_NODE_LAST=5fed3813f7f5e1824344fdc9cf8f63bb662c292d HG_SOURCE=pull HG_TXNID=TXN:$ID$ HG_URL=http://localhost:$HGPORT1/ |
133 (run 'hg update' to get a working copy) | 133 (run 'hg update' to get a working copy) |
134 $ cd .. | 134 $ cd .. |
135 | 135 |
136 clone from invalid URL | 136 clone from invalid URL |
137 | 137 |