Re: [PATCH 2 of 6 V2] hidden: use _domainancestors to compute revs revealed by dynamic blocker

2017-05-23 Thread Martin von Zweigbergk via Mercurial-devel
On Tue, May 23, 2017 at 9:04 PM, Martin von Zweigbergk wrote: > On Tue, May 23, 2017 at 7:10 PM, Gregory Szorc > wrote: >> On Tue, May 23, 2017 at 1:02 PM, Pierre-Yves David >> wrote: >>> >>> # HG changeset patch

Re: [PATCH 2 of 6 V2] hidden: use _domainancestors to compute revs revealed by dynamic blocker

2017-05-23 Thread Martin von Zweigbergk via Mercurial-devel
On Tue, May 23, 2017 at 7:10 PM, Gregory Szorc wrote: > On Tue, May 23, 2017 at 1:02 PM, Pierre-Yves David > wrote: >> >> # HG changeset patch >> # User Pierre-Yves David >> # Date 1495373721 -7200 >> #

Re: [PATCH 3 of 3] help: update the color documentation for Windows 10 ANSI support

2017-05-23 Thread Matt Harbison
On Tue, 23 May 2017 10:49:26 -0400, FUJIWARA Katsunori wrote: At Tue, 23 May 2017 08:34:15 -0400, Matt Harbison wrote: # HG changeset patch # User Matt Harbison # Date 1495506779 14400 # Mon May 22 22:32:59 2017 -0400 # Node ID

Re: [PATCH 2 of 6 V2] hidden: use _domainancestors to compute revs revealed by dynamic blocker

2017-05-23 Thread Gregory Szorc
On Tue, May 23, 2017 at 1:02 PM, Pierre-Yves David < pierre-yves.da...@ens-lyon.org> wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1495373721 -7200 > # Sun May 21 15:35:21 2017 +0200 > # Node ID e72ddd1a53c4c6321e7ecd686cd24c2a8c8914bc > #

Re: [PATCH] nogc: do disable gc for CPython

2017-05-23 Thread Gregory Szorc
On Tue, May 23, 2017 at 1:20 PM, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1495570793 25200 > # Tue May 23 13:19:53 2017 -0700 > # Node ID 66dc3a3b4631507fed3ea7fd2fa3e3356ea820fe > # Parent 34e9b8b94f66db7ebe366f67cea7b64bd0ec6968 > #

[PATCH 5 of 5] match: fix visitdir for roots of includes

2017-05-23 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1494970281 25200 # Tue May 16 14:31:21 2017 -0700 # Node ID c52a8f80fddfc1d3f8fee944e885d1ffe72ea762 # Parent af9dcab6479262b7ac8a570ac8607534079e6f84 match: fix visitdir for roots of includes I'm hoping to

[PATCH 3 of 5] match: make basematcher._files a @propertycache

2017-05-23 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1495214228 25200 # Fri May 19 10:17:08 2017 -0700 # Node ID 21907ffdb1183eee1659b439efeb7bc737287d32 # Parent d87d3fba9d29df0fc13681cbd69d8dc5e0a5ff51 match: make basematcher._files a @propertycache This will

Re: [PATCH 1 of 6 V2] hidden: add a function returning ancestors of revs within a domain

2017-05-23 Thread Martin von Zweigbergk via Mercurial-devel
On Tue, May 23, 2017 at 1:02 PM, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1495372906 -7200 > # Sun May 21 15:21:46 2017 +0200 > # Node ID 5f964af88a0fae242ce24b0478c676d2056e0dc6 > #

Re: [PATCH 2 of 2] match: implement __repr__() and update users (API)

2017-05-23 Thread Martin von Zweigbergk via Mercurial-devel
On Tue, May 23, 2017 at 5:36 AM, Yuya Nishihara wrote: > On Mon, 22 May 2017 11:22:33 -0700, Martin von Zweigbergk via Mercurial-devel > wrote: >> # HG changeset patch >> # User Martin von Zweigbergk >> # Date 1495476498 25200 >> # Mon May 22 11:08:18

Re: [PATCH 5 of 6 V2] obscache: instantiate the cache and keep it warm

2017-05-23 Thread Jun Wu
Excerpts from Pierre-Yves David's message of 2017-05-23 20:20:49 +0200: > > On 05/23/2017 05:07 PM, Jun Wu wrote: > > Excerpts from Pierre-Yves David's message of 2017-05-23 11:49:49 +0200: > >> [...] > >> Does these details address your concerns? > > > > There are some automation which does

[PATCH] match: use ProgrammingError where appropriate

2017-05-23 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1495554541 25200 # Tue May 23 08:49:01 2017 -0700 # Node ID 0af6e4aeb7937a7f8c04be30c37ab92f4dc1c385 # Parent 34e9b8b94f66db7ebe366f67cea7b64bd0ec6968 match: use ProgrammingError where appropriate diff --git

Re: [PATCH 4 of 8] hidden: simplify the computation of consistency blocker

2017-05-23 Thread Martin von Zweigbergk via Mercurial-devel
On Mon, May 22, 2017 at 3:03 PM, Augie Fackler wrote: > On Sun, May 21, 2017 at 05:20:39PM +0200, Pierre-Yves David wrote: >> # HG changeset patch >> # User Pierre-Yves David >> # Date 1495375280 -7200 >> # Sun May 21 16:01:20 2017 +0200 >> #

Re: [PATCH 3 of 8] hidden: add a function returning ancestors of revs within a domain

2017-05-23 Thread Martin von Zweigbergk via Mercurial-devel
On Mon, May 22, 2017 at 3:00 PM, Augie Fackler wrote: > On Sun, May 21, 2017 at 05:20:38PM +0200, Pierre-Yves David wrote: >> # HG changeset patch >> # User Pierre-Yves David >> # Date 1495372906 -7200 >> # Sun May 21 15:21:46 2017 +0200 >> #

[PATCH] nogc: do disable gc for CPython

2017-05-23 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1495570793 25200 # Tue May 23 13:19:53 2017 -0700 # Node ID 66dc3a3b4631507fed3ea7fd2fa3e3356ea820fe # Parent 34e9b8b94f66db7ebe366f67cea7b64bd0ec6968 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 4 of 6 V2] hidden: drop the hidden cache logic

2017-05-23 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1495374788 -7200 # Sun May 21 15:53:08 2017 +0200 # Node ID cb01cba8a41a4758c11ee235281a0946ccd5596a # Parent dcd3cfdc689473aa948377574428949a68c96863 # EXP-Topic fast-compute-hidden # Available At

Re: [PATCH] match: catch attempts to create case-insenstive exact matchers

2017-05-23 Thread Martin von Zweigbergk via Mercurial-devel
On Tue, May 23, 2017 at 7:18 AM, Yuya Nishihara wrote: > On Mon, 22 May 2017 08:50:41 -0700, Martin von Zweigbergk via Mercurial-devel > wrote: >> # HG changeset patch >> # User Martin von Zweigbergk >> # Date 1495468174 25200 >> # Mon May 22 08:49:34

Re: [PATCH 5 of 6 V2] obscache: instantiate the cache and keep it warm

2017-05-23 Thread Jun Wu
Excerpts from Pierre-Yves David's message of 2017-05-23 11:49:49 +0200: > [...] > Does these details address your concerns? There are some automation which does reclones. Reclone could be done in seconds. 9 seconds obscache build time does look a bit painful for them. So I'd like to see a config

Re: [PATCH 3 of 3] help: update the color documentation for Windows 10 ANSI support

2017-05-23 Thread FUJIWARA Katsunori
At Tue, 23 May 2017 08:34:15 -0400, Matt Harbison wrote: > > # HG changeset patch > # User Matt Harbison > # Date 1495506779 14400 > # Mon May 22 22:32:59 2017 -0400 > # Node ID dd667d12b2ff86a8fadc8035ffd8500807774d62 > # Parent

[PATCH 1 of 3] perfphases: add 'perfphases' command

2017-05-23 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1495498987 -7200 # Tue May 23 02:23:07 2017 +0200 # Node ID e7b7317363359a4bb15b5713ff034c6fd2008339 # Parent e8c043375b53b30c4b468687f08323cbeeb452ef # EXP-Topic perf # Available At

[PATCH 3 of 3] perfchangelog: add 'perfchangelog' command

2017-05-23 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1495499078 -7200 # Tue May 23 02:24:38 2017 +0200 # Node ID 73e20c262b133cf3117a7148e6293b5721e8930d # Parent c79b8f2a95a35ce1b41325d003337c65bc5bffca # EXP-Topic perf # Available At

Re: [PATCH 1 of 5] cmdutil: comprehensively document the interface of export

2017-05-23 Thread Yuya Nishihara
On Mon, 22 May 2017 15:09:19 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1495317484 14400 > # Sat May 20 17:58:04 2017 -0400 > # Node ID eb70e8c53a2826d377448d7ce3da00ac41565fd2 > # Parent e8c043375b53b30c4b468687f08323cbeeb452ef >

Re: [PATCH 2 of 8] ui: add the possiblity to get a date config field

2017-05-23 Thread Boris Feld
On Tue, 2017-05-23 at 21:43 +0900, Yuya Nishihara wrote: > On Mon, 22 May 2017 20:46:22 +0200, Boris Feld wrote: > > # HG changeset patch > > # User Boris Feld > > # Date 1495188461 -7200 > > #  Fri May 19 12:07:41 2017 +0200 > > # Node ID

[PATCH default] convert: update hg convert source to accept revsets as revs

2017-05-23 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1495542603 -7200 # Tue May 23 14:30:03 2017 +0200 # Node ID 1e4860f3409aec9fc81e65a53c8e107d1c9c815a # Parent e8c043375b53b30c4b468687f08323cbeeb452ef # EXP-Topic convert-revset convert: update hg convert source to accept

Re: [PATCH 1 of 8] util: refactor util.parsedate to raises ValueError

2017-05-23 Thread Boris Feld
On Tue, 2017-05-23 at 21:39 +0900, Yuya Nishihara wrote: > On Mon, 22 May 2017 20:46:21 +0200, Boris Feld wrote: > > # HG changeset patch > > # User Boris Feld > > # Date 1495188443 -7200 > > #  Fri May 19 12:07:23 2017 +0200 > > # Node ID

Re: [PATCH] policy: define C module versions individually

2017-05-23 Thread Yuya Nishihara
On Mon, 22 May 2017 23:29:11 -0700, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1495519180 25200 > # Mon May 22 22:59:40 2017 -0700 > # Node ID 38a5dabea120ab837ff46484c4752762f4564b39 > # Parent 8db2feb04cebc1878c6232dd2650f2c5468d350e > # Available At

Re: [PATCH] tests: hide warning from test-xdg.t

2017-05-23 Thread Yuya Nishihara
On Mon, 22 May 2017 15:57:17 -0700, Durham Goode wrote: > # HG changeset patch > # User Durham Goode > # Date 1495493807 25200 > # Mon May 22 15:56:47 2017 -0700 > # Node ID 63aab83285f7c3b250bd722186f3e8aef2e1a3f5 > # Parent af1d6dee2ef2f4d25a2ea97b067d5fe3fadcef28 > tests:

mercurial@32405: new changeset

2017-05-23 Thread Mercurial Commits
New changeset in mercurial: https://www.mercurial-scm.org/repo/hg/rev/bdc4861ffe59 changeset: 32405:bdc4861ffe59 bookmark:@ tag: tip user:Martin von Zweigbergk date:Mon May 22 10:41:32 2017 -0700 summary: fsmonitor: fix silly "*kwargs" bug

Re: [PATCH 1 of 8] util: refactor util.parsedate to raises ValueError

2017-05-23 Thread Yuya Nishihara
On Mon, 22 May 2017 20:46:21 +0200, Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1495188443 -7200 > # Fri May 19 12:07:23 2017 +0200 > # Node ID ba781657de9f2e5b735e8a207cdf0b858047190c > # Parent c87db79b95079c3fd0032be7a25cd41567ed11cb > #

Re: [PATCH 2 of 2] match: implement __repr__() and update users (API)

2017-05-23 Thread Yuya Nishihara
On Mon, 22 May 2017 11:22:33 -0700, Martin von Zweigbergk via Mercurial-devel wrote: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1495476498 25200 > # Mon May 22 11:08:18 2017 -0700 > # Node ID fa82a6f7adb3deef43dacf5059e906eed9a1beba > # Parent

Re: [PATCH 2 of 8] ui: add the possiblity to get a date config field

2017-05-23 Thread Yuya Nishihara
On Mon, 22 May 2017 20:46:22 +0200, Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1495188461 -7200 > # Fri May 19 12:07:41 2017 +0200 > # Node ID 1738d2fb32fe1ccf2f54ef2382df0a929c50be77 > # Parent ba781657de9f2e5b735e8a207cdf0b858047190c > #

[PATCH 2 of 3] color: enable ANSI support on Windows 10

2017-05-23 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1495506038 14400 # Mon May 22 22:20:38 2017 -0400 # Node ID 95ef3de9a9883c388dc80bb841fd0f7c41dac06a # Parent 58dbbf67bd726092374403b2805d9ef9f5118ebe color: enable ANSI support on Windows 10 This will display color

[PATCH 1 of 3] windows: add a method to enable ANSI color code processing on Windows 10

2017-05-23 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1495504856 14400 # Mon May 22 22:00:56 2017 -0400 # Node ID 58dbbf67bd726092374403b2805d9ef9f5118ebe # Parent 8db2feb04cebc1878c6232dd2650f2c5468d350e windows: add a method to enable ANSI color code processing on

[PATCH 3 of 3] help: update the color documentation for Windows 10 ANSI support

2017-05-23 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1495506779 14400 # Mon May 22 22:32:59 2017 -0400 # Node ID dd667d12b2ff86a8fadc8035ffd8500807774d62 # Parent 95ef3de9a9883c388dc80bb841fd0f7c41dac06a help: update the color documentation for Windows 10 ANSI support

Re: [PATCH 5 of 6 V2] obscache: instantiate the cache and keep it warm

2017-05-23 Thread Pierre-Yves David
(I unified the two emails to keep the discussion simpler) On 05/23/2017 06:16 AM, Jun Wu wrote: Excerpts from Pierre-Yves David's message of 2017-05-20 17:30:19 +0200: [...] diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py

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

2017-05-23 Thread Pierre-Yves David
Please ignore this email, I've unified it with the reply to patch 5, and then … I sent the wrong one. On 05/23/2017 11:47 AM, Pierre-Yves David wrote: On 05/23/2017 04:22 AM, Jun Wu wrote: I have got a chance to test this in production with one of our biggest repo and a 18MB obsstore. I

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

2017-05-23 Thread Pierre-Yves David
On 05/23/2017 04:22 AM, Jun Wu wrote: I have got a chance to test this in production with one of our biggest repo and a 18MB obsstore. I tried running "hg id" with a a minimal hgrc (with just lz4revlog and remotefilelog enabled) and without an existing obscache. dualsourcecache.update takes 9

Re: [PATCH V3] revlog: skeleton support for version 2 revlogs

2017-05-23 Thread Jun Wu
I think this is an obvious good first step. So marked as pre-reviewed. I don't see better approaches to start moving forward. The choice of using a header magic that will change when the format gets formalized is brilliant. Excerpts from Gregory Szorc's message of 2017-05-22 15:20:12 -0700: > #

Re: [PATCH] policy: define C module versions individually

2017-05-23 Thread Jun Wu
This does not take cffi into consideration, although cffi code seems to be a "TODO" state. Maybe we can figure what to do once cffi is working. Excerpts from Jun Wu's message of 2017-05-22 23:29:11 -0700: > # HG changeset patch > # User Jun Wu > # Date 1495519180 25200 > # Mon

[PATCH] policy: define C module versions individually

2017-05-23 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1495519180 25200 # Mon May 22 22:59:40 2017 -0700 # Node ID 38a5dabea120ab837ff46484c4752762f4564b39 # Parent 8db2feb04cebc1878c6232dd2650f2c5468d350e # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

Re: [PATCH hg-experimental-ext] chistedit: fail only when attempting to run if curses is not found

2017-05-23 Thread Jun Wu
Pushed. Thanks! Excerpts from Martin von Zweigbergk's message of 2017-05-22 22:17:49 -0700: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1495516223 25200 > # Mon May 22 22:10:23 2017 -0700 > # Node ID 53bbe5f3591b2fde3aba487b8d548f44d49478d4 > #