3389: 'rbt patch' should error out more gracefully if the patch doesn't apply cleanly.

david
chipx86
chipx86
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).
chipx86
#1 chipx86
  • +Project-RBTools
chipx86
#2 chipx86
Fixed on release-1.6.x (fcdddb4). This will be in RBTools 0.6.3.
  • +Fixed
  • +Milestone-RBTools-Release0.6.x
  • +chipx86