annotate tests/test-hook.out @ 613:5374955ec5b1

Demand-load most modules in the commands and ui modules. # HG changeset patch # User Bryan O'Sullivan <bos@serpentine.com> # Node ID 059c6e42fc4221816e26a72bef8cf780891989ca # Parent d2994b5298fb20f87dc1d4747635b280db3c0526 Demand-load most modules in the commands and ui modules. This improves response times for a number of simple commands, as the Python interpreter doesn't end up loading modules that it never uses. There's less benefit to demand-loading in other modules.
author Bryan O'Sullivan <bos@serpentine.com>
date Mon, 04 Jul 2005 12:16:27 -0800
parents 2ad41189bee5
children 7e4843b7efd2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
487
2ad41189bee5 Add initial hook support
mpm@selenic.com
parents:
diff changeset
1 + hg init
2ad41189bee5 Add initial hook support
mpm@selenic.com
parents:
diff changeset
2 + echo '[hooks]'
2ad41189bee5 Add initial hook support
mpm@selenic.com
parents:
diff changeset
3 + echo 'precommit = echo precommit hook'
2ad41189bee5 Add initial hook support
mpm@selenic.com
parents:
diff changeset
4 + echo 'commit = echo commit hook: $NODE'
2ad41189bee5 Add initial hook support
mpm@selenic.com
parents:
diff changeset
5 + echo a
2ad41189bee5 Add initial hook support
mpm@selenic.com
parents:
diff changeset
6 + hg add a
2ad41189bee5 Add initial hook support
mpm@selenic.com
parents:
diff changeset
7 + hg commit -t test -u test -d '0 0'
2ad41189bee5 Add initial hook support
mpm@selenic.com
parents:
diff changeset
8 precommit hook
2ad41189bee5 Add initial hook support
mpm@selenic.com
parents:
diff changeset
9 commit hook: acb14030fe0a21b60322c440ad2d20cf7685a376