Mercurial > hg
view tests/test-empty-dir @ 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 | e33c85d2812a |
children | 7e4843b7efd2 |
line wrap: on
line source
#!/bin/sh hg init echo 123 > a hg add a hg commit -t "first" -u test -d "0 0" a mkdir sub echo 321 > sub/b hg add sub/b hg commit -t "second" -u test -d "0 0" sub/b cat sub/b hg co 0 cat sub/b ls sub true