equal
deleted
inserted
replaced
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 |
14 Initialize a new repository and working directory that shares its |
15 history with another repository. |
15 history with another repository. |
16 |
16 |
17 NOTE: actions that change history such as rollback or moving the |
17 NOTE: using rollback or extensions that destroy/modify history |
18 source may confuse sharers. |
18 (mq, rebase, etc.) can cause considerable confusion with shared |
|
19 clones. In particular, if two shared clones are both updated to |
|
20 the same changeset, and one of them destroys that changeset with |
|
21 rollback, the other clone will suddenly stop working: all |
|
22 operations will fail with "abort: working directory has unknown |
|
23 parent". The only known workaround is to use debugsetparents on |
|
24 the broken clone to reset it to a changeset that still exists |
|
25 (e.g. tip). |
19 """ |
26 """ |
20 |
27 |
21 return hg.share(ui, source, dest, not noupdate) |
28 return hg.share(ui, source, dest, not noupdate) |
22 |
29 |
23 cmdtable = { |
30 cmdtable = { |