Land and patch now properly report errors
Review Request #7568 — Created Aug. 4, 2015 and submitted
The
rbt patchcommand now always raises aCommandErrorwhen it
exits without correctly applying a patch.The
rbt landcommand now uses correct error checking when calling
intorbt patchto apply patches.Previously,
rbt patchwould not report an error via its status code
in some cases andrbt landwould then
assume it was successful.
Attempted to land a bad patch and had it fail correctly.
Tool: Pyflakes Processed Files: rbtools/commands/land.py rbtools/commands/patch.py Tool: PEP8 Style Checker Processed Files: rbtools/commands/land.py rbtools/commands/patch.py