Fossil SCM

windows-i18n: "fossil extras" does not see files with non-ascii chars in their name

Fixed

49db5c3993bef2e… · opened 14 years, 10 months ago

Type
Code_Defect
Priority
Severity
Important
Resolution
Fixed
Subsystem
Created
May 27, 2011 11:33 a.m.

On Windows 7, 64-bits.

After upgrading from fossil version [d8221b9863] 2011-05-12 14:56:52 UTC to [474850cff5] 2011-05-23 15:11:12, I noticed that a few files were reported as DELETED (using addremove), whereas they still existed on disk.

The problem is fairly easy to duplicate with a fresh repository, but querying extras in a directory containing one file with non-ascii char (², subscript two), and one file with no such character. The file with NO non-ascii char is listed, the other one isn't.

Steps to reproduce:

C:\data>dir
 Volume in drive C is OS
 Volume Serial Number is ADDE-9D00

 Directory of C:\data

27-mei-2011  13:16              .
27-mei-2011  13:16              ..
10-dec-2009  12:02             1.615 ax²+bx+c=0.png
08-apr-2010  17:42               760 bbc-logo-in-qr-code.png
               2 File(s)          2.375 bytes
               2 Dir(s)  301.619.884.032 bytes free

C:\data>fossil init repo
project-id: 99811bf16b717813968b01f962b55d18c86c2f52
server-id:  bdccb49160204a9f8edd6ad3890d39801085e668
admin-user: MCo (initial password is "82150c")

C:\data>fossil open repo

C:\data>fossil extras
bbc-logo-in-qr-code.png

C:\data>fossil addremove
ADDED  bbc-logo-in-qr-code.png
added 1 files, deleted 0 files

What puzzles me somewhat, is that extras doesn't see the special filename, but once I've added the file manually, it doesn't get removed either:

C:\data>fossil add ax²+bx+c=0.png
ADDED  ax²+bx+c=0.png

C:\data>fossil commit -m "test"
New_Version: 0b5214ea3fff07515e5a498d7521edb05582727a

C:\data>fossil addremove
added 0 files, deleted 0 files

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button