Mercurial > hg > mercurial-crew-with-dirclash
annotate tests/test-basic @ 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 | 4fc63e22b1fe |
children | 7e4843b7efd2 |
rev | line source |
---|---|
544
3d4d5f2aba9a
Remove bashisms and use /bin/sh instead of /bin/bash.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
350
diff
changeset
|
1 #!/bin/sh |
331 | 2 |
3 set -x | |
4 mkdir t | |
5 cd t | |
6 hg init | |
7 echo a > a | |
8 hg add a | |
9 hg commit -t "test" -u test -d "0 0" | |
10 hg history | |
11 hg manifest | |
12 hg cat a | |
544
3d4d5f2aba9a
Remove bashisms and use /bin/sh instead of /bin/bash.
Thomas Arendsen Hein <thomas@intevation.de>
parents:
350
diff
changeset
|
13 hg verify |