1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-28 09:42:41 +01:00
phorge-phorge/src/applications/repository/storage
epriestley 1bf68e06a5 Improve Diffusion error messages and UI for partially imported repositories
Summary:
  - When you have an un-cloned repository, we currently throw random-looking Git/Hg exception. Instead, throw a useful error.
  - When you have a cloned but undiscovered repository, we show no commits. This is crazy confusing. Instead, show commits as "importing...".
  - Fix some warnings and errors for empty path table cases, etc.

Test Plan:
  - Wiped database.
  - Added Mercurial repo without running daemons. Viewed in Diffusion, got a good exception.
  - Pulled Mercurial repo without discovering it. Got "Importing...".
  - Discovered Mercurial repo without parsing it. Got "Importing..." plus date information.
  - Parsed Mercurial repo, got everything working properly.
  - Added Git repo without running daemons, did all the stuff above, same results.
  - This doesn't improve SVN much but that's a trickier case since we don't actually make SVN calls and rely only on the parse state.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T776

Differential Revision: https://secure.phabricator.com/D2439
2012-05-09 17:28:57 -07:00
..
arcanistproject Add "final" to (almost) everything else 2012-03-13 16:21:04 -07:00
auditrequest Migrate "PhabricatorOwnersPackageCommitRelationship" to "PhabricatorRepositoryAuditRequest" 2012-03-05 13:17:29 -08:00
base Add "final" to (almost) everything else 2012-03-13 16:21:04 -07:00
commit Improve Diffusion error messages and UI for partially imported repositories 2012-05-09 17:28:57 -07:00
commitdata Add "final" to (almost) everything else 2012-03-13 16:21:04 -07:00
repository Run one daemon to pull all working copies, not one daemon per working copy 2012-05-07 15:01:10 -07:00
shortcut Add "final" to (almost) everything else 2012-03-13 16:21:04 -07:00
symbol Fix symbol URI generation to include default branch name for relevant repositories 2012-03-21 16:58:44 -07:00