[PATCH 1 of 3] Add a new function, filesystem_case
Dirkjan Ochtman
dirkjan at ochtman.nl
Sun Apr 27 09:25:28 CDT 2008
Paul Moore wrote:
> Hmm, I think this should be a dirstate member - only the filesystem
> has case folding behaviour, and the dirstate reflects the working
> directory, ie the filesystem. The repository is in theory always case
> sensitive as filenames get mangled to ensure this.
That sounds sensible.
> There may be places where the repo needs to know about case issues -
> my paych for issue 1083 is a case in point - but that's only in order
> to know that it needs to work around a case insensitive filesystem in
> order to enforce case sensitive semantics.
Do you have a dirstate there? It should really be as nicely decoupled as
possible, so if you can localize things to the dirstate, that seems
nice, but if you need it in the repo in other places, maybe not.
Cheers,
Dirkjan
More information about the Mercurial-devel
mailing list