mercurial/commands.py
changeset 699 64046575a6f7
parent 698 df78d8ccac4c
child 700 d01b93efecd6
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -684,7 +684,7 @@ def locate(ui, repo, *pats, **opts):
         return re.compile(regexp)
     exclude = compile(opts['exclude'], on_empty=False)
     include = compile(opts['include'])
-    pat = compile([os.path.normcase(p) for p in pats], head='', tail='$')
+    pat = compile(pats, head='', tail='$')
     end = opts['print0'] and '\0' or '\n'
     if opts['rev']:
         node = repo.manifest.lookup(opts['rev'])