Raise error when no history entries present or a history entry is empty
Review Request #10281 — Created Oct. 25, 2018 and submitted
Previously, the case where
was not graciously handled in
rbt postleading to an exception. We now
explicitly handle this case and report this to the user.
Additionally, we now explicitly handle the case of a commit containing
an empty diff (e.g., if the commit was created with
git commit --allow-empty), which will not pass validation with Review
Board (as it doesn't allow empty diff uploads).
- Attempted to post an empty history and the appropriate error was
- Attempted to post a history with an empty commit and the
appropriate error was shown.
Revision 2 (+17 -3)
Checks run (2 succeeded)