1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-01 11:12:42 +01:00
phorge-phorge/src/applications/diffusion/editor
epriestley 99c6b53ab2 Explicitly update the repository URI index after making a URI edit
Summary:
Fixes T11936. After editing a repository URI, we were not correctly updating the URI index.

Any other edit to the repository //would// update the index, and this index is only really used by `arc` to figure out which repository a working copy belongs to, so that's how this evaded detection for this long. In particular, creating a repository would usually have an edit after any URI edits, to activate it, which would build the index correctly.

Test Plan:
  - Added a new URI to a repository.
  - Verified it was immediately reflected in the `repository_uriindex` table.

Reviewers: chad

Reviewed By: chad

Maniphest Tasks: T11936

Differential Revision: https://secure.phabricator.com/D16972
2016-12-01 14:29:39 -08:00
..
DiffusionRepositoryEditEngine.php Restore edit UI for "Import Only" in Subversion 2016-05-11 06:47:32 -07:00
DiffusionURIEditEngine.php Bring old repository instructions and guidance forward to new UI 2016-05-10 05:15:43 -07:00
DiffusionURIEditor.php Explicitly update the repository URI index after making a URI edit 2016-12-01 14:29:39 -08:00