Limit multi-commit review requests to repositories that support them
Review Request #9883 — Created April 20, 2018 and submitted
SCMTools now have a
supports_history
flag that indicates whether or
not they support multi-commit review requests. The API now prevents
creating a review request with history when the underlying SCMTool does
not support it.For now, only Git will have the support enabled (althrough incomplete)
until the overall DVCS support is feature complete and then support for
other SCMs can be added.
Ran unit tests.
- Change Summary:
-
More tests.
- Commit:
-
1266b03c5b7dbf1eeb165753079f317b74a08fe2640d178ff1d34c0f420807a89b1c857e26cbc894
Checks run (1 failed, 1 succeeded)
flake8
failed.
JSHint
passed.
flake8
- Change Summary:
-
Rebase and fix test name.
- Commit:
-
640d178ff1d34c0f420807a89b1c857e26cbc8942c8aeff52b0f5ad79a64aac04ed4acd5b13063e9
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Change Summary:
-
Addressed David's feedback.
- Commit:
-
2c8aeff52b0f5ad79a64aac04ed4acd5b13063e92a577aabbb078aff54ff9cbeff6f4fbbab5b28a0
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Change Summary:
-
Add Tool.supports_history
- Commit:
-
2a577aabbb078aff54ff9cbeff6f4fbbab5b28a0c25450884a553d52c603bbb7ea634a5617bb8201
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.