Submitter | Siddharth Agarwal |
---|---|
Date | Oct. 4, 2014, 7:01 p.m. |
Message ID | <c83e9a5d2dc56c0a0a48.1412449294@devbig136.prn2.facebook.com> |
Download | mbox | patch |
Permalink | /patch/6118/ |
State | Accepted |
Commit | 70624fda193d022ed85a88c26177137c1d807a8b |
Headers | show
Return-Path: <mercurial-devel-bounces@selenic.com> X-Original-To: patchwork@patchwork.serpentine.com Delivered-To: patchwork@patchwork.serpentine.com Received: from waste.org (waste.org [173.11.57.241]) by bz.selenic.com (Postfix) with ESMTP id 669AF3BBD7 for <patchwork@patchwork.serpentine.com>; Sat, 4 Oct 2014 15:02:10 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by waste.org (Postfix) with ESMTP id 6618F74189; Sat, 4 Oct 2014 14:02:09 -0500 (CDT) X-Virus-Scanned: Debian amavisd-new at waste.org Received: from waste.org ([127.0.0.1]) by localhost (waste.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id fPhWkA34yG89; Sat, 4 Oct 2014 14:02:09 -0500 (CDT) Received: from waste.org (localhost [127.0.0.1]) by waste.org (Postfix) with ESMTP id 10BE274199; Sat, 4 Oct 2014 14:01:55 -0500 (CDT) X-Original-To: mercurial-devel@waste.org Delivered-To: mercurial-devel@waste.org Received: from localhost (localhost [127.0.0.1]) by waste.org (Postfix) with ESMTP id 2BF7774195 for <mercurial-devel@waste.org>; Sat, 4 Oct 2014 14:01:50 -0500 (CDT) X-Virus-Scanned: Debian amavisd-new at waste.org Received: from waste.org ([127.0.0.1]) by localhost (waste.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Xn4sT5n2Tq-D for <mercurial-devel@waste.org>; Sat, 4 Oct 2014 14:01:47 -0500 (CDT) Received: from mx0b-00082601.pphosted.com (mx0b-00082601.pphosted.com [67.231.153.30]) by waste.org (Postfix) with ESMTP id DEB0C74172 for <mercurial-devel@selenic.com>; Sat, 4 Oct 2014 14:01:43 -0500 (CDT) Received: from pps.filterd (m0004060 [127.0.0.1]) by mx0b-00082601.pphosted.com (8.14.5/8.14.5) with SMTP id s94J0g1s021522 for <mercurial-devel@selenic.com>; Sat, 4 Oct 2014 12:01:43 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fb.com; h=content-type : mime-version : content-transfer-encoding : subject : message-id : in-reply-to : references : date : from : to; s=facebook; bh=RNwQxWG+pDMFcsjRT0cetJlSJ1IiySLA4RrG6LrTifY=; b=aE/ZKCC0UizudfkUF8sdF0eJDQmW7mc3kRaRrQgOr63g1lalKSptlzU6mgtsV/Qoe7E4 kLD59MnbNXbzfXwnVrd/cxc+o0kV/25aiYHV1JN3YQRpFhgrQo1jYF5yjpOf9EtJ8xme ZmH/EPQ+YJr5WO+t7Kk3i4pH1qAgam82gso= Received: from mail.thefacebook.com (mailwest.thefacebook.com [173.252.71.148]) by mx0b-00082601.pphosted.com with ESMTP id 1pt6b6hxma-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=OK) for <mercurial-devel@selenic.com>; Sat, 04 Oct 2014 12:01:43 -0700 Received: from mx-out.facebook.com (192.168.57.29) by PRN-CHUB03.TheFacebook.com (192.168.16.13) with Microsoft SMTP Server (TLS) id 14.3.195.1; Sat, 4 Oct 2014 12:01:41 -0700 Received: from devbig136.prn2.facebook.com (2401:db00:20:7023:face:0:47:0) by mx-out.facebook.com (10.212.236.87) with ESMTP id dfdef8144bf811e489570002c9521c9e-1f2e33e0 for <mercurial-devel@selenic.com>; Sat, 04 Oct 2014 12:01:40 -0700 MIME-Version: 1.0 Subject: [PATCH 4 of 5 V2] normcase: for darwin, use fast ASCII lower X-Mercurial-Node: c83e9a5d2dc56c0a0a48d84af2aefc67518d8e9f X-Mercurial-Series-Index: 4 X-Mercurial-Series-Total: 5 Message-ID: <c83e9a5d2dc56c0a0a48.1412449294@devbig136.prn2.facebook.com> X-Mercurial-Series-Id: <d9942c85d5f97c240038.1412449291@devbig136.prn2.facebook.com> In-Reply-To: <d9942c85d5f97c240038.1412449291@devbig136.prn2.facebook.com> References: <d9942c85d5f97c240038.1412449291@devbig136.prn2.facebook.com> User-Agent: Mercurial-patchbomb/3.1.1+86-48791c2bea1c Date: Sat, 4 Oct 2014 12:01:34 -0700 From: Siddharth Agarwal <sid0@fb.com> To: <mercurial-devel@selenic.com> X-FB-Internal: Safe X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.12.52, 1.0.28, 0.0.0000 definitions=2014-10-04_02:2014-10-03, 2014-10-04, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=0 kscore.is_bulkscore=0 kscore.compositescore=1 circleOfTrustscore=749.064 compositescore=0.997009260339063 urlsuspect_oldscore=0.997009260339063 suspectscore=1 recipient_domain_to_sender_totalscore=8934 phishscore=0 bulkscore=0 kscore.is_spamscore=0 recipient_to_sender_totalscore=0 recipient_domain_to_sender_domain_totalscore=57897 rbsscore=0.997009260339063 spamscore=0 recipient_to_sender_domain_totalscore=0 urlsuspectscore=0.9 adultscore=1 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1410040209 X-FB-Internal: deliver X-BeenThere: mercurial-devel@selenic.com X-Mailman-Version: 2.1.13 Precedence: list List-Id: <mercurial-devel.selenic.com> List-Unsubscribe: <http://selenic.com/mailman/options/mercurial-devel>, <mailto:mercurial-devel-request@selenic.com?subject=unsubscribe> List-Archive: <http://selenic.com/pipermail/mercurial-devel> List-Post: <mailto:mercurial-devel@selenic.com> List-Help: <mailto:mercurial-devel-request@selenic.com?subject=help> List-Subscribe: <http://selenic.com/mailman/listinfo/mercurial-devel>, <mailto:mercurial-devel-request@selenic.com?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: mercurial-devel-bounces@selenic.com Errors-To: mercurial-devel-bounces@selenic.com |
Comments
Siddharth Agarwal - Oct. 4, 2014, 7:01 p.m.
Patch
diff --git a/mercurial/posix.py b/mercurial/posix.py --- a/mercurial/posix.py +++ b/mercurial/posix.py @@ -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: