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

2017-05-26 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1495506038 14400 # Mon May 22 22:20:38 2017 -0400 # Node ID d35feab18347e36cf3e55b6b797602088917de09 # Parent 01e230f1d93a0b0e54164fbce14b5a0c093a4fc4 color: enable ANSI support on Windows 10 This will display color

Re: [PATCH] journal: use a more compatible way to wrap dirstate

2017-05-26 Thread Jun Wu
This fixes the test with fsmonitor but is not 100% correct. The dirstate state will be lost when dirstate object is reconstructed. That said, I think the journal extension is not doing the most correct things. I think recording journal should be transaction aware. Ideally journal runs at the end

Re: [PATCH 5 of 5 osx] tests: hint how to run slow tests when rejecting

2017-05-26 Thread Jun Wu
Nice cleanup. Glad to see chg being included by default! Excerpts from Augie Fackler's message of 2017-05-26 20:27:32 -0400: > # HG changeset patch > # User spectral > # Date 1495835574 25200 > # Fri May 26 14:52:54 2017 -0700 > # Node ID

[PATCH] debian: add less as a build dependency

2017-05-26 Thread Rodrigo Damazio Bovendorp via Mercurial-devel
# HG changeset patch # User Rodrigo Damazio Bovendorp # Date 1495852400 25200 # Fri May 26 19:33:20 2017 -0700 # Node ID eb70f0115b8c880218a45fc9e1f59eeb38b2f219 # Parent b647b923486f38d83b92089eafa9faafaa79785d debian: add less as a build dependency For builds that

Re: [PATCH 8 of 8 demandimport-py3] python3: allow hgloader to work with lazy loaders

2017-05-26 Thread Jun Wu
Excerpts from Gregory Szorc's message of 2017-05-21 18:26:53 -0700: > > This brings `hg version` down from 0.27 seconds to 0.17. > > Out of curiosity, is this with HGRCPATH=? On my machine, current `hg > version` on 3.6.0 on Linux on any i7-6700K is ~130ms. ~25ms with Python 2 > (~60ms with

[PATCH 3 of 3] localrepo: cache types for filtered repos (issue5043)

2017-05-26 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1495845557 25200 # Fri May 26 17:39:17 2017 -0700 # Node ID 1755f6e0f866afa6bbc20b688fab2995f4bca566 # Parent 9a7f60cb77b6969608d2a9b72a2ccb31a53db82b localrepo: cache types for filtered repos (issue5043) For reasons

[PATCH 1 of 3] transaction: delete callbacks after use

2017-05-26 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1495830441 25200 # Fri May 26 13:27:21 2017 -0700 # Node ID 922d86488388b186fa407eae78fbb811c57a3293 # Parent ad37c569ec8121a99e4cd9da52365b114b82e744 transaction: delete callbacks after use Before this change,

[PATCH 2 of 3] localrepo: use type() to create filtered repo type

2017-05-26 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1495831746 25200 # Fri May 26 13:49:06 2017 -0700 # Node ID 9a7f60cb77b6969608d2a9b72a2ccb31a53db82b # Parent 922d86488388b186fa407eae78fbb811c57a3293 localrepo: use type() to create filtered repo type This allows us

[PATCH 3 of 5 osx] osx: include chg by default

2017-05-26 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1490046631 14400 # Mon Mar 20 17:50:31 2017 -0400 # Node ID 599d022d2d51320b2d593152e6d87650ceaf1c06 # Parent 6bf80f254aac0c1238e6cd8c54d5a9f23dfc73fa osx: include chg by default diff --git a/Makefile b/Makefile ---

[PATCH 5 of 5 osx] tests: hint how to run slow tests when rejecting

2017-05-26 Thread Augie Fackler
# HG changeset patch # User spectral # Date 1495835574 25200 # Fri May 26 14:52:54 2017 -0700 # Node ID e70c2a57c0d11f67f26e5966dee9daf1e384acb2 # Parent ffca36020b1032817a451e0fb752b80bbf55d84a tests: hint how to run slow tests when rejecting diff --git

[PATCH 2 of 5 osx] osx: override default exclude filter for pkgbuild

2017-05-26 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1495843385 14400 # Fri May 26 20:03:05 2017 -0400 # Node ID 6bf80f254aac0c1238e6cd8c54d5a9f23dfc73fa # Parent 6663e603bc92abbe4ff60e4b1c0c283ec18f402a osx: override default exclude filter for pkgbuild To quote `man 1

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

2017-05-26 Thread Pierre-Yves David
On 05/26/2017 10:43 PM, Martin von Zweigbergk wrote: +mercurial-devel again (I clicked just "Reply" by mistake yet again) On Fri, May 26, 2017 at 1:19 PM, Martin von Zweigbergk wrote: On Fri, May 26, 2017 at 11:34 AM, Pierre-Yves David

[PATCH 9 of 9] match: remove support for includes from patternmatcher

2017-05-26 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1495219445 25200 # Fri May 19 11:44:05 2017 -0700 # Node ID 6697148881fdf859bfe64e5cd7ef470ba8726f16 # Parent 412b06821559698f34640bdb3713255c3c6a8205 match: remove support for includes from patternmatcher

[PATCH 3 of 9] merge: use intersectmatchers() in "m2-vs-ma optimization"

2017-05-26 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1494632013 25200 # Fri May 12 16:33:33 2017 -0700 # Node ID 83a81ef5b6282eae5e214c64273e0f6f80310716 # Parent 0318efe4a69d9ff1684d7194898be8e016b7c62e merge: use intersectmatchers() in "m2-vs-ma optimization"

[PATCH 6 of 9] match: split up main matcher into patternmatcher and includematcher

2017-05-26 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1495258574 25200 # Fri May 19 22:36:14 2017 -0700 # Node ID 825bd813c9957dbf9bb901bd7c456a928ca3d4df # Parent 132a2515861d24d6da0fba8b598d8116b95f0e4b match: split up main matcher into patternmatcher and

[PATCH 8 of 9] match: simplify includematcher a bit

2017-05-26 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1495521075 25200 # Mon May 22 23:31:15 2017 -0700 # Node ID 412b06821559698f34640bdb3713255c3c6a8205 # Parent c93ec56ea18eeb28745557e4e1332925fc0d168a match: simplify includematcher a bit The "include" we have

[PATCH 7 of 9] match: remove support for non-include patterns from includematcher

2017-05-26 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1495226194 25200 # Fri May 19 13:36:34 2017 -0700 # Node ID c93ec56ea18eeb28745557e4e1332925fc0d168a # Parent 825bd813c9957dbf9bb901bd7c456a928ca3d4df match: remove support for non-include patterns from

[PATCH 5 of 9] match: remove support for exact matching from main matcher class

2017-05-26 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1495175979 25200 # Thu May 18 23:39:39 2017 -0700 # Node ID 132a2515861d24d6da0fba8b598d8116b95f0e4b # Parent 9f2b73c1ac41cd17c19cc7c3bf527816b4b72ab6 match: remove support for exact matching from main matcher

[PATCH 4 of 9] match: handle exact matching using new exactmatcher

2017-05-26 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1495038375 25200 # Wed May 17 09:26:15 2017 -0700 # Node ID 9f2b73c1ac41cd17c19cc7c3bf527816b4b72ab6 # Parent 83a81ef5b6282eae5e214c64273e0f6f80310716 match: handle exact matching using new exactmatcher diff

[PATCH 2 of 9] match: handle includes using new intersectionmatcher

2017-05-26 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1494655925 25200 # Fri May 12 23:12:05 2017 -0700 # Node ID 0318efe4a69d9ff1684d7194898be8e016b7c62e # Parent 166063322d9e2171297a11862e5a7922bca2b1e1 match: handle includes using new intersectionmatcher diff

[PATCH 1 of 9] match: move entire uipath() implementation to basematcher

2017-05-26 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1495747976 25200 # Thu May 25 14:32:56 2017 -0700 # Node ID 166063322d9e2171297a11862e5a7922bca2b1e1 # Parent 12e241b2713ce44897c0bd19e8e16163b1b5d6e7 match: move entire uipath() implementation to basematcher

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

2017-05-26 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1495832891 -19800 # Sat May 27 02:38:11 2017 +0530 # Node ID 76fb3bdd547259620eec714c0d50fe1f9da25ebf # Parent 2b5953a49f1407f825d65b45986d213cb5c79203 status: add an option to see terse status (WIP) This is a work in

Re: [PATCH 4 of 4 hyperblame] annotate: add a new experimental --skip option to skip revs

2017-05-26 Thread Siddharth Agarwal
On 5/25/17 10:14 PM, Gregory Szorc wrote: On Thu, May 25, 2017 at 8:24 PM, Siddharth Agarwal > wrote: On 5/25/17 8:19 PM, Gregory Szorc wrote: I could also imagine the inverse of a skip feature: an "include" feature. You

Re: [PATCH] zsh_completion: install as _hg not hg

2017-05-26 Thread Kyle Lippincott
Apparently I missed a test (I made this change on linux, not on mac), so v2 incoming soonish. On Fri, May 26, 2017 at 1:53 PM, Kyle Lippincott via Mercurial-devel < mercurial-devel@mercurial-scm.org> wrote: > # HG changeset patch > # User Kyle Lippincott > # Date 1495830247

[PATCH] zsh_completion: install as _hg not hg

2017-05-26 Thread Kyle Lippincott via Mercurial-devel
# HG changeset patch # User Kyle Lippincott # Date 1495830247 25200 # Fri May 26 13:24:07 2017 -0700 # Branch stable # Node ID 77fa50376abeb18871edcf69b9a4282067afda0f # Parent f928d53b687cb5738528d2eae97f58da10ca8bae zsh_completion: install as _hg not hg The

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

2017-05-26 Thread Martin von Zweigbergk via Mercurial-devel
+mercurial-devel again (I clicked just "Reply" by mistake yet again) On Fri, May 26, 2017 at 1:19 PM, Martin von Zweigbergk wrote: > On Fri, May 26, 2017 at 11:34 AM, Pierre-Yves David > wrote: >> # HG changeset patch >> # User Pierre-Yves

Re: [PATCH 2 of 3] perfphases: add a flag to also include file access time

2017-05-26 Thread Pierre-Yves David
On 05/26/2017 07:00 PM, Gregory Szorc wrote: On Tue, May 23, 2017 at 7:04 AM, Pierre-Yves David > wrote: # HG changeset patch # User Pierre-Yves David

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

2017-05-26 Thread Pierre-Yves David
On 05/26/2017 07:07 PM, Gregory Szorc wrote: On Tue, May 23, 2017 at 7:04 AM, Pierre-Yves David > wrote: # HG changeset patch # User Pierre-Yves David

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

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

[PATCH 5 of 6 V3] hidden: unify the static and dynamic blocker logic

2017-05-26 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1495374426 -7200 # Sun May 21 15:47:06 2017 +0200 # Node ID e6ba7dd3a8937b03d58b9952b590e03af456b47b # Parent 548c9ad5d78f8b13dd60eea6ae0abba80ccf0349 # EXP-Topic fast-compute-hidden # Available At

[PATCH 6 of 6 V3] hidden: drop outdated comment about "dynamic" performance

2017-05-26 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1495374962 -7200 # Sun May 21 15:56:02 2017 +0200 # Node ID 6cc1cfd2eaeb90865e03c36cf7e6d7bf8acf9a2a # Parent e6ba7dd3a8937b03d58b9952b590e03af456b47b # EXP-Topic fast-compute-hidden # Available At

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

2017-05-26 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1495373721 -7200 # Sun May 21 15:35:21 2017 +0200 # Node ID c95d2c1ff6128ab5580d8e28ef8632ae87e5 # Parent 95b7279b3b2ec46607dbc22ebe4e8a27381c5ace # EXP-Topic fast-compute-hidden # Available At

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

2017-05-26 Thread Gregory Szorc
On Tue, May 23, 2017 at 7:04 AM, Pierre-Yves David < pierre-yves.da...@ens-lyon.org> wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1495498987 -7200 > # Tue May 23 02:23:07 2017 +0200 > # Node ID e7b7317363359a4bb15b5713ff034c6fd2008339 > #

[PATCH remotenames-ext] selectivepull: fix tests

2017-05-26 Thread Stanislau Hlebik
# HG changeset patch # User Stanislau Hlebik # Date 1495731588 25200 # Thu May 25 09:59:48 2017 -0700 # Node ID 78c8966c02759755235a6566e0c557b82ff9cb0a # Parent 900f1c70436bd7a266f64a6db592af602f8138a5 selectivepull: fix tests diff --git a/tests/test-selective-pull.t

Re: [PATCH 03 of 17] match: handle excludes using new differencematcher

2017-05-26 Thread Yuya Nishihara
On Fri, 26 May 2017 08:22:10 -0700, Martin von Zweigbergk wrote: > On Fri, May 26, 2017 at 8:10 AM, Yuya Nishihara wrote: > > On Thu, 25 May 2017 11:24:44 -0700, Martin von Zweigbergk via > > Mercurial-devel wrote: > >> # HG changeset patch > >> # User Martin von Zweigbergk

Re: [PATCH 03 of 17] match: handle excludes using new differencematcher

2017-05-26 Thread Martin von Zweigbergk via Mercurial-devel
On Fri, May 26, 2017 at 8:10 AM, Yuya Nishihara wrote: > On Thu, 25 May 2017 11:24:44 -0700, Martin von Zweigbergk via Mercurial-devel > wrote: >> # HG changeset patch >> # User Martin von Zweigbergk >> # Date 1494977808 25200 >> # Tue May 16 16:36:48

Re: [PATCH evolve-ext] tests: update tests with default-date change

2017-05-26 Thread Boris Feld
Hi Durham, thank you for your patch. I took a look at test-evolve.t because it shouldn't have changed just because of the introduction of default-date. From what I understood, the failing part of the test (the hg metaedit --config defaults.metaedit= call) is specifically testing for a

Re: [PATCH 03 of 17] match: handle excludes using new differencematcher

2017-05-26 Thread Yuya Nishihara
On Thu, 25 May 2017 11:24:44 -0700, Martin von Zweigbergk via Mercurial-devel wrote: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1494977808 25200 > # Tue May 16 16:36:48 2017 -0700 > # Node ID dc1a97dee1b5de53dda25285ffd7ebcc16105549 > # Parent

Re: [PATCH default] util: raise ParseError when parsing dates

2017-05-26 Thread Yuya Nishihara
On Thu, 25 May 2017 20:21:11 +0200, Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1495641017 -7200 > # Wed May 24 17:50:17 2017 +0200 > # Node ID 34e55919835ad870ba9df463c07e500988fd114e > # Parent b647b923486f38d83b92089eafa9faafaa79785d > #

Re: [PATCH 2 of 5] match: extract base class for matchers

2017-05-26 Thread Yuya Nishihara
On Thu, 25 May 2017 09:35:04 -0700, Martin von Zweigbergk wrote: > On Thu, May 25, 2017 at 6:32 AM, Yuya Nishihara wrote: > > On Tue, 23 May 2017 17:04:34 -0700, Martin von Zweigbergk via > > Mercurial-devel wrote: > >> # HG changeset patch > >> # User Martin von Zweigbergk