tests/test-hook.t
changeset 16697 c285aae10f6c
parent 16619 bc84a1aeaf5a
child 16699 d947e1da1259
equal deleted inserted replaced
16696:d1afbf03e69a 16697:c285aae10f6c
   193   pulling from ../a
   193   pulling from ../a
   194   listkeys hook: HG_NAMESPACE=bookmarks HG_VALUES={'bar': '0000000000000000000000000000000000000000', 'foo': '0000000000000000000000000000000000000000'} 
   194   listkeys hook: HG_NAMESPACE=bookmarks HG_VALUES={'bar': '0000000000000000000000000000000000000000', 'foo': '0000000000000000000000000000000000000000'} 
   195   no changes found
   195   no changes found
   196   listkeys hook: HG_NAMESPACE=phases HG_VALUES={'cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b': '1', 'publishing': 'True'} 
   196   listkeys hook: HG_NAMESPACE=phases HG_VALUES={'cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b': '1', 'publishing': 'True'} 
   197   listkeys hook: HG_NAMESPACE=bookmarks HG_VALUES={'bar': '0000000000000000000000000000000000000000', 'foo': '0000000000000000000000000000000000000000'} 
   197   listkeys hook: HG_NAMESPACE=bookmarks HG_VALUES={'bar': '0000000000000000000000000000000000000000', 'foo': '0000000000000000000000000000000000000000'} 
       
   198   adding remote bookmark bar
   198   importing bookmark bar
   199   importing bookmark bar
   199   $ cd ../a
   200   $ cd ../a
   200 
   201 
   201 test that prepushkey can prevent incoming keys
   202 test that prepushkey can prevent incoming keys
   202 
   203 
   277   adding changesets
   278   adding changesets
   278   outgoing hook: HG_NODE=539e4b31b6dc99b3cfbaa6b53cbc1c1f9a1e3a10 HG_SOURCE=pull 
   279   outgoing hook: HG_NODE=539e4b31b6dc99b3cfbaa6b53cbc1c1f9a1e3a10 HG_SOURCE=pull 
   279   adding manifests
   280   adding manifests
   280   adding file changes
   281   adding file changes
   281   added 1 changesets with 1 changes to 1 files
   282   added 1 changesets with 1 changes to 1 files
       
   283   adding remote bookmark quux
   282   (run 'hg update' to get a working copy)
   284   (run 'hg update' to get a working copy)
   283   $ hg rollback
   285   $ hg rollback
   284   repository tip rolled back to revision 3 (undo pull)
   286   repository tip rolled back to revision 3 (undo pull)
   285 
   287 
   286 preoutgoing hook can prevent outgoing changes
   288 preoutgoing hook can prevent outgoing changes
   445     source pull
   447     source pull
   446   adding changesets
   448   adding changesets
   447   adding manifests
   449   adding manifests
   448   adding file changes
   450   adding file changes
   449   added 1 changesets with 1 changes to 1 files
   451   added 1 changesets with 1 changes to 1 files
       
   452   adding remote bookmark quux
   450   (run 'hg update' to get a working copy)
   453   (run 'hg update' to get a working copy)
   451 
   454 
   452 make sure --traceback works
   455 make sure --traceback works
   453 
   456 
   454   $ echo '[hooks]' > .hg/hgrc
   457   $ echo '[hooks]' > .hg/hgrc