gendoc: add anchors for commands
Enables links into hg.1.html of the form: hg.1.html#command
Backed out changeset
ff5ef3c0fe10 (fixes wrong documentation)
mq: expand help text for qdiff
Thanks to Waldo for thinking about this and formulating some text.
status: refactor status command
- directly calculate a list of states to show
- simplify repo.status call
- use zip to build file list
- only add relevant copies to copy dict