[Bug 3738] New: The add/addremove scanning of a file tree aborts on a Unicode filename, so some changes are not stored

bugzilla-daemon at bz.selenic.com bugzilla-daemon at bz.selenic.com
Tue Dec 18 18:32:50 CST 2012


http://bz.selenic.com/show_bug.cgi?id=3738

          Priority: normal
            Bug ID: 3738
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: The add/addremove scanning of a file tree aborts on a
                    Unicode filename, so some changes are not stored
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: zenopz at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.3.2
         Component: Mercurial
           Product: Mercurial

Commands "hg add" and "hg addremove" aborted on some filenames:

....
adding ordinal_file_1.txt
adding ordinal_file_2.txt
abort: filename contains '?', which is reserved on Windows: '?.unicode.txt'

There is no a file with "?" character in the name, but there exists a file with
the filename "⸗.unicode.txt".
So some unicode characters in filenames converted to the "?" character while
scanning. And the scanning aborts after that.

In this case the character is the 'DOUBLE OBLIQUE HYPHEN' (U+2E17) Unicode
character. But this and other Unicode characters are allowed in filenames.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list