Add DVCS support for rbt patch

Review Request #10286 — Created Oct. 26, 2018 and submitted — Latest diff uploaded

Information

RBTools
master
3dc4768...

Reviewers

rbt patch can now apply the patches from specific commits from a
review request created with commit history support. As part of this
change, the Patch.get_patch method has been deprecated in favour of
the new Patch.get_patch_data method, which returns a dictionary
instead of a tuple, which is more extendable for the future.

  • Applied patches from a review request created with commit history.
  • Attempted to patch a review request created with commit history
    without a commit ID and got the expected error.
  • Applied a patch from a review request created without commit
    history.

Diff Revision 3

This is not the most recent revision of the diff. The latest diff is revision 4. See what's changed.

orig
1
2
3
4
rbtools/api/resource.py
rbtools/commands/patch.py
Loading...