Show More
@@ -64,7 +64,6 b'' | |||
|
64 | 64 | tests/test-pathencode.py requires print_function |
|
65 | 65 | tests/test-run-tests.py not using absolute_import |
|
66 | 66 | tests/test-simplemerge.py not using absolute_import |
|
67 | tests/test-symlink-os-yes-fs-no.py not using absolute_import | |
|
68 | 67 | tests/test-trusted.py requires print_function |
|
69 | 68 | |
|
70 | 69 | #if py3exe |
@@ -1,5 +1,14 b'' | |||
|
1 | import os, sys, time | |
|
2 | from mercurial import hg, ui, commands, util | |
|
1 | from __future__ import absolute_import | |
|
2 | ||
|
3 | import os | |
|
4 | import sys | |
|
5 | import time | |
|
6 | from mercurial import ( | |
|
7 | commands, | |
|
8 | hg, | |
|
9 | ui as uimod, | |
|
10 | util, | |
|
11 | ) | |
|
3 | 12 | |
|
4 | 13 | TESTDIR = os.environ["TESTDIR"] |
|
5 | 14 | BUNDLEPATH = os.path.join(TESTDIR, 'bundles', 'test-no-symlinks.hg') |
@@ -8,7 +17,7 b" BUNDLEPATH = os.path.join(TESTDIR, 'bund" | |||
|
8 | 17 | if not getattr(os, "symlink", False): |
|
9 | 18 | sys.exit(80) # SKIPPED_STATUS defined in run-tests.py |
|
10 | 19 | |
|
11 | u = ui.ui() | |
|
20 | u = uimod.ui() | |
|
12 | 21 | # hide outer repo |
|
13 | 22 | hg.peer(u, {}, '.', create=True) |
|
14 | 23 | |
@@ -36,10 +45,10 b" for f in 'test0/a.lnk', 'test0/d/b.lnk':" | |||
|
36 | 45 | fp.close() |
|
37 | 46 | |
|
38 | 47 | # reload repository |
|
39 | u = ui.ui() | |
|
48 | u = uimod.ui() | |
|
40 | 49 | repo = hg.repository(u, 'test0') |
|
41 | 50 | commands.status(u, repo) |
|
42 | 51 | |
|
43 | 52 | # try cloning a repo which contains symlinks |
|
44 | u = ui.ui() | |
|
53 | u = uimod.ui() | |
|
45 | 54 | hg.clone(u, {}, BUNDLEPATH, 'test1') |
General Comments 0
You need to be logged in to leave comments.
Login now