Ticket #7240 (closed defect: fixed)
Opened 4 years ago
Last modified 4 years ago
URL Encoded spaces in svn:externals cause 'unsupported format character'
| Reported by: | trac@… | Owned by: | thatch |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.11 |
| Component: | version control | Version: | 0.11rc1 |
| Severity: | major | Keywords: | externals |
| Cc: | fohagan@… | ||
| Release Notes: | |||
| API Changes: | |||
Description
Using 0.11rc1 on OS X and Windows XP with Python2.5 and 2.5 repectively.
Related to #6785 (r6504) Trac has trouble displaying %20 and other URL encoded characters in svn:externals in the SVN repository itelf (as opposed to in trac.ini).
For example this is a valid svn external:
svn propget svn:externals . >project2 http://localhost/src/branches/project%20Two
But gives a ValueError: unsupported format character 'T' (0x42) at index as it tries to interpret the %20T string in some way.
This affects updates to the Timeline, the Changeset where the external was added and the Source Browser when viewing the dir containing the external.
Attachments
Change History
comment:1 follow-up: ↓ 2 Changed 4 years ago by thatch
- Component changed from general to version control
- Milestone set to 0.11
- Owner changed from jonas to thatch
- Status changed from new to assigned
comment:2 in reply to: ↑ 1 Changed 4 years ago by anonymous
Replying to thatch:
Yeah, the svn:externals handling needs a little love. #7123 was also an issue recently, so we really need to have more testcases in there.
BTW, as SVN 1.5 introduces many more syntaxes for svn:externals, it would be nice to add support for them - if this is not already implemented.
comment:3 Changed 4 years ago by cboos
- Resolution set to fixed
- Status changed from assigned to closed
Fixed in [7157].
Patches welcomed for supporting 1.5-style svn:externals.



Yeah, the svn:externals handling needs a little love. #7123 was also an issue recently, so we really need to have more testcases in there.