Mercurial > hg
comparison tests/test-hook.t @ 23426:19ebd2f88fc7
merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 01 Dec 2014 19:34:11 -0600 |
parents | e44399c494ab 53a65929ef1f |
children | a387b0390082 |
comparison
equal
deleted
inserted
replaced
23411:2d86f4e38c08 | 23426:19ebd2f88fc7 |
---|---|
226 listkeys hook: HG_NAMESPACE=phases HG_VALUES={'cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b': '1', 'publishing': 'True'} | 226 listkeys hook: HG_NAMESPACE=phases HG_VALUES={'cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b': '1', 'publishing': 'True'} |
227 listkeys hook: HG_NAMESPACE=bookmarks HG_VALUES={'bar': '0000000000000000000000000000000000000000', 'foo': '0000000000000000000000000000000000000000'} | 227 listkeys hook: HG_NAMESPACE=bookmarks HG_VALUES={'bar': '0000000000000000000000000000000000000000', 'foo': '0000000000000000000000000000000000000000'} |
228 no changes found | 228 no changes found |
229 listkeys hook: HG_NAMESPACE=phases HG_VALUES={'cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b': '1', 'publishing': 'True'} | 229 listkeys hook: HG_NAMESPACE=phases HG_VALUES={'cb9a9f314b8b07ba71012fcdbc544b5a4d82ff5b': '1', 'publishing': 'True'} |
230 prepushkey.forbid hook: HG_KEY=baz HG_NAMESPACE=bookmarks HG_NEW=0000000000000000000000000000000000000000 | 230 prepushkey.forbid hook: HG_KEY=baz HG_NAMESPACE=bookmarks HG_NEW=0000000000000000000000000000000000000000 |
231 abort: prepushkey hook exited with status 1 | 231 pushkey-abort: prepushkey hook exited with status 1 |
232 [255] | 232 exporting bookmark baz failed! |
233 [1] | |
233 $ cd ../a | 234 $ cd ../a |
234 | 235 |
235 test that prelistkeys can prevent listing keys | 236 test that prelistkeys can prevent listing keys |
236 | 237 |
237 $ echo "prelistkeys = python \"$TESTDIR/printenv.py\" prelistkeys.forbid 1" >> .hg/hgrc | 238 $ echo "prelistkeys = python \"$TESTDIR/printenv.py\" prelistkeys.forbid 1" >> .hg/hgrc |