1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-29 02:02:41 +01:00
phorge-phorge/src/applications/diffusion/query
epriestley b2e89a9e48 Fix several error handling issues with Subversion commits in Diffusion
Summary:
Ref T9513. I checked this briefly but didn't do a very thorough job of it.

  - Don't try to query merges for Subversion, since it doesn't support them.
  - Fix up "existsquery" to work properly (and efficiently) for both hosted and imported repositories.
  - Fix up "parentsquery" to have similar behavior on invalid commits to other VCSes (throw an exception).

Test Plan:
  - No more merges warning on SVN.
  - Hosted SVN gets the right exists result now.
  - Visiting "r23980283789287" now 404's instead of "not parsed yet".

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T9513

Differential Revision: https://secure.phabricator.com/D14239
2015-10-05 15:57:41 -07:00
..
__tests__ Allow parenthesis in author name 2014-03-06 11:28:46 -08:00
filecontent Reduce badness in viewing large files in the Diffusion web UI 2015-06-18 13:06:01 -07:00
lowlevel Fix several error handling issues with Subversion commits in Diffusion 2015-10-05 15:57:41 -07:00
pathchange Extend from Phobject 2015-06-15 18:02:27 +10:00
pathid Fix a few more undeclared properties 2015-06-15 19:39:04 +10:00
rawdiff Change double quotes to single quotes. 2014-06-09 11:36:50 -07:00
DiffusionCachedResolveRefsQuery.php phtize all the things 2015-05-22 21:16:39 +10:00
DiffusionCommitQuery.php Modernize Audit search engine 2015-08-31 10:17:54 -07:00
DiffusionDiffInlineCommentQuery.php Extend TransactionCommentQuery for Diffusion 2015-03-09 14:11:22 -07:00
DiffusionLintCountQuery.php Use PhutilInvalidStateException 2015-05-14 07:53:52 +10:00
DiffusionPathQuery.php Extend from Phobject 2015-06-15 18:02:27 +10:00
DiffusionQuery.php phtize all the things 2015-05-22 21:16:39 +10:00
DiffusionRenameHistoryQuery.php Extend from Phobject 2015-06-15 18:02:27 +10:00
DiffusionResolveUserQuery.php Provide a standalone query for resolution of commit author/committer into Phabricator users 2013-12-19 11:05:17 -08:00
DiffusionSymbolQuery.php Only link symbols if there might be any 2015-05-21 08:25:35 -07:00