Ticket Change Details
Not logged in
Overview

Artifact ID: 67e356f427155f3d8efd231a5bc59fc782844d4e
Ticket: 49db5c3993bef2e8e6d0c921e19f070e5ec4b90f
windows-i18n: "fossil extras" does not see files with non-ascii chars in their name
User & Date: anonymous 2011-05-27 11:33:08
Changes

  1. comment changed to:
    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:
    
    <pre>
    C:\data>dir
     Volume in drive C is OS
     Volume Serial Number is ADDE-9D00
    
     Directory of C:\data
    
    27-mei-2011  13:16    <DIR>          .
    27-mei-2011  13:16    <DIR>          ..
    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
    </pre>
    
    
    What puzzles me somewhat, is that <code>extras</code> doesn't see the special filename, but once I've added the file manually, it doesn't get removed either:
    
    <pre>
    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
    </pre>
    
  2. foundin changed to: "[474850cff5] 2011-05-23 15:11:12"
  3. private_contact changed to: "9d51a8b06966fd2ab0f28ccfb14200a7623c7eed"
  4. severity changed to: "Important"
  5. status changed to: "Open"
  6. title changed to:
    windows-i18n: "fossil extras" does not see files with non-ascii chars in their name
    
  7. type changed to: "Code_Defect"