equal
deleted
inserted
replaced
22 clones. In particular, if two shared clones are both updated to |
22 clones. In particular, if two shared clones are both updated to |
23 the same changeset, and one of them destroys that changeset |
23 the same changeset, and one of them destroys that changeset |
24 with rollback, the other clone will suddenly stop working: all |
24 with rollback, the other clone will suddenly stop working: all |
25 operations will fail with "abort: working directory has unknown |
25 operations will fail with "abort: working directory has unknown |
26 parent". The only known workaround is to use debugsetparents on |
26 parent". The only known workaround is to use debugsetparents on |
27 the broken clone to reset it to a changeset that still exists |
27 the broken clone to reset it to a changeset that still exists. |
28 (e.g. tip). |
|
29 """ |
28 """ |
30 |
29 |
31 return hg.share(ui, source, dest, not noupdate) |
30 return hg.share(ui, source, dest, not noupdate) |
32 |
31 |
33 def unshare(ui, repo): |
32 def unshare(ui, repo): |