Edgewall Software
Modify

Opened 15 years ago

Closed 15 years ago

#9345 closed defect (fixed)

trac-admin did't accept absolute path when I using hooks to calling trac-admin

Reported by: anonymous Owned by: Remy Blank
Priority: normal Milestone: 0.12
Component: general Version: 0.12dev
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Because I set the repo path in trac database is not absolute path, is an relative path, but once I calling trac, I was using absolute path, So Trac can't match these two path and I can't update trac using svn-hooks:(

Attachments (0)

Change History (2)

comment:1 by Remy Blank, 15 years ago

Owner: set to Remy Blank

You should not use relative paths to repositories, as it's certainly not clear what they would be relative to. We should actually check that the paths are absolute and show an error (in the admin panel) or make them absolute (in trac-admin).

comment:2 by Remy Blank, 15 years ago

Resolution: fixed
Status: newclosed

Fixed in [9704]:

  • Relative paths in trac-admin are converted to absolute paths.
  • The "Repositories" admin panel enforces absolute paths.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Remy Blank.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Remy Blank 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.