Edgewall Software
Modify

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#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 anonymous, 9 years ago

Resolution: invalid
Status: newclosed

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).

comment:2 by Remy Blank, 9 years ago

Milestone: 0.12.3

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.