tests/test-symlink-os-yes-fs-no.py
changeset 17015 73d20de5f30b
parent 14971 0b21ae0a2366
child 18178 6ae45c0b4625
equal deleted inserted replaced
17014:50fbe9063ff2 17015:73d20de5f30b
     6 
     6 
     7 # only makes sense to test on os which supports symlinks
     7 # only makes sense to test on os which supports symlinks
     8 if not getattr(os, "symlink", False):
     8 if not getattr(os, "symlink", False):
     9     sys.exit(80) # SKIPPED_STATUS defined in run-tests.py
     9     sys.exit(80) # SKIPPED_STATUS defined in run-tests.py
    10 
    10 
       
    11 u = ui.ui()
       
    12 # hide outer repo
       
    13 hg.peer(u, {}, '.', create=True)
       
    14 
    11 # clone with symlink support
    15 # clone with symlink support
    12 u = ui.ui()
       
    13 hg.clone(u, {}, BUNDLEPATH, 'test0')
    16 hg.clone(u, {}, BUNDLEPATH, 'test0')
    14 
    17 
    15 repo = hg.repository(u, 'test0')
    18 repo = hg.repository(u, 'test0')
    16 
    19 
    17 # wait a bit, or the status call wont update the dirstate
    20 # wait a bit, or the status call wont update the dirstate