Show More
@@ -1,11 +1,12 b'' | |||
|
1 | 1 | import os |
|
2 | 2 | from mercurial import hg, ui |
|
3 | 3 | from mercurial.scmutil import walkrepos |
|
4 | from mercurial.util import checklink | |
|
4 | 5 | from os import mkdir, chdir |
|
5 | 6 | from os.path import join as pjoin |
|
6 | 7 | |
|
7 | 8 | u = ui.ui() |
|
8 | sym = getattr(os, 'symlink', False) and getattr(os.path, 'samestat', False) | |
|
9 | sym = checklink('.') | |
|
9 | 10 | |
|
10 | 11 | hg.repository(u, 'top1', create=1) |
|
11 | 12 | mkdir('subdir') |
General Comments 0
You need to be logged in to leave comments.
Login now