Show More
@@ -28,9 +28,9 b" if libdir != '@' 'LIBDIR' '@':" | |||
|
28 | 28 | |
|
29 | 29 | # enable importing on demand to reduce startup time |
|
30 | 30 | try: |
|
31 | from mercurial import demandimport; demandimport.enable() | |
|
31 | if sys.version_info[0] < 3: | |
|
32 | from mercurial import demandimport; demandimport.enable() | |
|
32 | 33 | except ImportError: |
|
33 | import sys | |
|
34 | 34 | sys.stderr.write("abort: couldn't find mercurial libraries in [%s]\n" % |
|
35 | 35 | ' '.join(sys.path)) |
|
36 | 36 | sys.stderr.write("(check your install and PYTHONPATH)\n") |
General Comments 0
You need to be logged in to leave comments.
Login now