feature or bug?
Matt Mackall
mpm at selenic.com
Sun Jan 6 11:54:58 CST 2008
On Fri, 2008-01-04 at 22:19 -0800, Jens Alfke wrote:
> On 3 Jan '08, at 8:56 PM, Matt Mackall wrote:
>
> > Meh. I hate 'em too. But they exist. The new "store" format largely
> > exists to deal with that, but then people go and make unreasonably
> > long
> > filenames.
>
>
> Not as "unreasonable" as you may think. Characters in most Asian
> alphabets tend to decompose into three bytes each in UTF-8. If the
> filesystem's limit on filenames is 255 *bytes* (as it is in ext2/3 and
> xfs), then that's only 85 *characters* in such an alphabet. That means
> such limits get hit a lot earlier in such languages. (I've run into
> this issue myself in my job, initially reported by Korean QA engineers.)
It's a known issue, we're intending to deal with it.
The fix, I fear, will not be an easy or a happy one. There are important
advantages to having a fairly direct mapping of pathnames in the working
directory to pathnames in the repository and I'm not keen on giving them
up.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list