[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mercurial-devel
Subject:    [issue1713] explorer of Windows Vista removes spaces from file names
From:       Adrian Buehlmann <mercurial-bugs () selenic ! com>
Date:       2009-06-26 15:16:00
Message-ID: 1246029360.01.0.0765293647006.issue1713 () selenic ! com
[Download RAW message or body]

New submission from Adrian Buehlmann <adrian@cadifra.com>:

Explorer of Windows Vista and Windows 7 has the following bug:

When copying trees, it *removes* all spaces from the beginning
of file and directory names.

Tested on Vista 32bit, Vista 64bit and Windows 7 64bit.

This bug is *not* present in explorer.exe of Windows XP.

Note that on Windows Vista and Windows 7 (and of course Windows XP)
it is possible to create file and directory names beginning with
spaces using for example the rename command of cmd.exe:

rename a.txt " a.txt"

File- and directory names beginning with spaces are valid names
both for the OS and the file systems NTFS and FAT32.


Affected well known repository:

The python trunk repo for example contains the two files (names
given in double quotes):

"  separator ---.i"
"separator ---.i"

in ".hg/store/data/_mac/_i_d_e scripts".

If you try to copy that repo using explorer of Vista (or
Windows 7) you will get a warning box telling you that
it cannot copy the file "separator ---.i" to the destination
folder because that folder already contains a file with
that name (see attached copy-error.png).
No matter what the user chooses: the copied repo is broken
(fails on hg verify).

----------
files: copy-error.png
messages: 9782
nosy: abuehl
priority: feature
status: unread
title: explorer of Windows Vista removes spaces from file names
topic: windows

____________________________________________________
Mercurial issue tracker <mercurial-bugs@selenic.com>
<http://mercurial.selenic.com/bts/issue1713>
____________________________________________________
["copy-error.png" (image/png)]

_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@selenic.com
http://selenic.com/mailman/listinfo/mercurial-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic