Show More
@@ -43,10 +43,9 b' from hgdemandimport import tracing' | |||||
43 | with tracing.log('hg script'): |
|
43 | with tracing.log('hg script'): | |
44 | # enable importing on demand to reduce startup time |
|
44 | # enable importing on demand to reduce startup time | |
45 | try: |
|
45 | try: | |
46 | if sys.version_info[0] < 3 or sys.version_info >= (3, 6): |
|
46 | import hgdemandimport | |
47 | import hgdemandimport |
|
|||
48 |
|
47 | |||
49 |
|
|
48 | hgdemandimport.enable() | |
50 | except ImportError: |
|
49 | except ImportError: | |
51 | sys.stderr.write( |
|
50 | sys.stderr.write( | |
52 | "abort: couldn't find mercurial libraries in [%s]\n" |
|
51 | "abort: couldn't find mercurial libraries in [%s]\n" |
General Comments 0
You need to be logged in to leave comments.
Login now