id,summary,reporter,owner,description,type,status,priority,component,severity,resolution,keywords,cc,release 5281,TRAC_CODE_PATH is not required for TracSvnPoliciesPlugin,anonymous,,"Current TracSvnPoliciesPlugin requires `svnpolicy.conf` to set a variable `TRAC_CODE_PATH` before building the plugin. On further examination, the only reason this variable is required is for the `post-commit` hook to find the `trac-post-commit-hook` script. Instead, the reference in `svnpolicies/hooks/post-commit.py` ... {{{#!python return run_command([TRAC_CODE_PATH + os.path.sep +'contrib' + os.path.sep + 'trac-post-commit-hook', }}} ... should instead be ... {{{#!python return run_command([str(trac_env) + os.path.sep +'contrib' + os.path.sep + 'trac-post-commit-hook', }}} ... and that will take care of that.",enhancement,closed,normal,TracSvnPoliciesPlugin,normal,wontfix,,,0.11