Changes between Initial Version and Version 2 of Ticket #12631
- Timestamp:
- Dec 15, 2016, 8:02:34 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12631
- Property Owner Robert Corsaro deleted
-
Ticket #12631 – Description
initial v2 1 This plugin is not compatible with Trac 1.0: it causes an error when submitting its main web-form. After reading the code, I discover that the problem lies in the _get_svn_hook_path function, because the repository_type and repository_dir fields are no longer in the "[trac]" section but in the "[repositories]" section, moreover with new names since Trac 1.0 allows multiple projects.1 This plugin is not compatible with Trac 1.0: it causes an error when submitting its main web-form. After reading the code, I discover that the problem lies in the _get_svn_hook_path function, because the repository_type and repository_dir fields are no longer in the `[trac]` section but in the `[repositories]` section, moreover with new names since Trac 1.0 allows multiple repositories. 2 2 3 Here is a new definition assuming there is a default SVN repository declared with ".alias" in the "[repositories]"section:3 Here is a new definition assuming there is a default SVN repository declared with `.alias` in the `[repositories]` section: 4 4 5 {{{ 5 {{{#!python 6 6 def _get_svn_hook_path(self): 7 7 """ … … 34 34 }}} 35 35 36 36 Does anyone has rights to commit the proposed definition ? 37 37 However, this plugin should be rewritten more drastically to fully handle multiple projects. Is is still maintained ?