diff: add --stat for diffstat output
diff/qdiff --stat invokes patch.diffstat() on the diff output.
When in interactive mode, the output's maximum width is determined by the
terminal's width.
#!/bin/shhg initecho a > ahg ci -Am0touch .hg/store/journalecho foo > ahg ci -Am0hg recover