equal
deleted
inserted
replaced
9 from mercurial import hg, commands |
9 from mercurial import hg, commands |
10 |
10 |
11 def share(ui, source, dest=None, noupdate=False): |
11 def share(ui, source, dest=None, noupdate=False): |
12 """create a new shared repository (experimental) |
12 """create a new shared repository (experimental) |
13 |
13 |
14 Initialize a new repository and working directory that shares its history |
14 Initialize a new repository and working directory that shares its |
15 with another repository. |
15 history with another repository. |
16 |
16 |
17 NOTE: actions that change history such as rollback or moving the source |
17 NOTE: actions that change history such as rollback or moving the |
18 may confuse sharers. |
18 source may confuse sharers. |
19 """ |
19 """ |
20 |
20 |
21 return hg.share(ui, source, dest, not noupdate) |
21 return hg.share(ui, source, dest, not noupdate) |
22 |
22 |
23 cmdtable = { |
23 cmdtable = { |