Repositories can still be added when no IRepositoryConnectors enabled
|Reported by:||Ryan J Ollos||Owned by:|
When there are no
IRepositoryConnectors enabled, the Manage Repositories page is still shown, including the Add Repositories fieldset. The allowed type is (default).
I propose adding a notice that No repository connectors are enabled, and to not allow a user to add a new repository.
With the following configuration in trac.ini and the
MercurialConnector not enabled, the repository is displayed on the table with no indicator that it is not navigable.
[repositories] hg-plugin.dir = /home/user/Workspace/mercurial-plugin hg-plugin.type = hg
On the other hand, the Browser Source tab is not present and when navigating to
/browser, the following text is shown in the Last Change column: TracError: Unsupported version control system "hg": Can't find an appropriate component, maybe the corresponding plugin was not enabled?. We could display something similar in the table on the Manage Repositories page.
SubversionConnector is not enabled, the following is still shown on the Add repositories form: Default: svn