equal
deleted
inserted
replaced
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) |