# HG changeset patch # User FUJIWARA Katsunori # Date 1455200134 -32400 # Node ID 27ae22a4f9f9ee6c01a2f82489c1aaacd59d88f0 # Parent 18c6b271579b190472560a8667c0cff3ea129a34 doc: describe full help document hierarchy to create a valid link in HTML For example, ":hg:`help config.default-push`" creates an invalid link to "hgrc.5.html#default-push" in HTML, but ":hg:`help config.paths.default-push`" creates a valid link to "hgrc.5.html#paths". diff -r 18c6b271579b -r 27ae22a4f9f9 hgext/histedit.py --- a/hgext/histedit.py Thu Feb 11 23:15:34 2016 +0900 +++ b/hgext/histedit.py Thu Feb 11 23:15:34 2016 +0900 @@ -901,7 +901,7 @@ - Specify ANCESTOR directly - Use --outgoing -- it will be the first linear changeset not - included in destination. (See :hg:`help config.default-push`) + included in destination. (See :hg:`help config.paths.default-push`) - Otherwise, the value from the "histedit.defaultrev" config option is used as a revset to select the base revision when ANCESTOR is not diff -r 18c6b271579b -r 27ae22a4f9f9 mercurial/help/config.txt --- a/mercurial/help/config.txt Thu Feb 11 23:15:34 2016 +0900 +++ b/mercurial/help/config.txt Thu Feb 11 23:15:34 2016 +0900 @@ -800,7 +800,7 @@ ``outgoing`` Run after sending changes from local repository to another. ID of first changeset sent is in ``$HG_NODE``. Source of operation is in - ``$HG_SOURCE``; Also see :hg:`help config.preoutgoing` hook. + ``$HG_SOURCE``; Also see :hg:`help config.hooks.preoutgoing` hook. ``post-`` Run after successful invocations of the associated command. The @@ -881,11 +881,11 @@ ``txnclose`` Run after any repository transaction has been committed. At this point, the transaction can no longer be rolled back. The hook will run - after the lock is released. See :hg:`help config.pretxnclose` docs for + after the lock is released. See :hg:`help config.hooks.pretxnclose` docs for details about available variables. ``txnabort`` - Run when a transaction is aborted. See :hg:`help config.pretxnclose` + Run when a transaction is aborted. See :hg:`help config.hooks.pretxnclose` docs for details about available variables. ``pretxnchangegroup``