Re: [PATCH 2 of 2] test-http-branchmap: fix stdio mode on Windows

2018-05-18 Thread Pulkit Goyal
On Sun, May 13, 2018 at 7:57 AM Yuya Nishihara  wrote:

> # HG changeset patch
> # User Yuya Nishihara 
> # Date 1526177393 -32400
> #  Sun May 13 11:09:53 2018 +0900
> # Node ID 74982ab8ca762a3cfe3648740dae27555232476b
> # Parent  af07d426066dd8326c50a5686d7ecd25072d67b3
> test-http-branchmap: fix stdio mode on Windows
>

​Queued the series as per Matt's review. Many thanks!​
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


Re: [PATCH 2 of 2] test-http-branchmap: fix stdio mode on Windows

2018-05-17 Thread Matt Harbison
On Sun, 13 May 2018 01:23:36 -0400, Matt Harbison   
wrote:



On Sat, 12 May 2018 22:27:15 -0400, Yuya Nishihara  wrote:


# HG changeset patch
# User Yuya Nishihara 
# Date 1526177393 -32400
#  Sun May 13 11:09:53 2018 +0900
# Node ID 74982ab8ca762a3cfe3648740dae27555232476b
# Parent  af07d426066dd8326c50a5686d7ecd25072d67b3
test-http-branchmap: fix stdio mode on Windows


Works for me, thanks.  I'll clean up the buildbot on Monday.


Gentle ping on this.
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


Re: [PATCH 2 of 2] test-http-branchmap: fix stdio mode on Windows

2018-05-12 Thread Matt Harbison

On Sat, 12 May 2018 22:27:15 -0400, Yuya Nishihara  wrote:


# HG changeset patch
# User Yuya Nishihara 
# Date 1526177393 -32400
#  Sun May 13 11:09:53 2018 +0900
# Node ID 74982ab8ca762a3cfe3648740dae27555232476b
# Parent  af07d426066dd8326c50a5686d7ecd25072d67b3
test-http-branchmap: fix stdio mode on Windows


Works for me, thanks.  I'll clean up the buildbot on Monday.
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


[PATCH 2 of 2] test-http-branchmap: fix stdio mode on Windows

2018-05-12 Thread Yuya Nishihara
# HG changeset patch
# User Yuya Nishihara 
# Date 1526177393 -32400
#  Sun May 13 11:09:53 2018 +0900
# Node ID 74982ab8ca762a3cfe3648740dae27555232476b
# Parent  af07d426066dd8326c50a5686d7ecd25072d67b3
test-http-branchmap: fix stdio mode on Windows

diff --git a/tests/test-http-branchmap.t b/tests/test-http-branchmap.t
--- a/tests/test-http-branchmap.t
+++ b/tests/test-http-branchmap.t
@@ -59,7 +59,7 @@ verify 7e7d56fe4833 (encoding fallback i
 
   $ cat < oldhg
   > import threading
-  > from mercurial import hg, ui, wireprotoserver
+  > from mercurial import dispatch, hg, ui, wireprotoserver
   > 
   > class StdoutWrapper(object):
   > def __init__(self, stdout):
@@ -77,6 +77,7 @@ verify 7e7d56fe4833 (encoding fallback i
   > def __getattr__(self, name):
   > return getattr(self._file, name)
   > 
+  > dispatch.initstdio()
   > myui = ui.ui.load()
   > fout = StdoutWrapper(myui.fout)
   > myui.fout = myui.ferr
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel