Show More
@@ -9,6 +9,23 b' import sys' | |||
|
9 | 9 | if not hasattr(sys, 'version_info') or sys.version_info < (2, 3, 0, 'final'): |
|
10 | 10 | raise SystemExit("Mercurial requires python 2.3 or later.") |
|
11 | 11 | |
|
12 | # Solaris Python packaging brain damage | |
|
13 | try: | |
|
14 | import hashlib | |
|
15 | sha = hashlib.sha1() | |
|
16 | except: | |
|
17 | try: | |
|
18 | import sha | |
|
19 | except: | |
|
20 | raise SystemExit( | |
|
21 | "Couldn't import standard hashlib (incomplete Python install).") | |
|
22 | ||
|
23 | try: | |
|
24 | import zlib | |
|
25 | except: | |
|
26 | raise SystemExit( | |
|
27 | "Couldn't import standard zlib (incomplete Python install).") | |
|
28 | ||
|
12 | 29 | import os |
|
13 | 30 | import shutil |
|
14 | 31 | import tempfile |
General Comments 0
You need to be logged in to leave comments.
Login now