Mercurial > hg-stable
comparison tests/test-push-http.t @ 24740:d283517b260b
transaction: introduce a transaction ID, to be available to all hooks
The transaction ID is built from the object ID and creation time stamp to make
sure it is unique.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Wed, 15 Apr 2015 11:11:54 -0400 |
parents | 7c13c9404c2c |
children | 14c6b4c6e3f9 |
comparison
equal
deleted
inserted
replaced
24739:ea0d5c8e047f | 24740:d283517b260b |
---|---|
65 searching for changes | 65 searching for changes |
66 remote: adding changesets | 66 remote: adding changesets |
67 remote: adding manifests | 67 remote: adding manifests |
68 remote: adding file changes | 68 remote: adding file changes |
69 remote: added 1 changesets with 1 changes to 1 files | 69 remote: added 1 changesets with 1 changes to 1 files |
70 remote: changegroup hook: HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_SOURCE=serve HG_URL=remote:http:127.0.0.1: | 70 remote: changegroup hook: HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_SOURCE=serve HG_TXNID=TXN:* HG_URL=remote:http:127.0.0.1: (glob) |
71 % serve errors | 71 % serve errors |
72 $ hg rollback | 72 $ hg rollback |
73 repository tip rolled back to revision 0 (undo serve) | 73 repository tip rolled back to revision 0 (undo serve) |
74 | 74 |
75 expect success, server lacks the httpheader capability | 75 expect success, server lacks the httpheader capability |
81 searching for changes | 81 searching for changes |
82 remote: adding changesets | 82 remote: adding changesets |
83 remote: adding manifests | 83 remote: adding manifests |
84 remote: adding file changes | 84 remote: adding file changes |
85 remote: added 1 changesets with 1 changes to 1 files | 85 remote: added 1 changesets with 1 changes to 1 files |
86 remote: changegroup hook: HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_SOURCE=serve HG_URL=remote:http:127.0.0.1: | 86 remote: changegroup hook: HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_SOURCE=serve HG_TXNID=TXN:* HG_URL=remote:http:127.0.0.1: (glob) |
87 % serve errors | 87 % serve errors |
88 $ hg rollback | 88 $ hg rollback |
89 repository tip rolled back to revision 0 (undo serve) | 89 repository tip rolled back to revision 0 (undo serve) |
90 | 90 |
91 expect success, server lacks the unbundlehash capability | 91 expect success, server lacks the unbundlehash capability |
97 searching for changes | 97 searching for changes |
98 remote: adding changesets | 98 remote: adding changesets |
99 remote: adding manifests | 99 remote: adding manifests |
100 remote: adding file changes | 100 remote: adding file changes |
101 remote: added 1 changesets with 1 changes to 1 files | 101 remote: added 1 changesets with 1 changes to 1 files |
102 remote: changegroup hook: HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_SOURCE=serve HG_URL=remote:http:127.0.0.1: | 102 remote: changegroup hook: HG_NODE=ba677d0156c1196c1a699fa53f390dcfc3ce3872 HG_SOURCE=serve HG_TXNID=TXN:* HG_URL=remote:http:127.0.0.1: (glob) |
103 % serve errors | 103 % serve errors |
104 $ hg rollback | 104 $ hg rollback |
105 repository tip rolled back to revision 0 (undo serve) | 105 repository tip rolled back to revision 0 (undo serve) |
106 | 106 |
107 expect push success, phase change failure | 107 expect push success, phase change failure |