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

Matt Mackall mpm at selenic.com
Sat Jun 14 10:05:29 CDT 2008


On Sat, 2008-06-14 at 12:22 +0100, Paul Moore wrote:
> 2008/6/14 Adrian Buehlmann <adrian at cadifra.com>:
> > So, a simple file/directory encoding strategy (for a new Mercurial repo
> > layout) would be to prepend a period to every directory- and filename
> > inside the .hg dir.
> >
> > If anyone knows this encoding doesn't work, please tell me!
> 
> I see no reason why this would not work. However, it may be a bit more
> wide-ranging than is needed.

Actually, it's not wide-ranging enough - it doesn't solve the long
filename problem and we're not going to switch layouts unless we solve
both.

As I've mentioned before, it *is* possible to create both very long path
names *and* files with reserved filenames on Windows by using the
Unicode APIs. And that doesn't even require a layout change.

-- 
Mathematics is the supreme nostalgia of our time.



More information about the Mercurial mailing list