Mercurial > hg
comparison tests/test-https.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 | f819aa9dbbf9 |
children | 0fa30fbccc34 |
comparison
equal
deleted
inserted
replaced
31740:a40e979b9d97 | 31741:728d37353e1e |
---|---|
221 searching for changes | 221 searching for changes |
222 adding changesets | 222 adding changesets |
223 adding manifests | 223 adding manifests |
224 adding file changes | 224 adding file changes |
225 added 1 changesets with 1 changes to 1 files | 225 added 1 changesets with 1 changes to 1 files |
226 changegroup hook: HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d HG_NODE_LAST=5fed3813f7f5e1824344fdc9cf8f63bb662c292d HG_SOURCE=pull HG_TXNID=TXN:* HG_URL=https://localhost:$HGPORT/ (glob) | 226 changegroup hook: HG_NODE=5fed3813f7f5e1824344fdc9cf8f63bb662c292d HG_NODE_LAST=5fed3813f7f5e1824344fdc9cf8f63bb662c292d HG_SOURCE=pull HG_TXNID=TXN:$ID$ HG_URL=https://localhost:$HGPORT/ |
227 (run 'hg update' to get a working copy) | 227 (run 'hg update' to get a working copy) |
228 $ cd .. | 228 $ cd .. |
229 | 229 |
230 cacert configured in local repo | 230 cacert configured in local repo |
231 | 231 |