Windows people: please help check idea for a new Mercurial repository layout

Paul Moore p.f.moore at gmail.com
Mon Jun 16 06:45:55 CDT 2008


On 16/06/2008, Tom Widmer <tom.widmer at googlemail.com> wrote:
> How about using \\?\ to get around the long filename problem, but
> additionally encoding reserved names with a .? That way, only repos with
> extra long pathnames will have problems in explorer, but such repos will
> at least work if you stick to hg commands.

My experiments suggest that it could be very hard to modify Mercurial
to use the \\?\ APIs and workarounds. Pretty much every file command
would need changing - it would likely require implementation of a
complete file API layer.

Note - I haven't done more than minimal testing so far, but I've tried
what seem to me to be the obvious and simple options, and they don't
seem to work...

Paul.


More information about the Mercurial mailing list