This is an archive of the discontinued Mercurial Phabricator instance.

phabricator: add commenting to phabsend for new/updated Diffs
ClosedPublic

Authored by Kwan on Jun 7 2019, 5:18 PM.

Details

Summary

Especially useful when sending updates to existing Revisions so one can specify
the sort of changes e.g. "Address review comments" or "Rebase to tip"

If the diff content hasn't changed then it only needs a metadata update which
doesn't show in the Phabricator updates UI, so don't add a comment that will.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

Kwan created this revision.Jun 7 2019, 5:18 PM

While the .t test can't directly show this, now that we have a VCR matcher for the body we can test the output. In action: https://phabricator-dev.allizom.org/D1253

Kwan updated this revision to Diff 15374.Jun 7 2019, 5:24 PM

Doctor repo name in the recordings that I'd missed before

Alphare added a subscriber: Alphare.Jun 8 2019, 6:57 AM

@Kwan Very useful, thanks!

pulkit accepted this revision.Jun 8 2019, 12:08 PM
This revision was automatically updated to reflect the committed changes.