[PATCH 1 of 1] store: encode first space char in filenames (issue1713)

Augie Fackler durin42 at gmail.com
Sat Aug 21 13:39:26 CDT 2010


On Aug 21, 2010, at 1:37 PM, Adrian Buehlmann wrote:

> On 21.08.2010 20:25, Augie Fackler wrote:
>> 
>> On Aug 21, 2010, at 1:01 PM, Dirkjan Ochtman wrote:
>> 
>>> On Sat, Aug 21, 2010 at 19:57, Benoit Boissinot <bboissin at gmail.com> wrote:
>>>> I think it should have its own requirement. (and yes introducing this
>>>> requirement at the same time as parentdelta is a good idea, reusing
>>>> the requirement is not)
>>> 
>>> +1.
>>> 
>>> Can we also do something for that thing on OS X? I believe it was ._
>>> or .# or something.
>> 
>> Yes, OS X will interpret anything starting with ._ as AppleDouble information, so .DS_Store becomes ._d_s... and then the OS sometimes "helpfully" cleans those files up. Let's fix that at the same time as leading spaces.
>> 
> 
> Fine by me, but I lack access to an OS X. Never used one, so zero
> hands-on knowledge about OS X from my side.
> 
> So I would need exact guidance on that aspect. Or patches on top of mine
> would be nice.

The only escape sequence OS X needs that I'm aware of is a leading ._

I'll poke a friend at Apple and see if he can rustle up any other sequences we should escape just in case.

> 
> Only *all* shades of Windows (MSDN Premium subscription available,
> thanks to the CodePlex guys), Ubuntu and FreeBSD here.



More information about the Mercurial-devel mailing list