##// END OF EJS Templates
tests: make test-walkrepo use hg's symlink test
Matt Mackall -
r16321:e1615a24 stable
parent child Browse files
Show More
@@ -1,11 +1,12 b''
1 import os
1 import os
2 from mercurial import hg, ui
2 from mercurial import hg, ui
3 from mercurial.scmutil import walkrepos
3 from mercurial.scmutil import walkrepos
4 from mercurial.util import checklink
4 from os import mkdir, chdir
5 from os import mkdir, chdir
5 from os.path import join as pjoin
6 from os.path import join as pjoin
6
7
7 u = ui.ui()
8 u = ui.ui()
8 sym = getattr(os, 'symlink', False) and getattr(os.path, 'samestat', False)
9 sym = checklink('.')
9
10
10 hg.repository(u, 'top1', create=1)
11 hg.repository(u, 'top1', create=1)
11 mkdir('subdir')
12 mkdir('subdir')
General Comments 0
You need to be logged in to leave comments. Login now