[PATCH 2 of 3] Resolve issue 1092 (case clash in hg add)
Paul Moore
p.f.moore at gmail.com
Wed Apr 23 16:48:03 CDT 2008
2008/4/23 Matt Mackall <mpm at selenic.com>:
> > for src, abs, rel, exact in cmdutil.walk(repo, pats, opts,
> > badmatch=util.always):
> > + abs = util.filesystem_case(abs)
>
> Seems this should be done in cmdutil, or even lower? Perhaps
> dirstate.statwalk?
You're quite possibly right. When I initially tried putting it lower,
it broke some other things. I think things partway up the stack are
expecting to be able to use == on filenames (which isn't valid on case
insensitive systems). I'll try again based on your suggestions.
Thanks for the comments,
Paul.
More information about the Mercurial-devel
mailing list