Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#4765 closed defect (fixed)

[patch] Problem with non ascii filenames

Reported by: serendipity-soft@… Owned by: Christian Boos
Priority: normal Milestone: 0.11
Component: version control Version:
Severity: trivial Keywords: mercurial unicode
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

The attached patch solves a problem for me with non ascii characters in filenames.

The problem was observed using the Mercurial plugin on Trac 0.11dev. standalone.

The system used was Mac OS X 10.4.

I am not an expert in Trac, unicode, or locale so it might not be a portable fix bur here it is anyway.

regards

Anders

Attachments (1)

trac.diff (785 bytes ) - added by serendipity-soft@… 18 years ago.
diff of trac/versioncontrol/api.py

Download all attachments as: .zip

Change History (4)

by serendipity-soft@…, 18 years ago

Attachment: trac.diff added

diff of trac/versioncontrol/api.py

comment:1 by Christian Boos, 18 years ago

Component: generalversion control
Keywords: mercurial unicode added
Owner: changed from Jonas Borgström to Christian Boos

Are you using source:sandbox/mercurial-plugin-0.11 ?

If not, you should, as I believe the unicode issues are correctly handled there. If you're already using the 0.11 version of the plugin, please attach a sample bundle which I could use to reproduce the error.

comment:2 by Christian Boos, 18 years ago

Milestone: 0.11
Severity: normaltrivial
Status: newassigned

This problem should be gone with the latest version of the plugin, as mentioned above, but to make the base versioncontrol API safer, I'll use to_unicode() instead of unicode there.

comment:3 by Christian Boos, 18 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r4952.

Modify Ticket

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