[WIP] Support creation of multi-commit review request with the Git SCMClient
Review Request #6645 — Created Nov. 25, 2014 and discarded — Latest diff uploaded
Add the
-Hand--with-historyoptions to the post command, which
allow creation of a multi-commit review request if the repository's
SCMClient supports it.Currently no SCMClients support the
-Hflag.Add the
SCMClient.get_revision_historymethod which calculates the
revision history of the provided revision dictionary. It produces a
list of revision dictionaries that can be used to create diffs for
each commit in the range of commits.Add an implementation of
get_revision_historyfor the Git SCMClient.
Running
rbt post -H ...with any SCMClient fails.Unit tests pass.