[PATCH 1 of 1] store: encode first space char in filenames (issue1713)
Frank A. Kingswood
frank at kingswood-consulting.co.uk
Sun Aug 22 07:31:06 CDT 2010
Dan Villiom Podlaski Christiansen wrote:
> On 21 Aug 2010, at 20:39, Augie Fackler wrote:
>
>> 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.
>
> Would it make sense to just encode any leading dots?
+1 on encoding leading dots
OTOH, we are now looking for so many different things, it might make the
code simpler to just encode the first character of any object.
After all, who cares whether a Makefile becomes _Makefile or ~4dakefile?
Frank
--
------------------------------------------------------------------------
Frank A. Kingswood frank at kingswood-consulting.co.uk
Cambridge, United Kingdom +44-870-095 0000
More information about the Mercurial-devel
mailing list