comparison tests/test-treediscovery.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 c4594d38b2da
children 62e10bf001a9
comparison
equal deleted inserted replaced
34660:d00ec62d156f 34661:eb586ed5d8ce
138 requesting all changes 138 requesting all changes
139 adding changesets 139 adding changesets
140 adding manifests 140 adding manifests
141 adding file changes 141 adding file changes
142 added 12 changesets with 24 changes to 2 files 142 added 12 changesets with 24 changes to 2 files
143 new changesets d57206cc072a:a19bfa7e7328
143 (run 'hg update' to get a working copy) 144 (run 'hg update' to get a working copy)
144 $ hg incoming $remote 145 $ hg incoming $remote
145 comparing with http://localhost:$HGPORT/ 146 comparing with http://localhost:$HGPORT/
146 searching for changes 147 searching for changes
147 no changes found 148 no changes found
153 $ hg clone main subset --rev name2 ; cd subset 154 $ hg clone main subset --rev name2 ; cd subset
154 adding changesets 155 adding changesets
155 adding manifests 156 adding manifests
156 adding file changes 157 adding file changes
157 added 6 changesets with 12 changes to 2 files 158 added 6 changesets with 12 changes to 2 files
159 new changesets d57206cc072a:d8f638ac69e9
158 updating to branch name2 160 updating to branch name2
159 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 161 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
160 $ hg incoming $remote 162 $ hg incoming $remote
161 comparing with http://localhost:$HGPORT/ 163 comparing with http://localhost:$HGPORT/
162 searching for changes 164 searching for changes
181 searching for changes 183 searching for changes
182 adding changesets 184 adding changesets
183 adding manifests 185 adding manifests
184 adding file changes 186 adding file changes
185 added 6 changesets with 12 changes to 2 files 187 added 6 changesets with 12 changes to 2 files
188 new changesets a7892891da29:a19bfa7e7328
186 (run 'hg update' to get a working copy) 189 (run 'hg update' to get a working copy)
187 $ hg incoming $remote 190 $ hg incoming $remote
188 comparing with http://localhost:$HGPORT/ 191 comparing with http://localhost:$HGPORT/
189 searching for changes 192 searching for changes
190 no changes found 193 no changes found
240 $ hg clone main subset2 --rev name2 243 $ hg clone main subset2 --rev name2
241 adding changesets 244 adding changesets
242 adding manifests 245 adding manifests
243 adding file changes 246 adding file changes
244 added 6 changesets with 12 changes to 2 files 247 added 6 changesets with 12 changes to 2 files
248 new changesets d57206cc072a:d8f638ac69e9
245 updating to branch name2 249 updating to branch name2
246 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 250 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
247 $ tstart subset2 251 $ tstart subset2
248 $ cd main 252 $ cd main
249 $ hg incoming $remote 253 $ hg incoming $remote
291 $ hg clone $remote partial --rev name2 295 $ hg clone $remote partial --rev name2
292 adding changesets 296 adding changesets
293 adding manifests 297 adding manifests
294 adding file changes 298 adding file changes
295 added 6 changesets with 12 changes to 2 files 299 added 6 changesets with 12 changes to 2 files
300 new changesets d57206cc072a:d8f638ac69e9
296 updating to branch name2 301 updating to branch name2
297 2 files updated, 0 files merged, 0 files removed, 0 files unresolved 302 2 files updated, 0 files merged, 0 files removed, 0 files unresolved
298 $ cd partial 303 $ cd partial
299 $ hg incoming $remote 304 $ hg incoming $remote
300 comparing with http://localhost:$HGPORT/ 305 comparing with http://localhost:$HGPORT/
316 searching for changes 321 searching for changes
317 adding changesets 322 adding changesets
318 adding manifests 323 adding manifests
319 adding file changes 324 adding file changes
320 added 3 changesets with 6 changes to 2 files (+1 heads) 325 added 3 changesets with 6 changes to 2 files (+1 heads)
326 new changesets a7892891da29:e71dbbc70e03
321 (run 'hg heads' to see heads) 327 (run 'hg heads' to see heads)
322 $ hg incoming $remote 328 $ hg incoming $remote
323 comparing with http://localhost:$HGPORT/ 329 comparing with http://localhost:$HGPORT/
324 searching for changes 330 searching for changes
325 9 025829e08038: r9 both 331 9 025829e08038: r9 both
362 searching for changes 368 searching for changes
363 adding changesets 369 adding changesets
364 adding manifests 370 adding manifests
365 adding file changes 371 adding file changes
366 added 3 changesets with 6 changes to 2 files (+1 heads) 372 added 3 changesets with 6 changes to 2 files (+1 heads)
373 new changesets a7892891da29:e71dbbc70e03
367 (run 'hg heads' to see heads) 374 (run 'hg heads' to see heads)
368 $ hg incoming $remote 375 $ hg incoming $remote
369 comparing with http://localhost:$HGPORT/ 376 comparing with http://localhost:$HGPORT/
370 searching for changes 377 searching for changes
371 no changes found 378 no changes found
398 searching for changes 405 searching for changes
399 adding changesets 406 adding changesets
400 adding manifests 407 adding manifests
401 adding file changes 408 adding file changes
402 added 3 changesets with 6 changes to 2 files (+1 heads) 409 added 3 changesets with 6 changes to 2 files (+1 heads)
410 new changesets a7892891da29:e71dbbc70e03
403 (run 'hg heads' to see heads) 411 (run 'hg heads' to see heads)
404 $ hg push $remote --new-branch 412 $ hg push $remote --new-branch
405 pushing to http://localhost:$HGPORT/ 413 pushing to http://localhost:$HGPORT/
406 searching for changes 414 searching for changes
407 remote: adding changesets 415 remote: adding changesets
451 searching for changes 459 searching for changes
452 adding changesets 460 adding changesets
453 adding manifests 461 adding manifests
454 adding file changes 462 adding file changes
455 added 1 changesets with 2 changes to 2 files 463 added 1 changesets with 2 changes to 2 files
464 new changesets d8f638ac69e9
456 (run 'hg update' to get a working copy) 465 (run 'hg update' to get a working copy)
457 $ hg incoming $remote 466 $ hg incoming $remote
458 comparing with http://localhost:$HGPORT/ 467 comparing with http://localhost:$HGPORT/
459 searching for changes 468 searching for changes
460 no changes found 469 no changes found
482 searching for changes 491 searching for changes
483 adding changesets 492 adding changesets
484 adding manifests 493 adding manifests
485 adding file changes 494 adding file changes
486 added 1 changesets with 2 changes to 2 files 495 added 1 changesets with 2 changes to 2 files
496 new changesets d8f638ac69e9
487 (run 'hg update' to get a working copy) 497 (run 'hg update' to get a working copy)
488 $ hg push $remote --new-branch 498 $ hg push $remote --new-branch
489 pushing to http://localhost:$HGPORT/ 499 pushing to http://localhost:$HGPORT/
490 searching for changes 500 searching for changes
491 remote: adding changesets 501 remote: adding changesets