3389: 'rbt patch' should error out more gracefully if the patch doesn't apply cleanly.
- Review Board
|Aug. 21, 2014|
Right now, if a patch doesn't apply cleanly, 'rbt patch -c' will drop into the editor, where the user often makes some changes to the commit message, and then once they finish with all their changes, it becomes obvious that the commit didn't actually do anything because the patch didn't apply cleanly. Instead, it should probably just show an error that it didn't apply, and give some instructions for how to proceed (it might be nice to offer a way to apply the patch including .rej files, for the user to clean up by hand).