Submitter | Siddharth Agarwal |
---|---|
Date | Oct. 4, 2014, 3:23 a.m. |
Message ID | <ceee117160a138ef2896.1412393006@devbig136.prn2.facebook.com> |
Download | mbox | patch |
Permalink | /patch/6105/ |
State | Superseded |
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 96D453BBD7 for <patchwork@patchwork.serpentine.com>; Fri, 3 Oct 2014 23:24:12 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by waste.org (Postfix) with ESMTP id A2DF8740EA; Fri, 3 Oct 2014 22:24:11 -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 J2aPqEMBx6U0; Fri, 3 Oct 2014 22:24:11 -0500 (CDT) Received: from waste.org (localhost [127.0.0.1]) by waste.org (Postfix) with ESMTP id 2B8A2740E1; Fri, 3 Oct 2014 22:23:47 -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 B5B4C740E8 for <mercurial-devel@waste.org>; Fri, 3 Oct 2014 22:23:38 -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 dXEkxt6THQDx for <mercurial-devel@waste.org>; Fri, 3 Oct 2014 22:23:36 -0500 (CDT) Received: from mx0a-00082601.pphosted.com (mx0a-00082601.pphosted.com [67.231.145.42]) by waste.org (Postfix) with ESMTP id BEBAF740EA for <mercurial-devel@selenic.com>; Fri, 3 Oct 2014 22:23:30 -0500 (CDT) Received: from pps.filterd (m0044008 [127.0.0.1]) by mx0a-00082601.pphosted.com (8.14.5/8.14.5) with SMTP id s943NU6u005030 for <mercurial-devel@selenic.com>; Fri, 3 Oct 2014 20:23:30 -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=FLKEGBo9t80Rk64Dx9u3IPDt/Gs76Pw1nuW33IKLPWU=; b=LES/H98w2kC7KwlqZpQsCkechvywv5w2BD8ntTi9MZWQSMHh5nsF+S36xYD78n3cmQpv Mf+dhSQ6aei77ekqoqEMYcDtigFo7I+UG4DA7v+hjaGU0DKtGFh82v/VnRYNWd30kULf q6hDFhN8aYoDGEHjkp/kRBDZBJ1jf54Aqto= Received: from mail.thefacebook.com (mailwest.thefacebook.com [173.252.71.148]) by mx0a-00082601.pphosted.com with ESMTP id 1psygt8x25-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=OK) for <mercurial-devel@selenic.com>; Fri, 03 Oct 2014 20:23:29 -0700 Received: from mx-out.facebook.com (192.168.57.29) by PRN-CHUB05.TheFacebook.com (192.168.16.15) with Microsoft SMTP Server (TLS) id 14.3.195.1; Fri, 3 Oct 2014 20:23:28 -0700 Received: from devbig136.prn2.facebook.com (2401:db00:20:7023:face:0:47:0) by mx-out.facebook.com (10.223.100.97) with ESMTP id ceb33c224b7511e495b124be0593f280-2a6ef3e0 for <mercurial-devel@selenic.com>; Fri, 03 Oct 2014 20:23:28 -0700 MIME-Version: 1.0 Subject: [PATCH 4 of 5] normcase: for darwin, use fast ASCII lower X-Mercurial-Node: ceee117160a138ef2896111ae699fc74d9048088 X-Mercurial-Series-Index: 4 X-Mercurial-Series-Total: 5 Message-ID: <ceee117160a138ef2896.1412393006@devbig136.prn2.facebook.com> X-Mercurial-Series-Id: <cb91516e7745b936b8b7.1412393003@devbig136.prn2.facebook.com> In-Reply-To: <cb91516e7745b936b8b7.1412393003@devbig136.prn2.facebook.com> References: <cb91516e7745b936b8b7.1412393003@devbig136.prn2.facebook.com> User-Agent: Mercurial-patchbomb/3.1.1+86-48791c2bea1c Date: Fri, 3 Oct 2014 20:23:26 -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_01:2014-10-03, 2014-10-03, 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=614.36 compositescore=0.997379531104588 urlsuspect_oldscore=0.997379531104588 suspectscore=1 recipient_domain_to_sender_totalscore=7329 phishscore=0 bulkscore=0 kscore.is_spamscore=0 recipient_to_sender_totalscore=0 recipient_domain_to_sender_domain_totalscore=47479 rbsscore=0.997379531104588 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-1410040037 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, 3:23 a.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: