setparents: drop copies from dropped p2 (issue3843)

--HG--
branch : stable
Added tag 2.5.2 for changeset 5b7175377bab

--HG--
branch : stable
Added signature for changeset 5b7175377bab

--HG--
branch : stable
merge with stable
hgweb help: add tests

--HG--
extra : histedit_source : 03ae816392c6047653b15cb2f648c9f152da681e%2Cb8c25c61ee87b8a3310a90476c65bb506a81128c
hgweb help: split up long lines (in generated output)

--HG--
extra : rebase_source : 323c612fd7525885aaf96078cdd382b5d76638e3
help: move the majority of the help command to the help module

We move the logic for generating the unformatted ReST source to the
help module, in order to eventually avoid calling commands.help_()
from hgweb.

No functionality change.

--HG--
extra : rebase_source : 51de2db008eee0c3b002ea687ab5e17ae86ca490
hgweb: generate HTML documentation

It's generated from the raw ReST source, as returned from help.help_().

--HG--
extra : rebase_source : 5d28e8edff33b425f071aabd8db92881bc6682b3
help: use a full header for topic titles

...for prettier HTML!

--HG--
extra : rebase_source : 912013b05517ab5bb938b3d6e4148e227dcc63a1
minirst: don't generate TH elements for the first row in table

We mainly use them for option tables -- browsers bolding and centering
them looks wrong.

--HG--
extra : rebase_source : f75d28c1bbe48f8359464633a58d96639165e906
minirst: CGI escape strings prior to embedding it in the HTML

--HG--
extra : rebase_source : 43a838d6aa2f48aec5a96f325eca8395453e6275
minirst: HTML formatter tweaks

output table rows on distinct lines
don't make the first row a table header

--HG--
extra : rebase_source : 23a314a71272d3d1135e14ebe4d13dedb49569b8
minirst: optimize HTML table generation a bit

avoid a couple of array copies and string interpolations

--HG--
extra : rebase_source : 35f96c100d7f1d75b883bdc6c77fc2074b5a752a