view tests/test-help @ 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 9a8daeff0ffa
children ec85f9e6f3b1 8f5637f0a0c0 0902ffece4b4
line wrap: on
line source

#!/bin/sh

hg help
hg -q help
hg add -h
hg add --skjdfks
hg help diff
hg help foo
hg -q commands

exit 0