Removed duplicate use of os.path.normcase().
authorThomas Arendsen Hein <thomas@intevation.de>
Thu, 14 Jul 2005 15:56:11 +0100
changeset 699 64046575a6f7
parent 698 df78d8ccac4c
child 700 d01b93efecd6
Removed duplicate use of os.path.normcase(). -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Removed duplicate use of os.path.normcase(). manifest hash: cccacfb66a4de9abc20095b28e6bab9b51dc4fa9 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFC1n0LW7P1GVgWeRoRAueGAJ9256Jiwv4QbrFIV3Px/SmBMkddjQCbBop/ J2Yi2np72OAKVPhFhCijH6s= =aAyf -----END PGP SIGNATURE-----
mercurial/commands.py
--- a/mercurial/commands.py	Thu Jul 14 15:30:49 2005 +0100
+++ b/mercurial/commands.py	Thu Jul 14 15:56:11 2005 +0100
@@ -684,7 +684,7 @@
         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'])