Modify ↓
#10415 closed defect (invalid)
Post-commit hook fails silently when project name has space characters.
Reported by: | anonymous | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | admin/console | Version: | 0.12.2 |
Severity: | major | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
Post-commit hook fails silently when project name has space characters (Windows 7 x64, Python 2.7 32-bit, SVN 1.6.15 32-bit, Trac 0.12.2).
Content of post-commit hook:
trac-admin "C:\Services\Trac\projects\Sand box" changeset added "%1" "%2"
…this does not work.
trac-admin "C:\Services\Trac\projects\Sandbox" changeset added "%1" "%2"
…this works.
trac-admin "C:\Services\Trac\projects\Sand box\" changeset added "%1" "%2"
…this fails with error message.
Same problem also with post-revprop-change hook.
Attachments (0)
Change History (2)
comment:1 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:2 by , 13 years ago
Milestone: | 0.12.3 |
---|
Note:
See TracTickets
for help on using tickets.
Problem is in documentation not code: the %1 and %2 parameters should not be in quotes because SVN passes them in as required (the error reported was the result of two sets of quotes being applied).