diff -r d8ff1f671aed -r 70624fda193d mercurial/posix.py --- a/mercurial/posix.py Fri Oct 03 19:58:26 2014 -0700 +++ b/mercurial/posix.py Fri Oct 03 18:47:28 2014 -0700 @@ -217,8 +217,7 @@ ''' try: - path.decode('ascii') # throw exception for non-ASCII character - return path.lower() + return encoding.asciilower(path) # exception for non-ASCII except UnicodeDecodeError: pass try: