HomePhabricator

Improve Drydock errors for empty commits and missing changes

Description

Improve Drydock errors for empty commits and missing changes

Summary: Ref T10093. Show better errors when a commit fails because it has already been merged and when a fetch fails because the ref isn't present in the remote.

Test Plan:

Screen Shot 2016-03-06 at 3.27.56 PM.png (595×1 px, 91 KB)

Screen Shot 2016-03-06 at 3.32.13 PM.png (515×1 px, 96 KB)

Reviewers: chad

Reviewed By: chad

Subscribers: michaeljs1990, yelirekim

Maniphest Tasks: T10093

Differential Revision: https://secure.phabricator.com/D15420