Show More
@@ -8,7 +8,14 b'' | |||||
8 | # of the GNU General Public License, incorporated herein by reference. |
|
8 | # of the GNU General Public License, incorporated herein by reference. | |
9 |
|
9 | |||
10 | # enable importing on demand to reduce startup time |
|
10 | # enable importing on demand to reduce startup time | |
|
11 | try: | |||
11 | from mercurial import demandimport; demandimport.enable() |
|
12 | from mercurial import demandimport; demandimport.enable() | |
|
13 | except ImportError: | |||
|
14 | import sys | |||
|
15 | sys.stderr.write("abort: couldn't find mercurial libraries in [%s]\n" % | |||
|
16 | ' '.join(sys.path)) | |||
|
17 | sys.stderr.write("(check your install and PYTHONPATH)\n") | |||
|
18 | sys.exit(-1) | |||
12 |
|
19 | |||
13 | import sys |
|
20 | import sys | |
14 | import mercurial.util |
|
21 | import mercurial.util |
General Comments 0
You need to be logged in to leave comments.
Login now