tests/test-symlink-os-yes-fs-no.py
changeset 14553 d976542986d2
parent 14168 135e244776f0
child 14971 0b21ae0a2366
equal deleted inserted replaced
14552:3417954c42e9 14553:d976542986d2
     8 if not hasattr(os, "symlink"):
     8 if not hasattr(os, "symlink"):
     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 # clone with symlink support
    11 # clone with symlink support
    12 u = ui.ui()
    12 u = ui.ui()
    13 hg.clone(u, BUNDLEPATH, 'test0')
    13 hg.clone(u, {}, BUNDLEPATH, 'test0')
    14 
    14 
    15 repo = hg.repository(u, 'test0')
    15 repo = hg.repository(u, 'test0')
    16 
    16 
    17 # wait a bit, or the status call wont update the dirstate
    17 # wait a bit, or the status call wont update the dirstate
    18 time.sleep(1)
    18 time.sleep(1)
    37 repo = hg.repository(u, 'test0')
    37 repo = hg.repository(u, 'test0')
    38 commands.status(u, repo)
    38 commands.status(u, repo)
    39 
    39 
    40 # try cloning a repo which contains symlinks
    40 # try cloning a repo which contains symlinks
    41 u = ui.ui()
    41 u = ui.ui()
    42 hg.clone(u, BUNDLEPATH, 'test1')
    42 hg.clone(u, {}, BUNDLEPATH, 'test1')