1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-11 17:32:41 +01:00
phorge-phorge/src/applications/repository/storage
epriestley a3c1dcb928 Produce a more tailored checkout URI for Subversion
Summary:
For imported SVN repositories with an "Import Only" path, we produce a `/path/to/root/` URI, but should produce `/path/to/root/then/to/import/only/`.

As it is, the URI instructs the user to check out the whole repository.

Also, don't show the "Clone As" fragment in the URI for remote repositories, and prevent it from being edited for nonhosted repositories. This is generally more consistent with user expectation.

Test Plan:
  - Created a remote SVN repository with "Import Only", saw path include it.
  - Verified no "Clone As" options, no "Clone As" in URI.
  - Switched it to hosted, saw "Clone As" options appear and work properly.

Reviewers: btrahan

Reviewed By: btrahan

CC: aran, staticshock

Differential Revision: https://secure.phabricator.com/D8375
2014-02-28 13:04:41 -08:00
..
__tests__ Produce a more tailored checkout URI for Subversion 2014-02-28 13:04:41 -08:00
PhabricatorRepository.php Produce a more tailored checkout URI for Subversion 2014-02-28 13:04:41 -08:00
PhabricatorRepositoryArcanistProject.php Make PhabricatorPolicyInterface require a getPHID() method 2013-10-14 14:35:47 -07:00
PhabricatorRepositoryAuditRequest.php Split users apart from projects/packages in reviewer and audit UIs 2013-10-05 14:10:49 -07:00
PhabricatorRepositoryBranch.php Allow saving lint errors to database 2012-11-08 15:39:43 -08:00
PhabricatorRepositoryCommit.php Introduce ref cursors for repository parsing 2014-01-17 11:48:53 -08:00
PhabricatorRepositoryCommitData.php Diffusion - move DiffusionBrowseQuery => Conduit 2013-05-10 11:02:58 -07:00
PhabricatorRepositoryDAO.php Delete license headers from files 2012-11-05 11:16:51 -08:00
PhabricatorRepositoryMirror.php Add UI for defining repository mirrors 2013-11-22 15:23:50 -08:00
PhabricatorRepositoryPushLog.php Convert Phabricator to handle "%s" / "%B" properly 2014-02-23 16:20:46 -08:00
PhabricatorRepositoryRefCursor.php Convert Phabricator to handle "%s" / "%B" properly 2014-02-23 16:20:46 -08:00
PhabricatorRepositoryStatusMessage.php Add "RepositoryStatusMessage" and detailed information about initilization 2013-10-30 16:04:19 -07:00
PhabricatorRepositorySymbol.php Replace all "attach first..." exceptions with assertAttached() 2013-09-03 06:02:14 -07:00
PhabricatorRepositoryTransaction.php Various linter fixes. 2014-02-26 12:44:58 -08:00
PhabricatorRepositoryVCSPassword.php Modernize VCS password storage to use shared hash infrastructure 2014-02-18 14:09:36 -08:00