better hg diff, status
commit693c705b903c8c7e979011a97ebd8a6effa922d6
authorLucian Wischik <ljw@fb.com>
Thu, 14 May 2020 17:56:29 +0000 (14 10:56 -0700)
committerFacebook GitHub Bot <facebook-github-bot@users.noreply.github.com>
Thu, 14 May 2020 18:07:21 +0000 (14 11:07 -0700)
tree846d417106154c99f82f6aa6ce6f07c158b4bd41
parent28b3afd0c6dfa1297a308397e153e3c086a2ad0a
better hg diff, status

Summary:
This fixes up two issues with hg rage:

(1) it only did "hg diff", and so didn't pick up modified files that weren't yet tracked by source control. This diff adds a call to "hg status" to show them.

(2) it had a bug where it wrote the wrong contents into the "www hgdiff.txt" attachment. It was writing the output of clowder, not the output of "hg diff". I've fixed this.

Reviewed By: arxanas

Differential Revision: D21559844

fbshipit-source-id: 7ecc63b49f511c465ecb25668b30e91c52f5faa7
hphp/hack/src/client/clientRage.ml