Submitter | Siddharth Agarwal |
---|---|
Date | Nov. 13, 2014, 11:08 p.m. |
Message ID | <6a40a01c1b5ce0a4edb9.1415920129@devbig136.prn2.facebook.com> |
Download | mbox | patch |
Permalink | /patch/6713/ |
State | Accepted |
Commit | 922fcfb02e77c751f67563dcebe71b2a026d220d |
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 873DA3BBC7 for <patchwork@patchwork.serpentine.com>; Thu, 13 Nov 2014 18:10:27 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by waste.org (Postfix) with ESMTP id BFB14744D7; Thu, 13 Nov 2014 17:10:26 -0600 (CST) 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 LYjJTWbAHmaJ; Thu, 13 Nov 2014 17:10:26 -0600 (CST) Received: from waste.org (localhost [127.0.0.1]) by waste.org (Postfix) with ESMTP id E4E9D74475; Thu, 13 Nov 2014 17:10:11 -0600 (CST) 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 689E5744A9 for <mercurial-devel@waste.org>; Thu, 13 Nov 2014 17:10:08 -0600 (CST) 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 pB+qX5ilQZZk for <mercurial-devel@waste.org>; Thu, 13 Nov 2014 17:09:59 -0600 (CST) Received: from mx0a-00082601.pphosted.com (mx0a-00082601.pphosted.com [67.231.145.42]) by waste.org (Postfix) with ESMTP id A2EE374469 for <mercurial-devel@selenic.com>; Thu, 13 Nov 2014 17:09:57 -0600 (CST) Received: from pps.filterd (m0004348 [127.0.0.1]) by m0004348.ppops.net (8.14.5/8.14.5) with SMTP id sADN92VT028516 for <mercurial-devel@selenic.com>; Thu, 13 Nov 2014 15:09:57 -0800 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=nQLmGZvRlceYIoHWTF7rZtCzZGocIom5SF4pU53SF+I=; b=IHdYSoVzd1lzYOARXJxt/L1Bn1djMNSFZHDFz7cuGUYkynSttEouGdafOcOvoC2i/DbB o6wS3UpBfBdkACj4jc8A1GJFFwrcAPItX8MrhMn43Hj93W6Ggq059qy7/F+OYv2ck/xP 8t60WhQvqDkBFaWASmUjqFp6g7zSPK9CCPw= Received: from mail.thefacebook.com ([199.201.64.23]) by m0004348.ppops.net with ESMTP id 1qn12hgmbu-2 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=OK) for <mercurial-devel@selenic.com>; Thu, 13 Nov 2014 15:09:57 -0800 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; Thu, 13 Nov 2014 15:09:56 -0800 Received: from devbig136.prn2.facebook.com (2401:db00:20:7023:face:0:47:0) by mx-out.facebook.com (10.223.101.97) with ESMTP id 2e6172226b8a11e4983b24be0595f910-667f73e0 for <mercurial-devel@selenic.com>; Thu, 13 Nov 2014 15:09:55 -0800 MIME-Version: 1.0 Subject: [PATCH 4 of 8 V2] patch.diffopts: allow a setting to be forced in plain mode X-Mercurial-Node: 6a40a01c1b5ce0a4edb972ca42bfcb2e791e48fe X-Mercurial-Series-Index: 4 X-Mercurial-Series-Total: 8 Message-ID: <6a40a01c1b5ce0a4edb9.1415920129@devbig136.prn2.facebook.com> X-Mercurial-Series-Id: <a4a3123dcdedda92ae4b.1415920126@devbig136.prn2.facebook.com> In-Reply-To: <a4a3123dcdedda92ae4b.1415920126@devbig136.prn2.facebook.com> References: <a4a3123dcdedda92ae4b.1415920126@devbig136.prn2.facebook.com> User-Agent: Mercurial-patchbomb/3.2-rc+50-ac494b087feb Date: Thu, 13 Nov 2014 15:08:49 -0800 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.13.68, 1.0.28, 0.0.0000 definitions=2014-11-14_01:2014-11-13, 2014-11-13, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=fb_default_notspam policy=fb_default score=4 spamscore=4 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1402240000 definitions=main-1411130175 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 - Nov. 13, 2014, 11:08 p.m.
Patch
diff --git a/mercurial/patch.py b/mercurial/patch.py --- a/mercurial/patch.py +++ b/mercurial/patch.py @@ -1564,6 +1564,8 @@ v = opts.get(key) if v: return v + if forceplain is not None and ui.plain(): + return forceplain return getter(section, name or key, None, untrusted=untrusted) return mdiff.diffopts(