tests/test-symlink-os-yes-fs-no.py
changeset 37431 5ac84b20f184
parent 30559 d83ca854fa21
child 37935 630429dcc397
equal deleted inserted replaced
37430:b4f5d8c68cfa 37431:5ac84b20f184
    19 
    19 
    20 u = uimod.ui.load()
    20 u = uimod.ui.load()
    21 # hide outer repo
    21 # hide outer repo
    22 hg.peer(u, {}, '.', create=True)
    22 hg.peer(u, {}, '.', create=True)
    23 
    23 
    24 # clone with symlink support
    24 # unbundle with symlink support
    25 hg.clone(u, {}, BUNDLEPATH, 'test0')
    25 hg.peer(u, {}, 'test0', create=True)
    26 
    26 
    27 repo = hg.repository(u, 'test0')
    27 repo = hg.repository(u, 'test0')
       
    28 commands.unbundle(u, repo, BUNDLEPATH, update=True)
    28 
    29 
    29 # wait a bit, or the status call wont update the dirstate
    30 # wait a bit, or the status call wont update the dirstate
    30 time.sleep(1)
    31 time.sleep(1)
    31 commands.status(u, repo)
    32 commands.status(u, repo)
    32 
    33 
    50 # reload repository
    51 # reload repository
    51 u = uimod.ui.load()
    52 u = uimod.ui.load()
    52 repo = hg.repository(u, 'test0')
    53 repo = hg.repository(u, 'test0')
    53 commands.status(u, repo)
    54 commands.status(u, repo)
    54 
    55 
    55 # try cloning a repo which contains symlinks
    56 # try unbundling a repo which contains symlinks
    56 u = uimod.ui.load()
    57 u = uimod.ui.load()
    57 hg.clone(u, {}, BUNDLEPATH, 'test1')
    58 
       
    59 repo = hg.repository(u, 'test1', create=True)
       
    60 commands.unbundle(u, repo, BUNDLEPATH, update=True)