Mercurial > hg
comparison tests/test-hook.t @ 11794:80c63b2a29a8
tests: remove useless sed in test-hook
author | Nicolas Dumazet <nicdumz.commits@gmail.com> |
---|---|
date | Thu, 12 Aug 2010 19:40:22 +0900 |
parents | a03ce716495d |
children | 4c94b6d0fb1c |
comparison
equal
deleted
inserted
replaced
11793:a03ce716495d | 11794:80c63b2a29a8 |
---|---|
395 $ touch foo | 395 $ touch foo |
396 $ hg add foo | 396 $ hg add foo |
397 $ hg ci -d '0 0' -m 'add foo' | 397 $ hg ci -d '0 0' -m 'add foo' |
398 Automatically installed hook | 398 Automatically installed hook |
399 $ echo >> foo | 399 $ echo >> foo |
400 $ hg ci --debug -d '0 0' -m 'change foo' | sed -e 's/ at .*>/>/' | 400 $ hg ci --debug -d '0 0' -m 'change foo' |
401 foo | 401 foo |
402 calling hook commit.auto: <function autohook> | 402 calling hook commit.auto: <function autohook at .*> |
403 Automatically installed hook | 403 Automatically installed hook |
404 committed changeset 1:52998019f6252a2b893452765fcb0a47351a5708 | 404 committed changeset 1:52998019f6252a2b893452765fcb0a47351a5708 |
405 | 405 |
406 $ hg showconfig hooks | sed -e 's/ at .*>/>/' | 406 $ hg showconfig hooks |
407 hooks.commit.auto=<function autohook> | 407 hooks.commit.auto=<function autohook at .*> |
408 | 408 |
409 # test python hook configured with python:[file]:[hook] syntax | 409 # test python hook configured with python:[file]:[hook] syntax |
410 | 410 |
411 $ cd .. | 411 $ cd .. |
412 $ mkdir d | 412 $ mkdir d |