Submitter | Yuya Nishihara |
---|---|
Date | Nov. 11, 2016, 3:50 p.m. |
Message ID | <ea1fe2ae9003fa458889.1478879420@mimosa> |
Download | mbox | patch |
Permalink | /patch/17499/ |
State | Accepted |
Headers | show
Return-Path: <mercurial-devel-bounces@mercurial-scm.org> X-Original-To: patchwork@mercurial-scm.org Delivered-To: patchwork@mercurial-scm.org Received: from localhost (localhost [127.0.0.1]) by mercurial-scm.org (Postfix) with ESMTP id 1877D2C271; Fri, 11 Nov 2016 10:50:37 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at mercurial-scm.org Received: from mercurial-scm.org ([127.0.0.1]) by localhost (mercurial-scm.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 5IA1lv_sAdoo; Fri, 11 Nov 2016 10:50:36 -0500 (EST) Received: from mercurial-scm.org (localhost [IPv6:::1]) by mercurial-scm.org (Postfix) with ESMTP id 5A4EA2C290; Fri, 11 Nov 2016 10:50:36 -0500 (EST) X-Original-To: mercurial-devel@mercurial-scm.org Delivered-To: mercurial-devel@mercurial-scm.org Received: from localhost (localhost [127.0.0.1]) by mercurial-scm.org (Postfix) with ESMTP id 720552C290 for <mercurial-devel@mercurial-scm.org>; Fri, 11 Nov 2016 10:50:35 -0500 (EST) X-Virus-Scanned: Debian amavisd-new at mercurial-scm.org Received: from mercurial-scm.org ([127.0.0.1]) by localhost (mercurial-scm.org [127.0.0.1]) (amavisd-new, port 10024) with LMTP id GQMgPtZC7Ylv for <mercurial-devel@mercurial-scm.org>; Fri, 11 Nov 2016 10:50:34 -0500 (EST) Received: from mail-pg0-x241.google.com (mail-pg0-x241.google.com [IPv6:2607:f8b0:400e:c05::241]) by mercurial-scm.org (Postfix) with ESMTPS id D7E942C271 for <mercurial-devel@mercurial-scm.org>; Fri, 11 Nov 2016 10:50:34 -0500 (EST) Received: by mail-pg0-x241.google.com with SMTP id p66so2177421pga.2 for <mercurial-devel@mercurial-scm.org>; Fri, 11 Nov 2016 07:50:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:mime-version:content-transfer-encoding:subject:message-id :user-agent:date:from:to; bh=XBcLg6egCUuOxy1JOV8xdn0q9EV/hb0twmCxssGyUAI=; b=CSVKqi0uTryiWyr4OVsiB9r3mTnQ77SS1nGCaTrb82v+Pls9Y+ZCGhVXP8kaI+hoVm WI0FDck8je70VOiWW2FGXUOz7zUFNlz2r0G/UNYqoGdwkrTDPuHBsDjNOHzcdO4Ti+C8 vqltrxEZIOKxKK96o7Q8LRotqY7FWTjuOyPmWrIDHspCl3jti33S0R8PYeah/oZK1zuC bNoX5xZp+RfO7rIUWtpIpU+ZoB2r4raox4FygZJmxJJu/NfpOxHbRsoBOuT4OTVvPeBh WjCeg10kYw5MIHf0fgdlhAbtxEAm2h89qB+ZzSgMPpuPa91bqZ/aPL6saw10/suQRA6Y cbTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:mime-version:content-transfer-encoding :subject:message-id:user-agent:date:from:to; bh=XBcLg6egCUuOxy1JOV8xdn0q9EV/hb0twmCxssGyUAI=; b=Yy5igHqIyOcJ1U1VmzSBMGinSuBF3JTM+IlWE48cF6yelqCAy2etAtF3DfZwVYN6NV n2210sYJ9tpSdwj2HTeu/mH5IQj2YSQHTWp1DfwCysHm9qLJtUAVrvjntULQFChQfoWT +wzvvPLbCLctyu4mbIvD09dHADoWRwbR2SdfdEDL4nNRr+t3M5tZTNDjWmOvcRBjgsry NkMoAna+AQLW2GTu19zruAlK/GBpKRUuRv1YjJZA6FiTPXzLJEL9Fjx6R2/MKx457TVz zPJzkp2ru2MPeVpBmmhH/2Yv8IlYTA1TrdzI5E8YpJoB4IPA8vc1Dj1YRaQE3zxmZBms YA/Q== X-Gm-Message-State: ABUngvdekj7N211+f3rScOTC3eRgI1bcG+TJpP/LIaqqf9znc0UbLixyHqfp4FZn3BkeFQ== X-Received: by 10.99.107.4 with SMTP id g4mr5853897pgc.108.1478879434076; Fri, 11 Nov 2016 07:50:34 -0800 (PST) Received: from [127.0.1.1] (p79672d18.tkyea104.ap.so-net.ne.jp. [121.103.45.24]) by smtp.gmail.com with ESMTPSA id xk6sm16149642pab.26.2016.11.11.07.50.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 11 Nov 2016 07:50:33 -0800 (PST) MIME-Version: 1.0 Subject: [PATCH 1 of 5 RESEND] windows: do not replace sys.__stdout__ X-Mercurial-Node: ea1fe2ae9003fa4588897545bbc89f1de17e3fa7 X-Mercurial-Series-Index: 1 X-Mercurial-Series-Total: 5 Message-Id: <ea1fe2ae9003fa458889.1478879420@mimosa> X-Mercurial-Series-Id: <ea1fe2ae9003fa458889.1478879420@mimosa> User-Agent: Mercurial-patchbomb/4.0+68-e1d6aa0e4c3a Date: Sat, 12 Nov 2016 00:50:20 +0900 From: Yuya Nishihara <yuya@tcha.org> To: mercurial-devel@mercurial-scm.org X-BeenThere: mercurial-devel@mercurial-scm.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <mercurial-devel.mercurial-scm.org> List-Unsubscribe: <https://www.mercurial-scm.org/mailman/options/mercurial-devel>, <mailto:mercurial-devel-request@mercurial-scm.org?subject=unsubscribe> List-Archive: <http://www.mercurial-scm.org/pipermail/mercurial-devel/> List-Post: <mailto:mercurial-devel@mercurial-scm.org> List-Help: <mailto:mercurial-devel-request@mercurial-scm.org?subject=help> List-Subscribe: <https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel>, <mailto:mercurial-devel-request@mercurial-scm.org?subject=subscribe> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: mercurial-devel-bounces@mercurial-scm.org Sender: "Mercurial-devel" <mercurial-devel-bounces@mercurial-scm.org> |
Comments
Yuya Nishihara - Nov. 11, 2016, 3:50 p.m.
Patch
diff --git a/mercurial/windows.py b/mercurial/windows.py --- a/mercurial/windows.py +++ b/mercurial/windows.py @@ -171,7 +171,7 @@ class winstdout(object): self.close() raise IOError(errno.EPIPE, 'Broken pipe') -sys.__stdout__ = sys.stdout = winstdout(sys.stdout) +sys.stdout = winstdout(sys.stdout) def _is_win_9x(): '''return true if run on windows 95, 98 or me.'''