##// END OF EJS Templates
Use note admonition
Erik Zielke -
r12389:4ac734b9 default
parent child Browse files
Show More
@@ -2174,7 +2174,9 b' def guard(ui, repo, *args, **opts):'
2174
2174
2175 With no arguments, print the currently active guards.
2175 With no arguments, print the currently active guards.
2176 With arguments, set guards for the named patch.
2176 With arguments, set guards for the named patch.
2177 NOTE: Specifying negative guards now requires '--'.
2177
2178 .. note::
2179 Specifying negative guards now requires '--'.
2178
2180
2179 To set guards on another patch::
2181 To set guards on another patch::
2180
2182
@@ -14,15 +14,16 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: using rollback or extensions that destroy/modify history
17 .. note::
18 (mq, rebase, etc.) can cause considerable confusion with shared
18 using rollback or extensions that destroy/modify history (mq,
19 clones. In particular, if two shared clones are both updated to
19 rebase, etc.) can cause considerable confusion with shared
20 the same changeset, and one of them destroys that changeset with
20 clones. In particular, if two shared clones are both updated to
21 rollback, the other clone will suddenly stop working: all
21 the same changeset, and one of them destroys that changeset
22 operations will fail with "abort: working directory has unknown
22 with rollback, the other clone will suddenly stop working: all
23 parent". The only known workaround is to use debugsetparents on
23 operations will fail with "abort: working directory has unknown
24 the broken clone to reset it to a changeset that still exists
24 parent". The only known workaround is to use debugsetparents on
25 (e.g. tip).
25 the broken clone to reset it to a changeset that still exists
26 (e.g. tip).
26 """
27 """
27
28
28 return hg.share(ui, source, dest, not noupdate)
29 return hg.share(ui, source, dest, not noupdate)
@@ -1432,9 +1432,10 b' def diff(ui, repo, *pats, **opts):'
1432
1432
1433 Differences between files are shown using the unified diff format.
1433 Differences between files are shown using the unified diff format.
1434
1434
1435 NOTE: diff may generate unexpected results for merges, as it will
1435 .. note::
1436 default to comparing against the working directory's first parent
1436 diff may generate unexpected results for merges, as it will
1437 changeset if no revisions are specified.
1437 default to comparing against the working directory's first
1438 parent changeset if no revisions are specified.
1438
1439
1439 When two revision arguments are given, then changes are shown
1440 When two revision arguments are given, then changes are shown
1440 between those revisions. If only one revision is specified then
1441 between those revisions. If only one revision is specified then
@@ -439,9 +439,10 b' Test command without options'
439
439
440 Differences between files are shown using the unified diff format.
440 Differences between files are shown using the unified diff format.
441
441
442 NOTE: diff may generate unexpected results for merges, as it will default
442 Note:
443 to comparing against the working directory's first parent changeset if no
443 diff may generate unexpected results for merges, as it will default to
444 revisions are specified.
444 comparing against the working directory's first parent changeset if no
445 revisions are specified.
445
446
446 When two revision arguments are given, then changes are shown between
447 When two revision arguments are given, then changes are shown between
447 those revisions. If only one revision is specified then that revision is
448 those revisions. If only one revision is specified then that revision is
General Comments 0
You need to be logged in to leave comments. Login now