Show More
@@ -1,10 +1,15 b'' | |||
|
1 | 1 | from __future__ import absolute_import, print_function |
|
2 | 2 | |
|
3 | 3 | import argparse |
|
4 | import os | |
|
4 | 5 | import struct |
|
5 | 6 | import sys |
|
6 | 7 | import zipfile |
|
7 | 8 | |
|
9 | # Add ../.. to sys.path as an absolute path so we can import hg modules | |
|
10 | hgloc = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', '..')) | |
|
11 | sys.path[0:0] = [hgloc] | |
|
12 | ||
|
8 | 13 | from mercurial import ( |
|
9 | 14 | hg, |
|
10 | 15 | ui as uimod, |
General Comments 0
You need to be logged in to leave comments.
Login now