HomePhabricator

Improve handling of bad branches in Diffusion

Description

Improve handling of bad branches in Diffusion

Summary:
Fixes T7972.

  • Trap the RefNotFound error which may occur in getAlternatives().
  • Improve error handling in Mercurial.

Test Plan:

Screen Shot 2015-04-28 at 8.01.03 AM.png (1×1 px, 168 KB)

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T7972

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