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