D6259: revset: on-disk cache for children queries

2020-07-12 Thread joerg.sonnenberger (Joerg Sonnenberger)
joerg.sonnenberger retitled this revision from "[POC] revset: on-disk cache for children queries" to "revset: on-disk cache for children queries". joerg.sonnenberger updated this revision to Diff 21871. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6259?v

Re: [PATCH 07 of 11 V2] procutil: distribute code for stdout

2020-07-12 Thread Manuel Jacob
This is not as much of an improvement as it was before the code for stderr was removed. But I think it’s still a little improvement and a later patch depends on it, so I decided to send it anyway. On 2020-07-13 00:41, Manuel Jacob wrote: # HG changeset patch # User Manuel Jacob # Date 1594368

[PATCH 11 of 11 V2] tests: check that procutil.std{out,err}.write() returns correct result

2020-07-12 Thread Manuel Jacob
# HG changeset patch # User Manuel Jacob # Date 1594291924 -7200 # Thu Jul 09 12:52:04 2020 +0200 # Node ID d8ead3e59d9d5ac0d96cbd52baa906d174b88c08 # Parent 533e609683424b17e4dfd04b126d8ee9d081730b # EXP-Topic stdio tests: check that procutil.std{out,err}.write() returns correct result On

[PATCH 10 of 11 V2] tests: add tests for when stdout or stderr is connected to `os.devnull`

2020-07-12 Thread Manuel Jacob
# HG changeset patch # User Manuel Jacob # Date 1594291962 -7200 # Thu Jul 09 12:52:42 2020 +0200 # Node ID 533e609683424b17e4dfd04b126d8ee9d081730b # Parent 4adabe764af5c4104da59140a04c1102592e60c1 # EXP-Topic stdio tests: add tests for when stdout or stderr is connected to `os.devnull` Th

[PATCH 09 of 11 V2] procutil: ensure that procutil.std{out,err}.write() writes all bytes

2020-07-12 Thread Manuel Jacob
# HG changeset patch # User Manuel Jacob # Date 1594376878 -7200 # Fri Jul 10 12:27:58 2020 +0200 # Node ID 4adabe764af5c4104da59140a04c1102592e60c1 # Parent c904a1769e30652813eb1df619e8ee7d8feb6102 # EXP-Topic stdio procutil: ensure that procutil.std{out,err}.write() writes all bytes Pytho

[PATCH 08 of 11 V2] procutil: move assignments

2020-07-12 Thread Manuel Jacob
# HG changeset patch # User Manuel Jacob # Date 1594446424 -7200 # Sat Jul 11 07:47:04 2020 +0200 # Node ID c904a1769e30652813eb1df619e8ee7d8feb6102 # Parent 2151604d856a8cd9c2049e785a995714f49be115 # EXP-Topic stdio procutil: move assignments This should probably be part of the previous pa

[PATCH 07 of 11 V2] procutil: distribute code for stdout

2020-07-12 Thread Manuel Jacob
# HG changeset patch # User Manuel Jacob # Date 1594368724 -7200 # Fri Jul 10 10:12:04 2020 +0200 # Node ID 2151604d856a8cd9c2049e785a995714f49be115 # Parent 472cbd166fe075b8786d2965a44b4e5d1c26bdf5 # EXP-Topic stdio procutil: distribute code for stdout It makes sense to have the distinctio

[PATCH 06 of 11 V2] procutil: move comment closer to relevant code

2020-07-12 Thread Manuel Jacob
# HG changeset patch # User Manuel Jacob # Date 1594368776 -7200 # Fri Jul 10 10:12:56 2020 +0200 # Node ID 472cbd166fe075b8786d2965a44b4e5d1c26bdf5 # Parent d439863e9340a845d2f1986ec45f40f38704e932 # EXP-Topic stdio procutil: move comment closer to relevant code diff --git a/mercurial/util

[PATCH 05 of 11 V2] procutil: use mercurial.windows.winstdout only on Python 2 and TTYs

2020-07-12 Thread Manuel Jacob
# HG changeset patch # User Manuel Jacob # Date 1594368185 -7200 # Fri Jul 10 10:03:05 2020 +0200 # Node ID d439863e9340a845d2f1986ec45f40f38704e932 # Parent d7f793516419e60b23c5a667c57972a6d1ac0f0f # EXP-Topic stdio procutil: use mercurial.windows.winstdout only on Python 2 and TTYs Python

[PATCH 04 of 11 V2] procutil: split if condition

2020-07-12 Thread Manuel Jacob
# HG changeset patch # User Manuel Jacob # Date 1594367976 -7200 # Fri Jul 10 09:59:36 2020 +0200 # Node ID d7f793516419e60b23c5a667c57972a6d1ac0f0f # Parent ba4ec481948de77e36c8267f1acf5b904efba761 # EXP-Topic stdio procutil: split if condition This prepares the code for subsequent changes

[PATCH 03 of 11 V2] procutil: explain better why line buffering is not possible

2020-07-12 Thread Manuel Jacob
# HG changeset patch # User Manuel Jacob # Date 1594367738 -7200 # Fri Jul 10 09:55:38 2020 +0200 # Node ID ba4ec481948de77e36c8267f1acf5b904efba761 # Parent a0ddc1349dde0f5849d196236c3fa31d49934511 # EXP-Topic stdio procutil: explain better why line buffering is not possible The sentence “

[PATCH 02 of 11 V2] procutil: ensure that all stdio file objects are flushed at interpreter exit

2020-07-12 Thread Manuel Jacob
# HG changeset patch # User Manuel Jacob # Date 1594346556 -7200 # Fri Jul 10 04:02:36 2020 +0200 # Node ID a0ddc1349dde0f5849d196236c3fa31d49934511 # Parent 2668345a92975b843cab2e766b8fa59181003772 # EXP-Topic stdio procutil: ensure that all stdio file objects are flushed at interpreter exi

[PATCH 01 of 11 V2] tests: make subprocess handling reusable for different tests in test-stdio.py

2020-07-12 Thread Manuel Jacob
# HG changeset patch # User Manuel Jacob # Date 1594116820 -7200 # Tue Jul 07 12:13:40 2020 +0200 # Node ID 2668345a92975b843cab2e766b8fa59181003772 # Parent fa270dcbdb551766b3f244cd9e99b663e62e7696 # EXP-Topic stdio tests: make subprocess handling reusable for different tests in test-stdio.