Mercurial > hg
comparison tests/test-hook.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 | 26c879bbf4ee |
children | feecfefeba25 |
comparison
equal
deleted
inserted
replaced
34660:d00ec62d156f | 34661:eb586ed5d8ce |
---|---|
110 prechangegroup hook: HG_HOOKNAME=prechangegroup HG_HOOKTYPE=prechangegroup HG_SOURCE=pull HG_TXNID=TXN:$ID$ HG_URL=file:$TESTTMP/a | 110 prechangegroup hook: HG_HOOKNAME=prechangegroup HG_HOOKTYPE=prechangegroup HG_SOURCE=pull HG_TXNID=TXN:$ID$ HG_URL=file:$TESTTMP/a |
111 adding changesets | 111 adding changesets |
112 adding manifests | 112 adding manifests |
113 adding file changes | 113 adding file changes |
114 added 3 changesets with 2 changes to 2 files | 114 added 3 changesets with 2 changes to 2 files |
115 new changesets ab228980c14d:07f3376c1e65 | |
115 changegroup hook: HG_HOOKNAME=changegroup HG_HOOKTYPE=changegroup HG_NODE=ab228980c14deea8b9555d91c9581127383e40fd HG_NODE_LAST=07f3376c1e655977439df2a814e3cc14b27abac2 HG_SOURCE=pull HG_TXNID=TXN:$ID$ HG_URL=file:$TESTTMP/a | 116 changegroup hook: HG_HOOKNAME=changegroup HG_HOOKTYPE=changegroup HG_NODE=ab228980c14deea8b9555d91c9581127383e40fd HG_NODE_LAST=07f3376c1e655977439df2a814e3cc14b27abac2 HG_SOURCE=pull HG_TXNID=TXN:$ID$ HG_URL=file:$TESTTMP/a |
116 incoming hook: HG_HOOKNAME=incoming HG_HOOKTYPE=incoming HG_NODE=ab228980c14deea8b9555d91c9581127383e40fd HG_SOURCE=pull HG_TXNID=TXN:$ID$ HG_URL=file:$TESTTMP/a | 117 incoming hook: HG_HOOKNAME=incoming HG_HOOKTYPE=incoming HG_NODE=ab228980c14deea8b9555d91c9581127383e40fd HG_SOURCE=pull HG_TXNID=TXN:$ID$ HG_URL=file:$TESTTMP/a |
117 incoming hook: HG_HOOKNAME=incoming HG_HOOKTYPE=incoming HG_NODE=ee9deb46ab31e4cc3310f3cf0c3d668e4d8fffc2 HG_SOURCE=pull HG_TXNID=TXN:$ID$ HG_URL=file:$TESTTMP/a | 118 incoming hook: HG_HOOKNAME=incoming HG_HOOKTYPE=incoming HG_NODE=ee9deb46ab31e4cc3310f3cf0c3d668e4d8fffc2 HG_SOURCE=pull HG_TXNID=TXN:$ID$ HG_URL=file:$TESTTMP/a |
118 incoming hook: HG_HOOKNAME=incoming HG_HOOKTYPE=incoming HG_NODE=07f3376c1e655977439df2a814e3cc14b27abac2 HG_SOURCE=pull HG_TXNID=TXN:$ID$ HG_URL=file:$TESTTMP/a | 119 incoming hook: HG_HOOKNAME=incoming HG_HOOKTYPE=incoming HG_NODE=07f3376c1e655977439df2a814e3cc14b27abac2 HG_SOURCE=pull HG_TXNID=TXN:$ID$ HG_URL=file:$TESTTMP/a |
119 (run 'hg update' to get a working copy) | 120 (run 'hg update' to get a working copy) |
360 adding changesets | 361 adding changesets |
361 adding manifests | 362 adding manifests |
362 adding file changes | 363 adding file changes |
363 added 1 changesets with 1 changes to 1 files | 364 added 1 changesets with 1 changes to 1 files |
364 adding remote bookmark quux | 365 adding remote bookmark quux |
366 new changesets 539e4b31b6dc | |
365 (run 'hg update' to get a working copy) | 367 (run 'hg update' to get a working copy) |
366 $ hg rollback | 368 $ hg rollback |
367 repository tip rolled back to revision 3 (undo pull) | 369 repository tip rolled back to revision 3 (undo pull) |
368 | 370 |
369 preoutgoing hook can prevent outgoing changes | 371 preoutgoing hook can prevent outgoing changes |
569 adding changesets | 571 adding changesets |
570 adding manifests | 572 adding manifests |
571 adding file changes | 573 adding file changes |
572 added 1 changesets with 1 changes to 1 files | 574 added 1 changesets with 1 changes to 1 files |
573 adding remote bookmark quux | 575 adding remote bookmark quux |
576 new changesets 539e4b31b6dc | |
574 (run 'hg update' to get a working copy) | 577 (run 'hg update' to get a working copy) |
575 | 578 |
576 post- python hooks that fail to *run* don't cause an abort | 579 post- python hooks that fail to *run* don't cause an abort |
577 $ rm ../a/.hg/hgrc | 580 $ rm ../a/.hg/hgrc |
578 $ echo '[hooks]' > .hg/hgrc | 581 $ echo '[hooks]' > .hg/hgrc |