1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2025-01-05 04:11:00 +01:00
phorge-arcanist/src/repository
epriestley 04606d2833 Improve default fill of Differential messages from commits
Summary:
  - When you run "arc diff" in Mercurial, we currently give you an empty template. Instead, prefill a likely template by parsing messages, as we do for Git.
  - Unify Git and Mercurial logic for acquiring messages, since `getLocalCommitInformation()` now provides this information. This should improve Git performance, and allows us to delete some code.
  - Merge messages more intelligently. Currently, we just overwrite fields. Instead, merge arrays (like ccs, reviewers, tasks) and concatenate strings (like summary and test plan). We need to special case "title", see inline.
  - @csilvers: this is a precursor to implementing "--reviewers", etc.

Test Plan: See next post, test plan includes giant output.

Reviewers: btrahan, csilvers, Makinde, jungejason, vrana

Reviewed By: csilvers

CC: aran

Differential Revision: https://secure.phabricator.com/D2536
2012-05-22 11:08:57 -07:00
..
api Improve default fill of Differential messages from commits 2012-05-22 11:08:57 -07:00
hookapi Finalize Arcanist Classes 2012-01-31 12:07:05 -08:00
parser/mercurial Make arc diff not crash on hg bookmarks 2012-05-16 13:24:30 -04:00