Add DVCS support for rbt patch
Review Request #10286 — Created Oct. 26, 2018 and submitted
rbt patch
can now apply the patches from specific commits from a
review request created with commit history support. As part of this
change, thePatch.get_patch
method has been deprecated in favour of
the newPatch.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.
Description | From | Last Updated |
---|---|---|
F841 local variable 'tool' is assigned to but never used |
reviewbot | |
I know others here are bad but this docstring isn't in our modern format. |
david | |
Needs a docstring. |
david | |
Is there anything in here that uses this? Code in commands/ isn't really intended to be "library" code and we … |
david | |
This case is impossible to reach. |
david |
- Change Summary:
-
Post entire change
- Commit:
-
55f22bd6410df74bad502a28f7b94e59c50be68a2d4599e3ccbc47045fbbbc20f51707a567471452
- Diff:
-
Revision 2 (+255 -41)
Checks run (2 succeeded)
- Change Summary:
-
oopsie
- Testing Done:
-
~ - Applied patches from a review request created with history.
~ - Attempted to patch a review request created with history without a
commit ID and got the expected error.
~ - 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.
- Commit:
-
2d4599e3ccbc47045fbbbc20f51707a56747145259dd8fa95f5bc3a203a6afc87949a815ff62c0d3
- Diff:
-
Revision 3 (+255 -41)
Checks run (2 succeeded)
- Commit:
-
59dd8fa95f5bc3a203a6afc87949a815ff62c0d33dc47683e9d52ce0732de3b169c60eb3c41643e0
- Diff:
-
Revision 4 (+212 -41)