[PATCH 3 of 5] run-tests: write JSON reports to output dir

2017-06-07 Thread Siddharth Agarwal
# HG changeset patch # User Siddharth Agarwal # Date 1496893603 25200 # Wed Jun 07 20:46:43 2017 -0700 # Node ID 511ebc1769a9de229c5cca69ef3893bea1f2a63a # Parent 47a479f6ee522ad1f1d4e72a8d32096000360dc2 run-tests: write JSON reports to output dir diff --git

[PATCH 4 of 5] run-tests: output coverage to output dir

2017-06-07 Thread Siddharth Agarwal
# HG changeset patch # User Siddharth Agarwal # Date 1496895426 25200 # Wed Jun 07 21:17:06 2017 -0700 # Node ID 1403ca58e0bbd50a9a9287915073516db610b3c2 # Parent 511ebc1769a9de229c5cca69ef3893bea1f2a63a run-tests: output coverage to output dir There do not appear to be any

[PATCH 2 of 5] run-tests: write test times to output dir

2017-06-07 Thread Siddharth Agarwal
# HG changeset patch # User Siddharth Agarwal # Date 1496892731 25200 # Wed Jun 07 20:32:11 2017 -0700 # Node ID 47a479f6ee522ad1f1d4e72a8d32096000360dc2 # Parent 90d5a9bc558130c69a8eaf58712f26d2530c49af run-tests: write test times to output dir diff --git a/tests/run-tests.py

[PATCH 1 of 5] run-tests: allow specifying an output dir to write .errs to

2017-06-07 Thread Siddharth Agarwal
# HG changeset patch # User Siddharth Agarwal # Date 1496892608 25200 # Wed Jun 07 20:30:08 2017 -0700 # Node ID 90d5a9bc558130c69a8eaf58712f26d2530c49af # Parent 8fbb4ec8b06c1513fee3299696be8bdc3e505de1 run-tests: allow specifying an output dir to write .errs to I'm trying to

[PATCH 5 of 5] run-tests: make --restart work with output dir

2017-06-07 Thread Siddharth Agarwal
# HG changeset patch # User Siddharth Agarwal # Date 1496895444 25200 # Wed Jun 07 21:17:24 2017 -0700 # Node ID 7157ecbb2426689cd8f1133bf7dde2822d68b6a8 # Parent 1403ca58e0bbd50a9a9287915073516db610b3c2 run-tests: make --restart work with output dir diff --git

Re: A possible explanation for random "stream ended unexpectedly (got m bytes, expected n)"

2017-06-07 Thread Matt Harbison
On Tue, 06 Jun 2017 22:30:23 -0400, Matt Harbison wrote: Any more info on this? We are starting to see this for a handful of developers on various repos. So far, every instance has been cloning on Windows 7, from a CentOS 7 server. The strange aspect is that it

Re: [PATCH 3 of 3 pip-fix] tests: add a test for installing hg with pip in a virtualenv

2017-06-07 Thread Matt Harbison
On Wed, 07 Jun 2017 09:56:09 -0400, Augie Fackler wrote: On Jun 6, 2017, at 21:31, Matt Harbison wrote: On Tue, 06 Jun 2017 14:24:51 -0400, Augie Fackler wrote: # HG changeset patch # User Augie Fackler #

Re: [PATCH remotenames-ext] namespace: never return None for nodes query

2017-06-07 Thread Sean Farley
Durham Goode writes: > # HG changeset patch > # User Durham Goode > # Date 1496773892 25200 > # Tue Jun 06 11:31:32 2017 -0700 > # Node ID 2e45bcb8483880d79f370ab0e703e72d900d450c > # Parent 55a7fc62fc84a0d9e6996c69f35493d0fcd6bd41 > namespace: never return

[PATCH 2 of 2] run-tests: add information about skipped tests to XUnit output

2017-06-07 Thread Siddharth Agarwal
# HG changeset patch # User Siddharth Agarwal # Date 1496875626 25200 # Wed Jun 07 15:47:06 2017 -0700 # Node ID 8e05986478080f8eefd5f645166020d7802175e8 # Parent 0bdfd2f0e15b0d4a20ea4d288e0b4e04f37f25b4 run-tests: add information about skipped tests to XUnit output The XUnit

[PATCH 1 of 2] run-tests: wrap failures in an XUnit 'failure' element

2017-06-07 Thread Siddharth Agarwal
# HG changeset patch # User Siddharth Agarwal # Date 1496875626 25200 # Wed Jun 07 15:47:06 2017 -0700 # Node ID 0bdfd2f0e15b0d4a20ea4d288e0b4e04f37f25b4 # Parent 3210ffcae3d0b2c2a34b0485f7e20c4057ba6953 run-tests: wrap failures in an XUnit 'failure' element This is closer to

Re: [PATCH 3 of 3] Add more tests for formatting and merging of release notes

2017-06-07 Thread Gregory Szorc
On Wed, Jun 7, 2017 at 8:24 AM, Kevin Bullock < kbullock+mercur...@ringworld.org> wrote: > On Jun 6, 2017, at 16:41, Gregory Szorc wrote: > > On Tue, Jun 6, 2017 at 12:31 PM, Augie Fackler wrote: > >> On Tue, Jun 06, 2017 at 11:17:11AM -0500, Kevin

Re: [PATCH 1 of 6 V2] obsstore: add a 'cachekey' method

2017-06-07 Thread Gregory Szorc
On Wed, Jun 7, 2017 at 10:27 AM, Jun Wu wrote: > Excerpts from Pierre-Yves David's message of 2017-06-07 18:04:22 +0100: > > > > On 06/07/2017 03:57 PM, Jun Wu wrote: > > > Excerpts from Pierre-Yves David's message of 2017-06-07 15:27:41 +0100: > > >> I'm not advocating for

[PATCH v3] chmod: create a new file when flags are set on a hardlinked file

2017-06-07 Thread Koen Van Hoof
# HG changeset patch # User Koen Van Hoof # Date 1493215522 -7200 # Wed Apr 26 16:05:22 2017 +0200 # Node ID ed4818954e563f50068a3f948b826395bc342bff # Parent 3ef319e9505f376775c91b2ab7d89ac9ac4343e9 chmod: create a new file when flags are set on a hardlinked file

Re: [PATCH 6 of 6] check-concurrency: expose the feature as 'server.check-concurrency'

2017-06-07 Thread Augie Fackler
> On Jun 7, 2017, at 10:29, Yuya Nishihara wrote: > > On Sun, 04 Jun 2017 15:49:34 +0100, Pierre-Yves David wrote: >> # HG changeset patch >> # User Pierre-Yves David >> # Date 1495923158 -7200 >> # Sun May 28 00:12:38 2017 +0200 >> # Node ID

[Bug 5589] New: Uncompressed clones transfer secret commits

2017-06-07 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5589 Bug ID: 5589 Summary: Uncompressed clones transfer secret commits Product: Mercurial Version: 4.2.1 Hardware: PC OS: Windows Status: UNCONFIRMED Severity:

Re: [PATCH RFC WIP] status: add an option to see terse status (WIP)

2017-06-07 Thread Augie Fackler
> On Jun 7, 2017, at 12:06, Danek Duvall wrote: > > Pulkit Goyal wrote: > >> On Sun, May 28, 2017 at 11:30 PM, Augie Fackler wrote: >>> On May 26, 2017, at 5:18 PM, Pulkit Goyal <7895pul...@gmail.com> wrote: # HG changeset patch

Re: [PATCH 1 of 6 V2] obsstore: add a 'cachekey' method

2017-06-07 Thread Jun Wu
Excerpts from Pierre-Yves David's message of 2017-06-07 18:04:22 +0100: > > On 06/07/2017 03:57 PM, Jun Wu wrote: > > Excerpts from Pierre-Yves David's message of 2017-06-07 15:27:41 +0100: > >> I'm not advocating for introducing dead code. The obsstore > >> indexes(radix-link) are a cache layer

Re: [PATCH 1 of 6 V2] obsstore: add a 'cachekey' method

2017-06-07 Thread Pierre-Yves David
On 06/07/2017 03:57 PM, Jun Wu wrote: Excerpts from Pierre-Yves David's message of 2017-06-07 15:27:41 +0100: I'm not advocating for introducing dead code. The obsstore indexes(radix-link) are a cache layer to the obsstore. As a cache, the indexes need a cache-key and associated logic for

Re: [PATCH RFC WIP] status: add an option to see terse status (WIP)

2017-06-07 Thread Danek Duvall
Pulkit Goyal wrote: > On Sun, May 28, 2017 at 11:30 PM, Augie Fackler wrote: > > > >> On May 26, 2017, at 5:18 PM, Pulkit Goyal <7895pul...@gmail.com> wrote: > >> > >> # HG changeset patch > >> # User Pulkit Goyal <7895pul...@gmail.com> > >> # Date 1495832891 -19800 > >> #

Re: [PATCH RFC WIP] status: add an option to see terse status (WIP)

2017-06-07 Thread Pulkit Goyal
On Sun, May 28, 2017 at 11:30 PM, Augie Fackler wrote: > >> On May 26, 2017, at 5:18 PM, Pulkit Goyal <7895pul...@gmail.com> wrote: >> >> # HG changeset patch >> # User Pulkit Goyal <7895pul...@gmail.com> >> # Date 1495832891 -19800 >> # Sat May 27 02:38:11 2017 +0530 >> #

Re: [PATCH 02 of 22] radixlink: introduce a new data structure

2017-06-07 Thread Jun Wu
Excerpts from Yuya Nishihara's message of 2017-06-08 00:21:58 +0900: > [...] > I was thinking that the size of the obsstore index would be quite big, and > reading/writing/jumping-around-in-memory it would be somewhat costly. If > you have an idea to mitigate these costs, shrinking the cache size

Re: [PATCH 20 of 22] obsstore: make markerindex support serialization

2017-06-07 Thread Yuya Nishihara
On Wed, 7 Jun 2017 08:15:34 -0700, Jun Wu wrote: > Excerpts from Pierre-Yves David's message of 2017-06-07 15:12:46 +0100: > > [...] > > All other caches depending on store content still lives on the cache > > directory. So I don't see a reason to make an exception here. > > I think I have

Re: [PATCH 3 of 3] Add more tests for formatting and merging of release notes

2017-06-07 Thread Kevin Bullock
> On Jun 6, 2017, at 16:41, Gregory Szorc wrote: > > On Tue, Jun 6, 2017 at 12:31 PM, Augie Fackler > wrote: > On Tue, Jun 06, 2017 at 11:17:11AM -0500, Kevin Bullock wrote: > > > On Jun 3, 2017, at 17:28, Rishabh Madan

Re: [PATCH 02 of 22] radixlink: introduce a new data structure

2017-06-07 Thread Yuya Nishihara
On Tue, 6 Jun 2017 18:17:49 -0700, Jun Wu wrote: > Excerpts from Yuya Nishihara's message of 2017-06-07 00:53:09 +0900: > > > +class radixlink(object): > > > +"""multimap. keys are variable-length bytes, values are lists of > > > uint32s. > > > > Do we really need to support variable-length

Fwd: Discussing about release notes extension

2017-06-07 Thread Rishabh Madan
-- Forwarded message -- From: Gregory Szorc Date: Tue, Jun 6, 2017 at 5:24 AM Subject: Re: Discussing about release notes extension To: Rishabh Madan For similarity matching, I would start with something like this: 1. Parse

Re: [PATCH 20 of 22] obsstore: make markerindex support serialization

2017-06-07 Thread Jun Wu
Excerpts from Pierre-Yves David's message of 2017-06-07 15:12:46 +0100: > [...] > All other caches depending on store content still lives on the cache > directory. So I don't see a reason to make an exception here. I think I have mentioned "shared repo". Why don't you think that's a reason? >

Re: [PATCH 1 of 6 V2] obsstore: add a 'cachekey' method

2017-06-07 Thread Jun Wu
Excerpts from Pierre-Yves David's message of 2017-06-07 15:27:41 +0100: > I'm not advocating for introducing dead code. The obsstore > indexes(radix-link) are a cache layer to the obsstore. As a cache, the > indexes need a cache-key and associated logic for incremental update. The problem I see

Re: [PATCH 2 of 2] extensions: catch uisetup and extsetup failures and don't let them break hg

2017-06-07 Thread Yuya Nishihara
On Tue, 6 Jun 2017 10:57:04 -0400, Augie Fackler wrote: > > > On Jun 6, 2017, at 10:36, Martin von Zweigbergk via Mercurial-devel > > wrote: > > > > > >> > >> On Jun 6, 2017 7:15 AM, "Augie Fackler" wrote: > >> # HG changeset patch > >> #

Re: [PATCH] perfbranchmap: add an option to purge the revbranch cache

2017-06-07 Thread Yuya Nishihara
On Tue, 06 Jun 2017 13:30:47 +0100, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1496676241 -3600 > # Mon Jun 05 16:24:01 2017 +0100 > # Node ID 7841e806fa0e25886c1e72e51fbdb2ffb0f14a5b > # Parent

Re: [PATCH 6 of 6] check-concurrency: expose the feature as 'server.check-concurrency'

2017-06-07 Thread Yuya Nishihara
On Sun, 04 Jun 2017 15:49:34 +0100, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1495923158 -7200 > # Sun May 28 00:12:38 2017 +0200 > # Node ID c58a31911d96c8fbb083388e55bf22cc473cc7b5 > # Parent

Re: [PATCH 1 of 6 V2] obsstore: add a 'cachekey' method

2017-06-07 Thread Pierre-Yves David
On 06/06/2017 06:01 PM, Martin von Zweigbergk wrote: Here are some timings from a hopefully unbiased third party. These are best-of-20 times, in seconds. No extensions enabled. I ran "debugupdatecaches" before each series of commands to populate the caches (I think both obscache and the

Re: [PATCH 3 of 6] checkheads: perform obsolescence post processing directly in _headssummary

2017-06-07 Thread Yuya Nishihara
On Sun, 04 Jun 2017 15:49:31 +0100, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1496029647 -7200 > # Mon May 29 05:47:27 2017 +0200 > # Node ID 0be71c66f99550d0abc18fceaa86e0ac018bd382 > # Parent

Re: [PATCH 4 of 6] headsummary: expose the 'discardedheads' set in the headssummary

2017-06-07 Thread Yuya Nishihara
On Sun, 04 Jun 2017 15:49:32 +0100, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1496029933 -7200 > # Mon May 29 05:52:13 2017 +0200 > # Node ID 33062379c342992425c1ba8083bafb46420ba7d0 > # Parent

Re: [PATCH 5 of 6] push: add a way to allow concurrent pushes on unrelated heads

2017-06-07 Thread Yuya Nishihara
On Sun, 04 Jun 2017 15:49:33 +0100, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1496030038 -7200 > # Mon May 29 05:53:58 2017 +0200 > # Node ID ae88951457de93c7f6286d449672b0b9d20c57f1 > # Parent

Re: [PATCH 1 of 6 V2] obsstore: add a 'cachekey' method

2017-06-07 Thread Pierre-Yves David
On 06/06/2017 07:07 PM, Martin von Zweigbergk wrote: On Tue, Jun 6, 2017 at 11:04 AM, Pierre-Yves David wrote: On 06/06/2017 12:02 AM, Martin von Zweigbergk wrote: On Sat, May 20, 2017 at 8:30 AM, Pierre-Yves David wrote:

Re: [PATCH 20 of 22] obsstore: make markerindex support serialization

2017-06-07 Thread Pierre-Yves David
On 06/05/2017 07:37 PM, Augie Fackler wrote: On Sun, Jun 04, 2017 at 04:59:32PM -0700, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1496615642 25200 # Sun Jun 04 15:34:02 2017 -0700 # Node ID edae716e97c441aff52688f3be4750b34b199901 # Parent

Re: [PATCH 3 of 3 pip-fix] tests: add a test for installing hg with pip in a virtualenv

2017-06-07 Thread Augie Fackler
> On Jun 6, 2017, at 21:31, Matt Harbison wrote: > > On Tue, 06 Jun 2017 14:24:51 -0400, Augie Fackler wrote: > >> # HG changeset patch >> # User Augie Fackler >> # Date 1496762198 14400 >> # Tue Jun 06 11:16:38 2017 -0400 >> #

Re: [PATCH 04 of 22] obsstore: minor optimization for the obsolete revset

2017-06-07 Thread Pierre-Yves David
On 06/06/2017 07:05 AM, Gregory Szorc wrote: On Sun, Jun 4, 2017 at 4:59 PM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1496457147 25200 # Fri Jun 02 19:32:27 2017 -0700 # Node ID e1d6126ed614db6ec664c79afcb3a141c9a0dfa4 # Parent

Re: [PATCH 2 of 5] run-tests: factor out json write code into another method

2017-06-07 Thread Yuya Nishihara
On Tue, 6 Jun 2017 14:39:25 -0700, Siddharth Agarwal wrote: > # HG changeset patch > # User Siddharth Agarwal > # Date 1496779855 25200 > # Tue Jun 06 13:10:55 2017 -0700 > # Node ID 737bb0771ca0bff0673f861c068018c8f606cf7d > # Parent 2d78617dd0b04d927beff7bc8bb2a1329b92ed8e >

Re: [PATCH 2 of 3] patchbomb: avoid -r and -B options at the same time

2017-06-07 Thread Yuya Nishihara
On Tue, 6 Jun 2017 11:03:31 -0400, Augie Fackler wrote: > On Tue, Jun 06, 2017 at 04:50:52PM +0200, David Demelier wrote: > > Le 06/06/2017 à 16:18, Augie Fackler a écrit : > > > On Tue, Jun 06, 2017 at 03:05:04PM +0200, David Demelier wrote: > > > > # HG changeset patch > > > > # User David

Re: [PATCH 2 of 3] patchbomb: avoid -r and -B options at the same time

2017-06-07 Thread Yuya Nishihara
On Tue, 06 Jun 2017 15:05:04 +0200, David Demelier wrote: > # HG changeset patch > # User David Demelier > # Date 1496731971 -7200 > # Tue Jun 06 08:52:51 2017 +0200 > # Node ID 421ba4fa3337f4bc9714473ca2f050f08d86bfb6 > # Parent

[PATCH 1 of 2] discovery: include timing in the debug output

2017-06-07 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1496827779 -3600 # Wed Jun 07 10:29:39 2017 +0100 # Node ID 264a9933cead269d3c28156b9b87890ef4cfb06a # Parent 3ef319e9505f376775c91b2ab7d89ac9ac4343e9 # EXP-Topic discovery # Available At

[PATCH 2 of 2] discovery: log discovery result in non-trivial cases

2017-06-07 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1496828651 -3600 # Wed Jun 07 10:44:11 2017 +0100 # Node ID 7ad4af1e46dae15170b2ad25750e857d3d5398d4 # Parent 264a9933cead269d3c28156b9b87890ef4cfb06a # EXP-Topic discovery # Available At

[PATCH] patchbomb: avoid -r and -B options at the same time

2017-06-07 Thread David Demelier
# HG changeset patch # User David Demelier # Date 1496731971 -7200 # Tue Jun 06 08:52:51 2017 +0200 # Node ID 887ff591e28b2b369a921c083bef792352989c59 # Parent 42130f45d016cb01228c8b9e8564af987f9705ff patchbomb: avoid -r and -B options at the same time diff -r