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 , 15 years ago
Owner: | set to |
---|
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in [9704]:
- Relative paths in
trac-admin
are converted to absolute paths. - The "Repositories" admin panel enforces absolute paths.
Note:
See TracTickets
for help on using tickets.
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
).