[WIP] Support creation of multi-commit review request with the Git SCMClient
Review Request #6645 — Created Nov. 25, 2014 and discarded
Information | |
---|---|
brennie | |
RBTools | |
master | |
Reviewers | |
rbtools, students | |
Add the
-H
and--with-history
options 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
-H
flag.Add the
SCMClient.get_revision_history
method 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_history
for the Git SCMClient.
Running
rbt post -H ...
with any SCMClient fails.Unit tests pass.
Change Summary:
Add history calculation for Git.
Summary: |
|
||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Description: |
|
||||||||||||||||||||||||||||||||||||||||||
Testing Done: |
|
||||||||||||||||||||||||||||||||||||||||||
Commit: |
|
||||||||||||||||||||||||||||||||||||||||||
Diff: |
Revision 2 (+69) |

-
Tool: Pyflakes Processed Files: rbtools/clients/tests.py rbtools/commands/post.py rbtools/clients/__init__.py rbtools/clients/git.py Tool: PEP8 Style Checker Processed Files: rbtools/clients/tests.py rbtools/commands/post.py rbtools/clients/__init__.py rbtools/clients/git.py
Change Summary:
Formatting.
Description: |
|
---|