Mercurial > hg
comparison tests/test-static-http.t @ 34661:eb586ed5d8ce
transaction-summary: show the range of new revisions upon pull/unbundle (BC)
Upon pull or unbundle, we display a message with the range of new revisions
fetched. This revision range could readily be used after a pull to look out
what's new with 'hg log'. The algorithm takes care of filtering "obsolete"
revisions that might be present in transaction's "changes" but should not be
displayed to the end user.
author | Denis Laxalde <denis.laxalde@logilab.fr> |
---|---|
date | Thu, 12 Oct 2017 09:39:50 +0200 |
parents | 8b00c723cee1 |
children | 8b95e420e248 |
comparison
equal
deleted
inserted
replaced
34660:d00ec62d156f | 34661:eb586ed5d8ce |
---|---|
31 requesting all changes | 31 requesting all changes |
32 adding changesets | 32 adding changesets |
33 adding manifests | 33 adding manifests |
34 adding file changes | 34 adding file changes |
35 added 1 changesets with 2 changes to 2 files | 35 added 1 changesets with 2 changes to 2 files |
36 new changesets 02770d679fb8 | |
36 updating to branch default | 37 updating to branch default |
37 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | 38 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
38 $ cd local | 39 $ cd local |
39 $ hg verify | 40 $ hg verify |
40 checking changesets | 41 checking changesets |
62 searching for changes | 63 searching for changes |
63 adding changesets | 64 adding changesets |
64 adding manifests | 65 adding manifests |
65 adding file changes | 66 adding file changes |
66 added 1 changesets with 1 changes to 1 files | 67 added 1 changesets with 1 changes to 1 files |
68 new changesets 4ac2e3648604 | |
67 changegroup hook: HG_HOOKNAME=changegroup HG_HOOKTYPE=changegroup HG_NODE=4ac2e3648604439c580c69b09ec9d93a88d93432 HG_NODE_LAST=4ac2e3648604439c580c69b09ec9d93a88d93432 HG_SOURCE=pull HG_TXNID=TXN:$ID$ HG_URL=http://localhost:$HGPORT/remote | 69 changegroup hook: HG_HOOKNAME=changegroup 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) | 70 (run 'hg update' to get a working copy) |
69 | 71 |
70 trying to push | 72 trying to push |
71 | 73 |
87 $ hg clone -r 0 static-http://localhost:$HGPORT/remote local0 | 89 $ hg clone -r 0 static-http://localhost:$HGPORT/remote local0 |
88 adding changesets | 90 adding changesets |
89 adding manifests | 91 adding manifests |
90 adding file changes | 92 adding file changes |
91 added 1 changesets with 2 changes to 2 files | 93 added 1 changesets with 2 changes to 2 files |
94 new changesets 02770d679fb8 | |
92 updating to branch default | 95 updating to branch default |
93 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | 96 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
94 | 97 |
95 test with "/" URI (issue747) and subrepo | 98 test with "/" URI (issue747) and subrepo |
96 | 99 |
108 requesting all changes | 111 requesting all changes |
109 adding changesets | 112 adding changesets |
110 adding manifests | 113 adding manifests |
111 adding file changes | 114 adding file changes |
112 added 1 changesets with 3 changes to 3 files | 115 added 1 changesets with 3 changes to 3 files |
116 new changesets a9ebfbe8e587 | |
113 updating to branch default | 117 updating to branch default |
114 cloning subrepo sub from static-http://localhost:$HGPORT/sub | 118 cloning subrepo sub from static-http://localhost:$HGPORT/sub |
115 requesting all changes | 119 requesting all changes |
116 adding changesets | 120 adding changesets |
117 adding manifests | 121 adding manifests |
118 adding file changes | 122 adding file changes |
119 added 2 changesets with 2 changes to 2 files | 123 added 2 changesets with 2 changes to 2 files |
124 new changesets be090ea66256:322ea90975df | |
120 3 files updated, 0 files merged, 0 files removed, 0 files unresolved | 125 3 files updated, 0 files merged, 0 files removed, 0 files unresolved |
121 $ cd local2 | 126 $ cd local2 |
122 $ hg verify | 127 $ hg verify |
123 checking changesets | 128 checking changesets |
124 checking manifests | 129 checking manifests |
180 requesting all changes | 185 requesting all changes |
181 adding changesets | 186 adding changesets |
182 adding manifests | 187 adding manifests |
183 adding file changes | 188 adding file changes |
184 added 5 changesets with 5 changes to 2 files (+1 heads) | 189 added 5 changesets with 5 changes to 2 files (+1 heads) |
190 new changesets 68986213bd44:0c325bd2b5a7 | |
185 updating to branch default | 191 updating to branch default |
186 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 192 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
187 | 193 |
188 Clone a specific branch works | 194 Clone a specific branch works |
189 | 195 |
190 $ hg clone -r mybranch static-http://localhost:$HGPORT/remote-with-names local-with-names-branch | 196 $ hg clone -r mybranch static-http://localhost:$HGPORT/remote-with-names local-with-names-branch |
191 adding changesets | 197 adding changesets |
192 adding manifests | 198 adding manifests |
193 adding file changes | 199 adding file changes |
194 added 4 changesets with 4 changes to 2 files | 200 added 4 changesets with 4 changes to 2 files |
201 new changesets 68986213bd44:0c325bd2b5a7 | |
195 updating to branch mybranch | 202 updating to branch mybranch |
196 2 files updated, 0 files merged, 0 files removed, 0 files unresolved | 203 2 files updated, 0 files merged, 0 files removed, 0 files unresolved |
197 | 204 |
198 Clone a specific tag works | 205 Clone a specific tag works |
199 | 206 |
200 $ hg clone -r default-tag static-http://localhost:$HGPORT/remote-with-names local-with-names-tag | 207 $ hg clone -r default-tag static-http://localhost:$HGPORT/remote-with-names local-with-names-tag |
201 adding changesets | 208 adding changesets |
202 adding manifests | 209 adding manifests |
203 adding file changes | 210 adding file changes |
204 added 2 changesets with 2 changes to 1 files | 211 added 2 changesets with 2 changes to 1 files |
212 new changesets 68986213bd44:4ee3fcef1c80 | |
205 updating to branch default | 213 updating to branch default |
206 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | 214 1 files updated, 0 files merged, 0 files removed, 0 files unresolved |
207 | 215 |
208 $ killdaemons.py | 216 $ killdaemons.py |