Homec4science

Show a better message for empty repositories and invalid branches

Authored by epriestley <git@epriestley.com> on Jul 12 2014, 16:05.

Description

Show a better message for empty repositories and invalid branches

Summary:
Ref T1493.

  • When viewing an invalid branch, show a "there is no such branch" message.
  • When viewing an empty repository, show a "this repository is empty" message.

Test Plan:

  • Viewed empty, bad branch, and nonempty in Git.
  • Viewed empty, bad branch, and nonempty in Mercurial.
  • Viewed empty and nonempty in Subversion.

Reviewers: btrahan, chad

Reviewed By: chad

Subscribers: epriestley

Maniphest Tasks: T1493

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

Details

Committed
epriestley <git@epriestley.com>Jul 12 2014, 16:05
Pushed
aubortJan 31 2017, 17:16
Parents
rPH17badfacac31: Fix PhabricatorProjectCustomFields to use storage correctly.
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHae263ddde5a5: Show a better message for empty repositories and invalid branches (authored by epriestley <git@epriestley.com>).Jul 12 2014, 16:05