Page MenuHomePhabricator

Show a better message for empty repositories and invalid branches
ClosedPublic

Authored by epriestley on Jul 12 2014, 1:57 PM.
Tags
None
Referenced Files
F14065606: D9912.diff
Tue, Nov 19, 5:29 AM
F13975811: D9912.diff
Oct 18 2024, 11:44 AM
F13958876: D9912.id23789.diff
Oct 14 2024, 4:49 PM
Unknown Object (File)
Oct 12 2024, 7:37 PM
Unknown Object (File)
Oct 10 2024, 6:01 AM
Unknown Object (File)
Oct 9 2024, 4:22 PM
Unknown Object (File)
Sep 2 2024, 10:38 AM
Unknown Object (File)
Aug 29 2024, 2:31 AM
Subscribers

Details

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.

Diff Detail

Repository
rP Phabricator
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

epriestley retitled this revision from to Show a better message for empty repositories and invalid branches.
epriestley updated this object.
epriestley edited the test plan for this revision. (Show Details)
epriestley added reviewers: chad, btrahan.
chad edited edge metadata.
This revision is now accepted and ready to land.Jul 12 2014, 2:03 PM
epriestley updated this revision to Diff 23790.

Closed by commit rPae263ddde5a5 (authored by @epriestley).