##// END OF EJS Templates
share: be more explicit about the dangers of rollback.
Greg Ward -
r10256:279c8a73 stable
parent child Browse files
Show More
@@ -14,8 +14,15 b' def share(ui, source, dest=None, noupdat'
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)
General Comments 0
You need to be logged in to leave comments. Login now