monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Filesystem normalisation


From: Stephen Leake
Subject: Re: [Monotone-devel] Filesystem normalisation
Date: Tue, 02 Dec 2008 07:16:24 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

"Zack Weinberg" <address@hidden> writes:

> No comment on anything else right now, but ...
>
> On Mon, Dec 1, 2008 at 10:38 PM, Stephen Leake
> <address@hidden> wrote:
>> In order to accomodate different filesystems on one platform (via NFS
>> or some other mechanism), I think this function needs to be a
>> user-provided Lua hook, with a default that works for Win32, Linux, and
>> MAC OSX native filesystems.
>
> ... this really shouldn't be necessary.  If the filename validation
> logic (however it works, and whatever the necessary division of labor
> is between monotone and the OS) is properly designed, it will be aware
> of different file systems and do the right thing.  The hook you
> suggest is asking users to fix our bugs for us.

This is true; if there exists a function that returns an
existing filename that matches a candidate, preserving case, no matter
what the actual filesystem is, then that's all we need.

I'm pessimistic that such a function exists in Windows, but I admit I
haven't looked or tested.

-- 
-- Stephe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]