Submitter | Siddharth Agarwal |
---|---|
Date | April 2, 2015, 10:51 p.m. |
Message ID | <740c49251044cc966f39.1428015115@devbig136.prn2.facebook.com> |
Download | mbox | patch |
Permalink | /patch/8463/ |
State | Accepted |
Headers | show |
Comments
On Thu, 2015-04-02 at 15:51 -0700, Siddharth Agarwal wrote: > # HG changeset patch > # User Siddharth Agarwal <sid0@fb.com> > # Date 1427873501 25200 > # Wed Apr 01 00:31:41 2015 -0700 > # Node ID 740c49251044cc966f39c39410b3c109eb37c4c6 > # Parent e8023e64800c8a009eac62cfc37cc7d39484b282 > windows: define normcase spec and fallback These are queued for default, thanks.
Patch
diff --git a/mercurial/windows.py b/mercurial/windows.py --- a/mercurial/windows.py +++ b/mercurial/windows.py @@ -141,6 +141,10 @@ def normpath(path): def normcase(path): return encoding.upper(path) +# see posix.py for definitions +normcasespec = encoding.normcasespecs.upper +normcasefallback = encoding.upperfallback + def samestat(s1, s2): return False