Re: [PATCH 2 of 5] tests: terminate subprocess in test-stdio.py in case of exception

2020-07-10 Thread Manuel Jacob
On 2020-07-11 04:28, Yuya Nishihara wrote: On Fri, 10 Jul 2020 23:39:16 +0200, Manuel Jacob wrote: On 2020-07-10 15:17, Yuya Nishihara wrote: > On Fri, 10 Jul 2020 14:19:59 +0200, Manuel Jacob wrote: >> On 2020-07-10 13:14, Yuya Nishihara wrote: >> > On Fri, 10 Jul 2020 06:46:39 +0200, Manuel

[PATCH] procutil: back out 8403cc54bc83 (make ....procutil.stderr unbuffered)

2020-07-10 Thread Manuel Jacob
# HG changeset patch # User Manuel Jacob # Date 1594440202 -7200 # Sat Jul 11 06:03:22 2020 +0200 # Node ID 7bf3570f54114b6298a1b35108c210ca684cc183 # Parent c49e8aadd06eb715732fcc23713bc9de949381b1 # EXP-Topic stdio procutil: back out 8403cc54bc83 (make procutil.stderr unbuffered)

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

2020-07-10 Thread Yuya Nishihara
On Fri, 10 Jul 2020 23:27:39 +0200, Manuel Jacob wrote: > On 2020-07-10 15:16, Yuya Nishihara wrote: > > On Fri, 10 Jul 2020 13:55:50 +0200, Manuel Jacob wrote: > >> On 2020-07-10 13:19, Yuya Nishihara wrote: > >> > On Fri, 10 Jul 2020 07:11:04 +0200, Manuel Jacob wrote: > >> >> # HG changeset

Re: [PATCH 2 of 5] tests: terminate subprocess in test-stdio.py in case of exception

2020-07-10 Thread Yuya Nishihara
On Fri, 10 Jul 2020 23:39:16 +0200, Manuel Jacob wrote: > On 2020-07-10 15:17, Yuya Nishihara wrote: > > On Fri, 10 Jul 2020 14:19:59 +0200, Manuel Jacob wrote: > >> On 2020-07-10 13:14, Yuya Nishihara wrote: > >> > On Fri, 10 Jul 2020 06:46:39 +0200, Manuel Jacob wrote: > >> >> # HG changeset

Re: [PATCH] tests: update test-devel-warnings.t output with chg

2020-07-10 Thread Yuya Nishihara
On Sat, 11 Jul 2020 00:32:16 +0530, Pulkit Goyal wrote: > # HG changeset patch > # User Pulkit Goyal <7895pul...@gmail.com> > # Date 1594407681 -19800 > # Sat Jul 11 00:31:21 2020 +0530 > # Node ID c49e8aadd06eb715732fcc23713bc9de949381b1 > # Parent 194ade3477c622b3c635ce1e68d1361b8bab648c >

D8730: error: unify the error message formats for 'rebase' and 'unshelve'

2020-07-10 Thread dploch (Daniel Ploch)
dploch created this revision. Herald added a reviewer: durin42. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D8730 AFFECTED FILES mercurial/error.py

D8729: commit: factor out empty commit check to `committablectx.isempty()`

2020-07-10 Thread mjacob (Manuel Jacob)
mjacob created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This enables reuse in other places, e.g. those dealing with `memctx`. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL

D8728: overlayworkingctx: rename misleadingly named `isempty()` method

2020-07-10 Thread mjacob (Manuel Jacob)
mjacob created this revision. Herald added a reviewer: martinvonz. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This method is only about whether there are file changes, not about whether the commit will be empty or not. One user

D8727: rebase: add test case that shows that inmemory rebase does not preserve merges

2020-07-10 Thread mjacob (Manuel Jacob)
mjacob created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D8727 AFFECTED FILES tests/test-rebase-inmemory.t CHANGE DETAILS diff --git

Re: [PATCH 2 of 5] tests: terminate subprocess in test-stdio.py in case of exception

2020-07-10 Thread Manuel Jacob
On 2020-07-10 15:17, Yuya Nishihara wrote: On Fri, 10 Jul 2020 14:19:59 +0200, Manuel Jacob wrote: On 2020-07-10 13:14, Yuya Nishihara wrote: > On Fri, 10 Jul 2020 06:46:39 +0200, Manuel Jacob wrote: >> # HG changeset patch >> # User Manuel Jacob >> # Date 1594118129 -7200 >> # Tue Jul 07

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

2020-07-10 Thread Manuel Jacob
On 2020-07-10 15:16, Yuya Nishihara wrote: On Fri, 10 Jul 2020 13:55:50 +0200, Manuel Jacob wrote: On 2020-07-10 13:19, Yuya Nishihara wrote: > On Fri, 10 Jul 2020 07:11:04 +0200, Manuel Jacob wrote: >> # HG changeset patch >> # User Manuel Jacob >> # Date 1594346556 -7200 >> # Fri Jul 10

D8726: test-clone-uncompressed: use config to silence the lock warning

2020-07-10 Thread marmoute (Pierre-Yves David)
marmoute created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY The ui.timeout.warn option can solve the issue6237 in a cleaner way than what was done in 752da6863e39

[PATCH] tests: update test-devel-warnings.t output with chg

2020-07-10 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1594407681 -19800 # Sat Jul 11 00:31:21 2020 +0530 # Node ID c49e8aadd06eb715732fcc23713bc9de949381b1 # Parent 194ade3477c622b3c635ce1e68d1361b8bab648c tests: update test-devel-warnings.t output with chg diff --git

Re: [PATCH 2 of 5] tests: terminate subprocess in test-stdio.py in case of exception

2020-07-10 Thread Yuya Nishihara
On Fri, 10 Jul 2020 14:19:59 +0200, Manuel Jacob wrote: > On 2020-07-10 13:14, Yuya Nishihara wrote: > > On Fri, 10 Jul 2020 06:46:39 +0200, Manuel Jacob wrote: > >> # HG changeset patch > >> # User Manuel Jacob > >> # Date 1594118129 -7200 > >> # Tue Jul 07 12:35:29 2020 +0200 > >> # Node

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

2020-07-10 Thread Yuya Nishihara
On Fri, 10 Jul 2020 13:55:50 +0200, Manuel Jacob wrote: > On 2020-07-10 13:19, Yuya Nishihara wrote: > > On Fri, 10 Jul 2020 07:11:04 +0200, Manuel Jacob wrote: > >> # HG changeset patch > >> # User Manuel Jacob > >> # Date 1594346556 -7200 > >> # Fri Jul 10 04:02:36 2020 +0200 > >> # Node

Re: [PATCH 2 of 5] tests: terminate subprocess in test-stdio.py in case of exception

2020-07-10 Thread Manuel Jacob
On 2020-07-10 13:14, Yuya Nishihara wrote: On Fri, 10 Jul 2020 06:46:39 +0200, Manuel Jacob wrote: # HG changeset patch # User Manuel Jacob # Date 1594118129 -7200 # Tue Jul 07 12:35:29 2020 +0200 # Node ID 0bcb1c7fc0885319f9628de2cb6ea0cca3bf2d7b # Parent

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

2020-07-10 Thread Manuel Jacob
On 2020-07-10 13:19, Yuya Nishihara wrote: On Fri, 10 Jul 2020 07:11:04 +0200, Manuel Jacob wrote: # HG changeset patch # User Manuel Jacob # Date 1594346556 -7200 # Fri Jul 10 04:02:36 2020 +0200 # Node ID 284a80ed05e7f4724062c9eeac95933a86257f38 # Parent

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

2020-07-10 Thread Yuya Nishihara
On Fri, 10 Jul 2020 07:11:04 +0200, Manuel Jacob wrote: > # HG changeset patch > # User Manuel Jacob > # Date 1594346556 -7200 > # Fri Jul 10 04:02:36 2020 +0200 > # Node ID 284a80ed05e7f4724062c9eeac95933a86257f38 > # Parent 034feda7f6afcb0ae973569207a8268487793962 > # EXP-Topic stdio >

Re: [PATCH 2 of 5] tests: terminate subprocess in test-stdio.py in case of exception

2020-07-10 Thread Yuya Nishihara
On Fri, 10 Jul 2020 06:46:39 +0200, Manuel Jacob wrote: > # HG changeset patch > # User Manuel Jacob > # Date 1594118129 -7200 > # Tue Jul 07 12:35:29 2020 +0200 > # Node ID 0bcb1c7fc0885319f9628de2cb6ea0cca3bf2d7b > # Parent 7c5896871c7e9e8e510c0436f5c2bcc6018e8177 > # EXP-Topic stdio >

mercurial@45058: 2 new changesets

2020-07-10 Thread Mercurial Commits
2 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/d6e99a446eea changeset: 45057:d6e99a446eea user:Yuya Nishihara date:Sat Jun 27 21:46:23 2020 +0900 summary: cmdserver: add option to not exit from message loop on SIGINT

D8724: commit: check branch change on to-be-committed changeset

2020-07-10 Thread mjacob (Manuel Jacob)
mjacob created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This makes a difference when a branch name is passed via the `extra` argument, which will be used as the branch name for the created changeset. The empty

D8725: rebase: remove now unnecessary logic to allow empty commit when branch changes

2020-07-10 Thread mjacob (Manuel Jacob)
mjacob created this revision. Herald added a reviewer: martinvonz. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This was a workaround for a bug in the empty commit check in repo.commit(), where the the parent branch name was incorrectly

[Bug 6369] New: mercurial setup on win can't find msvc 14, but have msvcredist 15,17

2020-07-10 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6369 Bug ID: 6369 Summary: mercurial setup on win can't find msvc 14, but have msvcredist 15,17 Product: Mercurial project Version: unspecified Hardware: PC OS:

D8721: scmutil: allowing different files to be prefetched per revision

2020-07-10 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY The old API takes a list of revision separate from the file matcher, and thus provides no way to fetch different sets of files from each revision. In

D8723: fix: prefetch file contents

2020-07-10 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This prevents the worker subprocesses from contacting the server individually, which is either inefficient, or leads to problems if the connection is shared

D8722: fix: obtain base paths before starting workers

2020-07-10 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY This moves calculation of base paths to before work is dispatched. While this does mean that copy tracing will be serialized instead of parallel, it is