Submitter | Martin von Zweigbergk |
---|---|
Date | Dec. 24, 2014, 12:44 a.m. |
Message ID | <09218e2b5e5da5349166.1419381854@martinvonz.mtv.corp.google.com> |
Download | mbox | patch |
Permalink | /patch/7223/ |
State | Accepted |
Commit | 377124ba6b1034792fdc8deecf5b1b6f16c1fea1 |
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 DBC7D3BBCB for <patchwork@patchwork.serpentine.com>; Tue, 23 Dec 2014 19:44:42 -0500 (EST) Received: from localhost (localhost [127.0.0.1]) by waste.org (Postfix) with ESMTP id 6C7D67414B; Tue, 23 Dec 2014 18:44:42 -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 arETYX6TMRtz; Tue, 23 Dec 2014 18:44:42 -0600 (CST) Received: from waste.org (localhost [127.0.0.1]) by waste.org (Postfix) with ESMTP id DDF1974144; Tue, 23 Dec 2014 18:44:26 -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 D8AD2740F6 for <mercurial-devel@waste.org>; Tue, 23 Dec 2014 18:44:20 -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 UO7EXwYMAKKy for <mercurial-devel@waste.org>; Tue, 23 Dec 2014 18:44:19 -0600 (CST) Received: from mail-qc0-f201.google.com (mail-qc0-f201.google.com [209.85.216.201]) by waste.org (Postfix) with ESMTPS id BFF6074119 for <mercurial-devel@selenic.com>; Tue, 23 Dec 2014 18:44:17 -0600 (CST) Received: by mail-qc0-f201.google.com with SMTP id m20so363997qcx.4 for <mercurial-devel@selenic.com>; Tue, 23 Dec 2014 16:44:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=content-type:mime-version:content-transfer-encoding:subject :message-id:in-reply-to:references:user-agent:date:from:to; bh=egNFo2I5ipORtOc4gAaZ7XQKrm1sjFO93hF3MBSVjI8=; b=W7p7j2R9Yj1oECHXvapOCokbfFaDnK6vQwAbRIXuFDx3LGy/YwpyxarGTwplFiE1+G JDFnsD5L9uIRA1MSPnh/pWf5ybCrPAPv6zYNI19QnKqRCh/wtf+oPJpiIxsn1Dvx5Bsb 80bIKTQSPx+WkSnuUX6xuV9oymJ9jtr5f7T6uKUD1xLGByxSMNB+x/vzR9J0lU3nvjpw oWVvpW6IjG+/7tA5943DseJvK6N2tXQRlP/fr6kK8o9nf/n6NqiqcQpngkSh8qjv5P7c it8BK2GFCss2k9KnFV5uTILwZp9tyUYgQsdD4HIh8V7amEOa9J8FfxGxqOk+RMQqJbm2 S5Pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:content-type:mime-version :content-transfer-encoding:subject:message-id:in-reply-to:references :user-agent:date:from:to; bh=egNFo2I5ipORtOc4gAaZ7XQKrm1sjFO93hF3MBSVjI8=; b=NWVfDkXMKJzHB9ITh+ThkM+JPMNe6oORghVHZ4mKzxH1pExYW9tZSQMC78SbKmC9B0 3aVZrMmO6OYHkjnnF6pEn+qh4xArm+y0Q7I991Il44+EDyJpmPQt2Bazkt9j5LtAS0my 9ypOLI9FSm974EsK8Rvv6DuLOTHK7Sh+e/dIrfOUiD/AbztLTQgSIdtt61BJaSleC/3i j/TA/SYzUw3HOItdwLUhZf/OzGj8J4NaQn/behdlfGJYI8T4Vk6IZFIAUF2Una75Zbxi BqIS1DcsgeIE/gbWaCDoGFYEuDHY7wgVP7JqfUqlgxMmbaLcu+2IWHMiCzEsejzQVkyB E9hw== X-Gm-Message-State: ALoCoQkbeNQdoSZz9wPnyN14xa8Mxx/ch0/jwHCkFp0QAl9XPYdygjGU8VvNs5f3idTaxIIu/IwmQB1YSP2w4Gc3mntK6cWFyBdHApQ0n86TSULECJRrNaLGWIsKvvItAUjsT4Pnt/RTu12mhoqWU83ultXacCYc2yBTK9aNKrx2KwZjm5BrswI= X-Received: by 10.236.7.50 with SMTP id 38mr24649792yho.0.1419381856662; Tue, 23 Dec 2014 16:44:16 -0800 (PST) Received: from corpmail-nozzle1-2.hot.corp.google.com ([100.108.1.103]) by gmr-mx.google.com with ESMTPS id 5si1045121yhd.6.2014.12.23.16.44.16 for <mercurial-devel@selenic.com> (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 23 Dec 2014 16:44:16 -0800 (PST) Received: from martinvonz.mtv.corp.google.com ([172.17.129.29]) by corpmail-nozzle1-2.hot.corp.google.com with ESMTP id aid2zsJp.1; Tue, 23 Dec 2014 16:44:16 -0800 Received: by martinvonz.mtv.corp.google.com (Postfix, from userid 151024) id E8F5C12202A; Tue, 23 Dec 2014 16:44:15 -0800 (PST) MIME-Version: 1.0 Subject: [PATCH 4 of 5] trydiff: use 'not in addedset' for symmetry with 'not in removedset' X-Mercurial-Node: 09218e2b5e5da534916698fb524567625bff9ec3 X-Mercurial-Series-Index: 4 X-Mercurial-Series-Total: 5 Message-Id: <09218e2b5e5da5349166.1419381854@martinvonz.mtv.corp.google.com> X-Mercurial-Series-Id: <9b88a9a3e4f46568183e.1419381851@martinvonz.mtv.corp.google.com> In-Reply-To: <9b88a9a3e4f46568183e.1419381851@martinvonz.mtv.corp.google.com> References: <9b88a9a3e4f46568183e.1419381851@martinvonz.mtv.corp.google.com> User-Agent: Mercurial-patchbomb/3.2.3+14-7b8ff3fd11d3 Date: Tue, 23 Dec 2014 16:44:14 -0800 From: Martin von Zweigbergk <martinvonz@google.com> To: mercurial-devel@selenic.com X-BeenThere: mercurial-devel@selenic.com X-Mailman-Version: 2.1.18 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="utf-8" Content-Transfer-Encoding: base64 Errors-To: mercurial-devel-bounces@selenic.com Sender: "Mercurial-devel" <mercurial-devel-bounces@selenic.com> |
Comments
Martin von Zweigbergk - Dec. 24, 2014, 12:44 a.m.
Patch
diff --git a/mercurial/patch.py b/mercurial/patch.py --- a/mercurial/patch.py +++ b/mercurial/patch.py @@ -1807,7 +1807,7 @@ tn = None dodiff = True header = [] - if f in man1: + if f not in addedset: to = getfilectx(f, ctx1).data() if f not in removedset: tn = getfilectx(f, ctx2).data()