This is an archive of the discontinued Mercurial Phabricator instance.

phabricator: add the maketext function

Authored by Kwan on Oct 10 2019, 5:52 PM.



This add the diff data for a text file to a phabchange.

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Kwan created this revision.Oct 10 2019, 5:52 PM
Kwan updated this revision to Diff 17076.Oct 11 2019, 1:54 PM

Fix some test-check-code issues, and one test-check-pyflakes unused local.

indygreg accepted this revision.Oct 11 2019, 9:46 PM
indygreg added a subscriber: indygreg.
indygreg added inline comments.

The use of a single next() is a bit weird. But I suppose it gets the job done since we're expecting at most one file's diff.

This revision is now accepted and ready to land.Oct 11 2019, 9:46 PM
This revision was automatically updated to reflect the committed changes.