unbundle: fix pyflakes warning about wc

--HG--
branch : stable
run-tests: attempt to fix iolock handling

Ideally, when using -j and -i together, when a prompt comes up, we'd
like all other output to wait (but testing to continue!). This gets
other output to wait by adding back a bunch of the locking that
formerly existed. We switch to a recursive lock to deal with the
restructuring due to unittest compatibility.

Running tests continue to run, but now the scheduler doesn't schedule
any new tasks while waiting at a prompt because no task slots become
available due to result output happening in the thread and
blocking on the iolock.
revset: bookmark revset interprets 'literal:' prefix correctly (issue4329)

--HG--
branch : stable
extra : amend_source : 9e1df6e928f4f3f0d2b8c02b896f8d6a50392f6a
run-tests: don't show 'i' for tests that don't match a keyword

--HG--
extra : amend_source : 48e760ca7c006fdaf607c5f3fc6a2e805bf82edc
test-run-tests: test --view

--HG--
extra : rebase_source : 48f0e30a1d5647f6dcf6cb45022d4ae4780d5091
hg-test-mode: don't highlight variables in output

This was disabling highlighting the rest of the line for $REASONS.
Instead, we only highlight when we think we're on a 'command' line.

--HG--
extra : rebase_source : e51725a1d828b3c539c5fdad3c0ceea2862f4a9a
repoview: filter tags to non-existent nodes from blockers (issue4328)

--HG--
branch : stable
help: tweak --verbose command help hint

We used to have two slightly different message which people wouldn't read...
and then complain that they couldn't find the global options or examples.

So we unify them into one message that's upfront that STUFF IS
INTENTIONALLY HIDDEN and that looks more like our normal hint style.
help: improve command summary hint

This adds our normal hint parentheses, corrects the command syntax
(consider config), and corrects the fullness of help you'll get.
help: normalize extension shadow hint
help: normalize hint about enabling extensions
help: normalize topic and extension verbose hints
help: refactor helplist optlist mess

No output changes
help: roll option list header into option formatter
help: fold repeatable option message into option table header

This will hopefully conserve some limited user attention.
help: normalize helplist hints

--HG--
extra : amend_source : 84c8c8ab6d86762f7249a23343b6eeb1193b4425
merge with stable