Re: [PATCH 1 of 2 v4] hgweb: use ui._unset to get prevent a warning in configitems

2017-07-06 Thread David Demelier
Sorry, small typo in the commit message. Next time I'll complete my coffee before calling hg email. ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

[PATCH 1 of 2 v4] hgweb: use ui._unset to get prevent a warning in configitems

2017-07-06 Thread David Demelier
# HG changeset patch # User David Demelier # Date 1499079875 -7200 # Mon Jul 03 13:04:35 2017 +0200 # Node ID d32ff523e0219b48b119d9dc44d9d07638153a72 # Parent 5c9ad50fd62fbc2057ef7b44f921f22e7359af32 hgweb: use ui._unset to get prevent a warning in configitems diff -r 5c9ad50fd62f -r d32ff

[PATCH 2 of 2 v4] configitems: add alias support in config

2017-07-06 Thread David Demelier
# HG changeset patch # User David Demelier # Date 1499409190 -7200 # Fri Jul 07 08:33:10 2017 +0200 # Node ID 936ce124293ab334d10239c9088c74f47fc55212 # Parent d32ff523e0219b48b119d9dc44d9d07638153a72 configitems: add alias support in config Aliases define optional alternatives to existing

Re: [PATCH 2 of 2] releasenotes: add similarity check function to compare incoming notes

2017-07-06 Thread Rishabh Madan
On Wed, Jul 5, 2017 at 3:44 PM, Yuya Nishihara wrote: > On Mon, 03 Jul 2017 23:06:31 +0200, Rishabh Madan wrote: > > # HG changeset patch > > # User Rishabh Madan > > # Date 1499115687 -7200 > > # Mon Jul 03 23:01:27 2017 +0200 > > # Node ID 1fc4f41fadcca56d36edd0747a09e1be6af5f680 > > # Pa

[PATCH] tests: quote $PYTHON for Windows

2017-07-06 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1499403920 14400 # Fri Jul 07 01:05:20 2017 -0400 # Node ID 00962c2340c32700c6134907268d6802b77c3350 # Parent d2d4b210a0409032368aee07012bb5412ea66289 tests: quote $PYTHON for Windows When unquoted, MSYS sees the colon between the drive lette

Re: [PATCH 11 of 11 sparse V3] sparse: move post commit actions into core

2017-07-06 Thread Martin von Zweigbergk via Mercurial-devel
On Thu, Jul 6, 2017 at 6:18 PM, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1499379254 25200 > # Thu Jul 06 15:14:14 2017 -0700 > # Node ID fe47ebda0b384aa1d3002c6db3c4bace60472337 > # Parent 1c1a25d842854cbb2a7516136f7bcaab0d9f4539 > sparse: move post commit

Re: [PATCH 02 of 11 sparse V3] sparse: move config signature logic into core

2017-07-06 Thread Martin von Zweigbergk via Mercurial-devel
On Thu, Jul 6, 2017 at 6:18 PM, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1499382716 25200 > # Thu Jul 06 16:11:56 2017 -0700 > # Node ID 01f89a68e9269eec249207478e1e8344e90b7496 > # Parent 310f7bcab50bc92d6ff93ee1c6b055a636925123 > sparse: move config sign

Re: [PATCH 01 of 10 sparse V2] sparse: move config signature logic into core

2017-07-06 Thread Martin von Zweigbergk via Mercurial-devel
On Thu, Jul 6, 2017 at 5:16 PM, Martin von Zweigbergk wrote: > On Thu, Jul 6, 2017 at 4:36 PM, Gregory Szorc wrote: >> # HG changeset patch >> # User Gregory Szorc >> # Date 1499382716 25200 >> # Thu Jul 06 16:11:56 2017 -0700 >> # Node ID fea9f0ce2a1c18647087589d5bb23115cdf81419 >> # Paren

Re: [PATCH] commitextras: move fb's extension which add extras to a commit to core

2017-07-06 Thread Matt Harbison
On Thu, 06 Jul 2017 09:36:56 -0400, Yuya Nishihara wrote: On Wed, 05 Jul 2017 23:14:13 +0530, Pulkit Goyal wrote: # HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1499274297 -19800 # Wed Jul 05 22:34:57 2017 +0530 # Node ID 64c39cf4b61475a133f88fa6dd247ca4f3d61436 #

Re: Moving fb extensions to core.

2017-07-06 Thread Kevin Bullock
> On Jul 6, 2017, at 19:20, Gregory Szorc wrote: > > On Thu, Jul 6, 2017 at 4:09 PM, Durham Goode > wrote: > > > On 7/6/17 2:10 PM, Kevin Bullock wrote: > On Jul 5, 2017, at 13:13, Pulkit Goyal <7895pul...@gmail.com > > wrote: > > morsestatu

Re: Moving fb extensions to core.

2017-07-06 Thread Matt Harbison
On Thu, 06 Jul 2017 17:27:58 -0400, Martin von Zweigbergk via Mercurial-devel wrote: On Thu, Jul 6, 2017 at 2:10 PM, Kevin Bullock wrote: On Jul 5, 2017, at 13:13, Pulkit Goyal <7895pul...@gmail.com> wrote: morsestatus: This extension wraps the status command to show more things about the

Re: [PATCH] revset: add experimental set subscript operator

2017-07-06 Thread Sean Farley
Jun Wu writes: > Excerpts from Sean Farley's message of 2017-07-01 16:33:47 -0700: >> > Yep. That's why I slightly prefer not using "{}". >> > >> > $ hg log -T '{revset(".{0}")}\n' >> > ^^^ >> >this is not a revset operator, but expanded to '' >> >

Re: [PATCH] revset: add experimental set subscript operator

2017-07-06 Thread Jun Wu
Excerpts from Sean Farley's message of 2017-07-01 16:33:47 -0700: > > Yep. That's why I slightly prefer not using "{}". > > > > $ hg log -T '{revset(".{0}")}\n' > > ^^^ > >this is not a revset operator, but expanded to '' > > I like separating {} and

[PATCH 01 of 11 sparse V3] sparse: remove custom hash matcher

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499387493 25200 # Thu Jul 06 17:31:33 2017 -0700 # Node ID 310f7bcab50bc92d6ff93ee1c6b055a636925123 # Parent d2d4b210a0409032368aee07012bb5412ea66289 sparse: remove custom hash matcher With the recent change to always use repr(), this functi

[PATCH 06 of 11 sparse V3] sparse: move pruning of temporary includes into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499376798 25200 # Thu Jul 06 14:33:18 2017 -0700 # Node ID 5aee17f8fb13a0197b15e3c6304fb88a87ff70de # Parent 5eb28d023f051b0e3e1b3cec3f5ab8b2d6cd2a87 sparse: move pruning of temporary includes into core This was our last method on the custom

[PATCH 07 of 11 sparse V3] sparse: move update action filtering into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499383055 25200 # Thu Jul 06 16:17:35 2017 -0700 # Node ID 30d600e49f0e82abe5742a7483a05301e5a2b739 # Parent 5aee17f8fb13a0197b15e3c6304fb88a87ff70de sparse: move update action filtering into core This is a relatively straight port of the fu

[PATCH 08 of 11 sparse V3] sparse: refactor update actions filtering and call from core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499383771 25200 # Thu Jul 06 16:29:31 2017 -0700 # Node ID e01ed081c4879c8e29e62cf4b4cd2ad0ea981ae0 # Parent 30d600e49f0e82abe5742a7483a05301e5a2b739 sparse: refactor update actions filtering and call from core merge.calculateupdates() now f

[PATCH 10 of 11 sparse V3] sparse: inline signature cache clearing

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499382628 25200 # Thu Jul 06 16:10:28 2017 -0700 # Node ID 1c1a25d842854cbb2a7516136f7bcaab0d9f4539 # Parent cdf003c9148c51bc45f9efb73102c3c013826390 sparse: inline signature cache clearing It is a trivial one-liner. No need to have a separa

[PATCH 11 of 11 sparse V3] sparse: move post commit actions into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499379254 25200 # Thu Jul 06 15:14:14 2017 -0700 # Node ID fe47ebda0b384aa1d3002c6db3c4bace60472337 # Parent 1c1a25d842854cbb2a7516136f7bcaab0d9f4539 sparse: move post commit actions into core Instead of wrapping committablectx.markcommitted

[PATCH 03 of 11 sparse V3] sparse: clean up config signature code

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499382096 25200 # Thu Jul 06 16:01:36 2017 -0700 # Node ID 1d856c7fb9c08bd71ed9bb802917d45f07fb8714 # Parent 01f89a68e9269eec249207478e1e8344e90b7496 sparse: clean up config signature code Before, 0 was being used as the default signature va

[PATCH 09 of 11 sparse V3] sparse: move working directory refreshing into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499377988 25200 # Thu Jul 06 14:53:08 2017 -0700 # Node ID cdf003c9148c51bc45f9efb73102c3c013826390 # Parent e01ed081c4879c8e29e62cf4b4cd2ad0ea981ae0 sparse: move working directory refreshing into core This is a pretty straightforward move o

[PATCH 05 of 11 sparse V3] sparse: move function for resolving sparse matcher into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499388105 25200 # Thu Jul 06 17:41:45 2017 -0700 # Node ID 5eb28d023f051b0e3e1b3cec3f5ab8b2d6cd2a87 # Parent 1768212cea7afaa821883d284690caad542c7af0 sparse: move function for resolving sparse matcher into core As part of the move, the funct

[PATCH 04 of 11 sparse V3] match: move matchers from sparse into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499387964 25200 # Thu Jul 06 17:39:24 2017 -0700 # Node ID 1768212cea7afaa821883d284690caad542c7af0 # Parent 1d856c7fb9c08bd71ed9bb802917d45f07fb8714 match: move matchers from sparse into core The sparse extension contains some matcher types

[PATCH 02 of 11 sparse V3] sparse: move config signature logic into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499382716 25200 # Thu Jul 06 16:11:56 2017 -0700 # Node ID 01f89a68e9269eec249207478e1e8344e90b7496 # Parent 310f7bcab50bc92d6ff93ee1c6b055a636925123 sparse: move config signature logic into core This is a pretty straightforward port. It wil

Re: [PATCH 4 of 9] template: add minimal obsfate template

2017-07-06 Thread Sean Farley
Jun Wu writes: > I'm not a big fan of this obsfate template approach. Ideally we could > extract information from an obsmarker using templates. Something like > "{marker.user} {marker.operation} {marker.}". That's much more flexible > and could work with colors trivially. Heh, I was writing

Re: [PATCH 9 of 9] template: use template-engine for obsfate

2017-07-06 Thread Sean Farley
Boris Feld writes: > # HG changeset patch > # User Boris Feld > # Date 1499085172 -7200 > # Mon Jul 03 14:32:52 2017 +0200 > # Node ID e18d8e61b7260e246a82727c8cde01f936692cff > # Parent 098585d4fbc88dc54513e12fa306d0e52ea2b323 > # EXP-Topic obsfatetemplate > template: use template-engine

Re: [PATCH 03 of 10 sparse V2] sparse: move matchers into core

2017-07-06 Thread Gregory Szorc
On Thu, Jul 6, 2017 at 5:08 PM, Martin von Zweigbergk wrote: > On Thu, Jul 6, 2017 at 4:36 PM, Gregory Szorc > wrote: > > # HG changeset patch > > # User Gregory Szorc > > # Date 1499382480 25200 > > # Thu Jul 06 16:08:00 2017 -0700 > > # Node ID 7dd8166a473cd19d6c9a1c6aa0d37f03f223a726 >

Re: [PATCH] sparse: override __repr__ in matchers

2017-07-06 Thread Gregory Szorc
On Thu, Jul 6, 2017 at 5:16 PM, Martin von Zweigbergk wrote: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1499384256 25200 > # Thu Jul 06 16:37:36 2017 -0700 > # Node ID 2fb74a0768a6364c5cf23eb34423c93d08278c07 > # Parent 3e1accab7447b67ebb58d5b5da341e553a4cc564 > sparse:

Re: Moving fb extensions to core.

2017-07-06 Thread Gregory Szorc
On Thu, Jul 6, 2017 at 4:09 PM, Durham Goode wrote: > > > On 7/6/17 2:10 PM, Kevin Bullock wrote: > >> On Jul 5, 2017, at 13:13, Pulkit Goyal <7895pul...@gmail.com> wrote: >>> >>> morsestatus: This extension wraps the status command to show more >>> things about the current state of the repo by s

[PATCH] sparse: override __repr__ in matchers

2017-07-06 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1499384256 25200 # Thu Jul 06 16:37:36 2017 -0700 # Node ID 2fb74a0768a6364c5cf23eb34423c93d08278c07 # Parent 3e1accab7447b67ebb58d5b5da341e553a4cc564 sparse: override __repr__ in matchers sparse.py in FB's hg-experimental repo switch

Re: [PATCH 01 of 10 sparse V2] sparse: move config signature logic into core

2017-07-06 Thread Martin von Zweigbergk via Mercurial-devel
On Thu, Jul 6, 2017 at 4:36 PM, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1499382716 25200 > # Thu Jul 06 16:11:56 2017 -0700 > # Node ID fea9f0ce2a1c18647087589d5bb23115cdf81419 > # Parent 3e1accab7447b67ebb58d5b5da341e553a4cc564 > sparse: move config sign

Re: [PATCH 03 of 10 sparse V2] sparse: move matchers into core

2017-07-06 Thread Martin von Zweigbergk via Mercurial-devel
On Thu, Jul 6, 2017 at 4:36 PM, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1499382480 25200 > # Thu Jul 06 16:08:00 2017 -0700 > # Node ID 7dd8166a473cd19d6c9a1c6aa0d37f03f223a726 > # Parent 766f7cb3a49bde4dc740870d6e34848eb64743a6 > sparse: move matchers in

Re: [PATCH 02 of 10 sparse V2] sparse: clean up config signature code

2017-07-06 Thread Gregory Szorc
On Thu, Jul 6, 2017 at 4:57 PM, Martin von Zweigbergk wrote: > On Thu, Jul 6, 2017 at 4:36 PM, Gregory Szorc > wrote: > > # HG changeset patch > > # User Gregory Szorc > > # Date 1499382096 25200 > > # Thu Jul 06 16:01:36 2017 -0700 > > # Node ID 766f7cb3a49bde4dc740870d6e34848eb64743a6 >

Re: [PATCH 4 of 9] template: add minimal obsfate template

2017-07-06 Thread Jun Wu
I'm not a big fan of this obsfate template approach. Ideally we could extract information from an obsmarker using templates. Something like "{marker.user} {marker.operation} {marker.}". That's much more flexible and could work with colors trivially. The current template is binded to a ctx. We c

Re: [PATCH 02 of 10 sparse V2] sparse: clean up config signature code

2017-07-06 Thread Martin von Zweigbergk via Mercurial-devel
On Thu, Jul 6, 2017 at 4:36 PM, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1499382096 25200 > # Thu Jul 06 16:01:36 2017 -0700 > # Node ID 766f7cb3a49bde4dc740870d6e34848eb64743a6 > # Parent fea9f0ce2a1c18647087589d5bb23115cdf81419 > sparse: clean up config

[PATCH 09 of 10 sparse V2] sparse: inline signature cache clearing

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499382628 25200 # Thu Jul 06 16:10:28 2017 -0700 # Node ID 926348830c7b95a0ddab2aa7ac110a8743fe6dec # Parent 58a6344171e1ac0632885017b9de6ce11eb522f9 sparse: inline signature cache clearing It is a trivial one-liner. No need to have a separa

[PATCH 10 of 10 sparse V2] sparse: move post commit actions into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499379254 25200 # Thu Jul 06 15:14:14 2017 -0700 # Node ID ffed7d6dd6977e36c31add7386c61c2dc9d46191 # Parent 926348830c7b95a0ddab2aa7ac110a8743fe6dec sparse: move post commit actions into core Instead of wrapping committablectx.markcommitted

[PATCH 08 of 10 sparse V2] sparse: move working directory refreshing into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499377988 25200 # Thu Jul 06 14:53:08 2017 -0700 # Node ID 58a6344171e1ac0632885017b9de6ce11eb522f9 # Parent 62b386782cce6101da26d7a62dc0decf6a77cb83 sparse: move working directory refreshing into core This is a pretty straightforward move o

[PATCH 07 of 10 sparse V2] sparse: refactor update actions filtering and call from core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499383771 25200 # Thu Jul 06 16:29:31 2017 -0700 # Node ID 62b386782cce6101da26d7a62dc0decf6a77cb83 # Parent 786473354724291b5cf384df2e9918b9d98d4c74 sparse: refactor update actions filtering and call from core merge.calculateupdates() now f

[PATCH 05 of 10 sparse V2] sparse: move pruning of temporary includes into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499376798 25200 # Thu Jul 06 14:33:18 2017 -0700 # Node ID b80df45d3b5c8eb8f3f3183d4294c50ddf6eeaaf # Parent b56d19640ff132fe8e3c58944767b96b6b0c66a4 sparse: move pruning of temporary includes into core This was our last method on the custom

[PATCH 01 of 10 sparse V2] sparse: move config signature logic into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499382716 25200 # Thu Jul 06 16:11:56 2017 -0700 # Node ID fea9f0ce2a1c18647087589d5bb23115cdf81419 # Parent 3e1accab7447b67ebb58d5b5da341e553a4cc564 sparse: move config signature logic into core This is a pretty straightforward port. It wil

[PATCH 02 of 10 sparse V2] sparse: clean up config signature code

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499382096 25200 # Thu Jul 06 16:01:36 2017 -0700 # Node ID 766f7cb3a49bde4dc740870d6e34848eb64743a6 # Parent fea9f0ce2a1c18647087589d5bb23115cdf81419 sparse: clean up config signature code Before, 0 was being used as the default signature va

[PATCH 03 of 10 sparse V2] sparse: move matchers into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499382480 25200 # Thu Jul 06 16:08:00 2017 -0700 # Node ID 7dd8166a473cd19d6c9a1c6aa0d37f03f223a726 # Parent 766f7cb3a49bde4dc740870d6e34848eb64743a6 sparse: move matchers into core The sparse extension contains some matcher types that are g

[PATCH 04 of 10 sparse V2] sparse: move function for resolving sparse matcher into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499377907 25200 # Thu Jul 06 14:51:47 2017 -0700 # Node ID b56d19640ff132fe8e3c58944767b96b6b0c66a4 # Parent 7dd8166a473cd19d6c9a1c6aa0d37f03f223a726 sparse: move function for resolving sparse matcher into core As part of the move, the funct

[PATCH 06 of 10 sparse V2] sparse: move update action filtering into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499383055 25200 # Thu Jul 06 16:17:35 2017 -0700 # Node ID 786473354724291b5cf384df2e9918b9d98d4c74 # Parent b80df45d3b5c8eb8f3f3183d4294c50ddf6eeaaf sparse: move update action filtering into core This is a relatively straight port of the fu

Re: [PATCH 8 of 9 sparse] sparse: move update action filtering into core

2017-07-06 Thread Martin von Zweigbergk via Mercurial-devel
On Thu, Jul 6, 2017 at 2:54 PM, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1499376320 25200 > # Thu Jul 06 14:25:20 2017 -0700 > # Node ID 61066164673a2d4213bbfedc2081377b18f2d47c > # Parent fa3cd4d3ec8273b09e684c71aa716a85dcbe9f20 > sparse: move update acti

Re: Moving fb extensions to core.

2017-07-06 Thread Durham Goode
On 7/6/17 2:10 PM, Kevin Bullock wrote: On Jul 5, 2017, at 13:13, Pulkit Goyal <7895pul...@gmail.com> wrote: morsestatus: This extension wraps the status command to show more things about the current state of the repo by showing if histedit, bisect, graft, unshelve, rebase or merge is going on

Re: [PATCH] tests: fix reference to undefined variable

2017-07-06 Thread Sean Farley
Martin von Zweigbergk via Mercurial-devel writes: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1499375822 25200 > # Thu Jul 06 14:17:02 2017 -0700 > # Node ID 3ba21e3240f233f061bdeaee19e18414a4e00248 > # Parent f08a178adadfc36f3ce9c4e275227f8e39b3e750 > tests: fix refer

Re: [PATCH 4 of 4] shelve: don't reimplement mergestate.unresolved()

2017-07-06 Thread Sean Farley
Martin von Zweigbergk via Mercurial-devel writes: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1448990394 28800 > # Tue Dec 01 09:19:54 2015 -0800 > # Node ID eca76edfc5574a598c0e347b22de7d236900312a > # Parent 30ac13304e5d0e8b4e68455f18adc058e219db7f > shelve: don't re

Re: [PATCH 5 of 9 sparse] sparse: move matchers into core

2017-07-06 Thread Martin von Zweigbergk via Mercurial-devel
On Thu, Jul 6, 2017 at 2:54 PM, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1499370935 25200 > # Thu Jul 06 12:55:35 2017 -0700 > # Node ID fa855679d5ef4af9530f9500d1b08a74202aa35a > # Parent b9d7f9e9fd096f795314ad9ccaea85139df47997 > sparse: move matchers in

Re: [PATCH 3 of 3] changegroup: don't fail on empty changegroup (API)

2017-07-06 Thread Sean Farley
Martin von Zweigbergk via Mercurial-devel writes: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1498892339 25200 > # Fri Jun 30 23:58:59 2017 -0700 > # Node ID d4e1f3ac5a45534203caafe5bd7bd66f3b54c4e0 > # Parent 748b0ea7aa3b88ef8ccdd236339d9a2daba18f54 > changegroup: don

Re: [PATCH 4 of 9 sparse] sparse: move config signature logic into core

2017-07-06 Thread Martin von Zweigbergk via Mercurial-devel
On Thu, Jul 6, 2017 at 2:54 PM, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1499377725 25200 > # Thu Jul 06 14:48:45 2017 -0700 > # Node ID b9d7f9e9fd096f795314ad9ccaea85139df47997 > # Parent 7bd81df5813100a0a28ac2373722cd6405b5c505 > sparse: move config sign

Re: [PATCH 3 of 9 sparse] sparse: move some temporary includes functions into core

2017-07-06 Thread Martin von Zweigbergk via Mercurial-devel
On Thu, Jul 6, 2017 at 2:54 PM, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1499377696 25200 > # Thu Jul 06 14:48:16 2017 -0700 > # Node ID 7bd81df5813100a0a28ac2373722cd6405b5c505 > # Parent 868fe26df6ac39fddf1decc3ceae5dc0db9248be > sparse: move some tempor

Re: [PATCH 1 of 9 sparse] localrepo: add sparse caches

2017-07-06 Thread Martin von Zweigbergk via Mercurial-devel
On Thu, Jul 6, 2017 at 3:13 PM, Gregory Szorc wrote: > On Thu, Jul 6, 2017 at 3:08 PM, Martin von Zweigbergk > wrote: >> >> On Thu, Jul 6, 2017 at 2:54 PM, Gregory Szorc >> wrote: >> > # HG changeset patch >> > # User Gregory Szorc >> > # Date 1499368853 25200 >> > # Thu Jul 06 12:20:53 20

Re: [PATCH 1 of 9 sparse] localrepo: add sparse caches

2017-07-06 Thread Gregory Szorc
On Thu, Jul 6, 2017 at 3:08 PM, Martin von Zweigbergk wrote: > On Thu, Jul 6, 2017 at 2:54 PM, Gregory Szorc > wrote: > > # HG changeset patch > > # User Gregory Szorc > > # Date 1499368853 25200 > > # Thu Jul 06 12:20:53 2017 -0700 > > # Node ID 56de1555b77f5cd553032c54bddb79645316c86d >

Re: [PATCH 1 of 9 sparse] localrepo: add sparse caches

2017-07-06 Thread Martin von Zweigbergk via Mercurial-devel
On Thu, Jul 6, 2017 at 2:54 PM, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1499368853 25200 > # Thu Jul 06 12:20:53 2017 -0700 > # Node ID 56de1555b77f5cd553032c54bddb79645316c86d > # Parent ca4b78eb11e7a67600e85784df4da2655351b6d2 > localrepo: add sparse ca

[PATCH 6 of 9 sparse] sparse: move function for resolving sparse matcher into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499377907 25200 # Thu Jul 06 14:51:47 2017 -0700 # Node ID f7f5f791854ec1ee1cc8679d7cb1193f7d7f05b6 # Parent fa855679d5ef4af9530f9500d1b08a74202aa35a sparse: move function for resolving sparse matcher into core As part of the move, the funct

[PATCH 5 of 9 sparse] sparse: move matchers into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499370935 25200 # Thu Jul 06 12:55:35 2017 -0700 # Node ID fa855679d5ef4af9530f9500d1b08a74202aa35a # Parent b9d7f9e9fd096f795314ad9ccaea85139df47997 sparse: move matchers into core The sparse extension contains some matcher types that are g

[PATCH 4 of 9 sparse] sparse: move config signature logic into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499377725 25200 # Thu Jul 06 14:48:45 2017 -0700 # Node ID b9d7f9e9fd096f795314ad9ccaea85139df47997 # Parent 7bd81df5813100a0a28ac2373722cd6405b5c505 sparse: move config signature logic into core The implementation changed slightly. Before,

[PATCH 8 of 9 sparse] sparse: move update action filtering into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499376320 25200 # Thu Jul 06 14:25:20 2017 -0700 # Node ID 61066164673a2d4213bbfedc2081377b18f2d47c # Parent fa3cd4d3ec8273b09e684c71aa716a85dcbe9f20 sparse: move update action filtering into core Sparse applies a filter on calculated update

[PATCH 9 of 9 sparse] sparse: move working directory refreshing into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499377988 25200 # Thu Jul 06 14:53:08 2017 -0700 # Node ID bb3e1889d6de938af6841d92f4065eb75c562111 # Parent 61066164673a2d4213bbfedc2081377b18f2d47c sparse: move working directory refreshing into core This is a pretty straightforward move o

[PATCH 3 of 9 sparse] sparse: move some temporary includes functions into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499377696 25200 # Thu Jul 06 14:48:16 2017 -0700 # Node ID 7bd81df5813100a0a28ac2373722cd6405b5c505 # Parent 868fe26df6ac39fddf1decc3ceae5dc0db9248be sparse: move some temporary includes functions into core Functions for reading and writing

[PATCH 7 of 9 sparse] sparse: move pruning of temporary includes into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499376798 25200 # Thu Jul 06 14:33:18 2017 -0700 # Node ID fa3cd4d3ec8273b09e684c71aa716a85dcbe9f20 # Parent f7f5f791854ec1ee1cc8679d7cb1193f7d7f05b6 sparse: move pruning of temporary includes into core This was our last method on the custom

[PATCH 1 of 9 sparse] localrepo: add sparse caches

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499368853 25200 # Thu Jul 06 12:20:53 2017 -0700 # Node ID 56de1555b77f5cd553032c54bddb79645316c86d # Parent ca4b78eb11e7a67600e85784df4da2655351b6d2 localrepo: add sparse caches The sparse extension maintains caches for the sparse files to

[PATCH 2 of 9 sparse] sparse: move config file writing into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499369095 25200 # Thu Jul 06 12:24:55 2017 -0700 # Node ID 868fe26df6ac39fddf1decc3ceae5dc0db9248be # Parent 56de1555b77f5cd553032c54bddb79645316c86d sparse: move config file writing into core The code was refactored during the move to be mo

[PATCH 6 of 9] template: show user in obsfateprinter

2017-07-06 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1499088840 -7200 # Mon Jul 03 15:34:00 2017 +0200 # Node ID ae148d33f0cff729874e141d9638960da19b0232 # Parent 955b9374e3bee67ac49bf2924f44be67a6528747 # EXP-Topic obsfatetemplate template: show user in obsfateprinter Extract, deduplicate users i

[PATCH 7 of 9] template: show dates in obsfateprinter

2017-07-06 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1499088850 -7200 # Mon Jul 03 15:34:10 2017 +0200 # Node ID 817d5a7df52dff4584ac3d9e5eef17230d2b1ae8 # Parent ae148d33f0cff729874e141d9638960da19b0232 # EXP-Topic obsfatetemplate template: show dates in obsfateprinter Extract the dates from obsm

[PATCH 9 of 9] template: use template-engine for obsfate

2017-07-06 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1499085172 -7200 # Mon Jul 03 14:32:52 2017 +0200 # Node ID e18d8e61b7260e246a82727c8cde01f936692cff # Parent 098585d4fbc88dc54513e12fa306d0e52ea2b323 # EXP-Topic obsfatetemplate template: use template-engine for obsfate Try to replace the obsfa

[PATCH 8 of 9] template: better prune support in obsfate

2017-07-06 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1499096336 -7200 # Mon Jul 03 17:38:56 2017 +0200 # Node ID 098585d4fbc88dc54513e12fa306d0e52ea2b323 # Parent 817d5a7df52dff4584ac3d9e5eef17230d2b1ae8 # EXP-Topic obsfatetemplate template: better prune support in obsfate successorssets don't ret

[PATCH 3 of 9] obsolete: track markers in _succs

2017-07-06 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1499045278 -7200 # Mon Jul 03 03:27:58 2017 +0200 # Node ID 7e5752579378680270dd356f4e56fd7795109c5d # Parent f1e0955f8dda31eef2a65380ea97c35cb637810e # EXP-Topic obsfatetemplate obsolete: track markers in _succs We now also store markers in _su

[PATCH 5 of 9] template: show verb in obsfateprinter

2017-07-06 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1499088807 -7200 # Mon Jul 03 15:33:27 2017 +0200 # Node ID 955b9374e3bee67ac49bf2924f44be67a6528747 # Parent 7fba236b2b17fd83a6b6446aaa84b14c65820aee # EXP-Topic obsfatetemplate template: show verb in obsfateprinter Use the markers information

[PATCH 4 of 9] template: add minimal obsfate template

2017-07-06 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1499176225 -7200 # Tue Jul 04 15:50:25 2017 +0200 # Node ID 7fba236b2b17fd83a6b6446aaa84b14c65820aee # Parent 7e5752579378680270dd356f4e56fd7795109c5d # EXP-Topic obsfatetemplate template: add minimal obsfate template Obsfate is a template that

[PATCH 2 of 9] obsolete: add an explicit '_succs.copy()' method

2017-07-06 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1499044397 -7200 # Mon Jul 03 03:13:17 2017 +0200 # Node ID f1e0955f8dda31eef2a65380ea97c35cb637810e # Parent 105c150648b0c43c240b27047d0be89359932d10 # EXP-Topic obsfatetemplate obsolete: add an explicit '_succs.copy()' method Mimic the standar

[PATCH 1 of 9] obsolete: introduce a _succs class

2017-07-06 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1499036035 -7200 # Mon Jul 03 00:53:55 2017 +0200 # Node ID 105c150648b0c43c240b27047d0be89359932d10 # Parent 634b259079c55e5dc3d38c3c73f87611d0be # EXP-Topic obsfatetemplate obsolete: introduce a _succs class It will be useful later when we

Re: [PATCH 13 of 13 sparse V2] sparse: move active profiles function into core

2017-07-06 Thread Martin von Zweigbergk via Mercurial-devel
On Thu, Jul 6, 2017 at 12:36 PM, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1499369164 25200 > # Thu Jul 06 12:26:04 2017 -0700 > # Node ID 1da756ef8cfc837e0f04379909fd0018f0461a76 > # Parent fe3ea142b7ce68527f208a22acda8b83e7271366 > sparse: move active pro

Re: Moving fb extensions to core.

2017-07-06 Thread Martin von Zweigbergk via Mercurial-devel
On Thu, Jul 6, 2017 at 2:10 PM, Kevin Bullock wrote: >> On Jul 5, 2017, at 13:13, Pulkit Goyal <7895pul...@gmail.com> wrote: >> >> morsestatus: This extension wraps the status command to show more >> things about the current state of the repo by showing if histedit, >> bisect, graft, unshelve, reb

Re: Moving fb extensions to core.

2017-07-06 Thread Sean Farley
Kevin Bullock writes: >> On Jul 5, 2017, at 13:13, Pulkit Goyal <7895pul...@gmail.com> wrote: >> >> morsestatus: This extension wraps the status command to show more >> things about the current state of the repo by showing if histedit, >> bisect, graft, unshelve, rebase or merge is going on and

Re: [PATCH] commitextras: move fb's extension which add extras to a commit to core

2017-07-06 Thread Martin von Zweigbergk via Mercurial-devel
On Thu, Jul 6, 2017 at 10:58 AM, Sean Farley wrote: > > Yuya Nishihara writes: > >> On Wed, 05 Jul 2017 23:14:13 +0530, Pulkit Goyal wrote: >>> # HG changeset patch >>> # User Pulkit Goyal <7895pul...@gmail.com> >>> # Date 1499274297 -19800 >>> # Wed Jul 05 22:34:57 2017 +0530 >>> # Node ID

[PATCH] tests: fix reference to undefined variable

2017-07-06 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1499375822 25200 # Thu Jul 06 14:17:02 2017 -0700 # Node ID 3ba21e3240f233f061bdeaee19e18414a4e00248 # Parent f08a178adadfc36f3ce9c4e275227f8e39b3e750 tests: fix reference to undefined variable The delaypush() function had a reference

Re: Moving fb extensions to core.

2017-07-06 Thread Kevin Bullock
> On Jul 5, 2017, at 13:13, Pulkit Goyal <7895pul...@gmail.com> wrote: > > morsestatus: This extension wraps the status command to show more > things about the current state of the repo by showing if histedit, > bisect, graft, unshelve, rebase or merge is going on and show how to > continue and ab

mercurial@33283: 7 new changesets

2017-07-06 Thread Mercurial Commits
7 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/4470508eb6f2 changeset: 33277:4470508eb6f2 user:FUJIWARA Katsunori date:Tue Jul 04 23:13:46 2017 +0900 summary: localrepo: store path and vfs location of cached properties https://www.mercurial-scm.org

Re: Moving fb extensions to core.

2017-07-06 Thread Sean Farley
Pulkit Goyal <7895pul...@gmail.com> writes: > Hey, > > I am responsible to move some of facebook's extension to core. The > first easy ones which I need to move are commitextras, morestatus, > copytrace, pushvars. > > This mail is to ask how the community wants them in core. Historically, the bl

[PATCH 11 of 13 sparse V2] sparse: variable to track if sparse is enabled

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499367997 25200 # Thu Jul 06 12:06:37 2017 -0700 # Node ID debc65849276c8a8df457a9e67ad7328f22d13c0 # Parent bbca7c059359f585f8bb3b6ab1276769dbf1fc98 sparse: variable to track if sparse is enabled Currently, the sparse extension sniffs repo

[PATCH 10 of 13 sparse V2] sparse: move profile reading into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499368452 25200 # Thu Jul 06 12:14:12 2017 -0700 # Node ID bbca7c059359f585f8bb3b6ab1276769dbf1fc98 # Parent e3662ac026a6db43875acb4b89507c0e9d77f16f sparse: move profile reading into core Our more step towards weaning off methods on repo in

[PATCH 12 of 13 sparse V2] sparse: move resolving of sparse patterns for rev into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499368514 25200 # Thu Jul 06 12:15:14 2017 -0700 # Node ID fe3ea142b7ce68527f208a22acda8b83e7271366 # Parent debc65849276c8a8df457a9e67ad7328f22d13c0 sparse: move resolving of sparse patterns for rev into core This method is reasonably well-

[PATCH 06 of 13 sparse V2] sparse: document config file format

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499363846 25200 # Thu Jul 06 10:57:26 2017 -0700 # Node ID 9d59302d25b9d53a8e72fbd110fb12d4aa52cf3f # Parent a772c2781b074d61f518ccf415291ab2091b0048 sparse: document config file format This was previously undocumented. Seems useful to have.

[PATCH 13 of 13 sparse V2] sparse: move active profiles function into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499369164 25200 # Thu Jul 06 12:26:04 2017 -0700 # Node ID 1da756ef8cfc837e0f04379909fd0018f0461a76 # Parent fe3ea142b7ce68527f208a22acda8b83e7271366 sparse: move active profiles function into core Also includes some light formatting changes

[PATCH 09 of 13 sparse V2] sparse: move config parsing into core

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499368443 25200 # Thu Jul 06 12:14:03 2017 -0700 # Node ID e3662ac026a6db43875acb4b89507c0e9d77f16f # Parent 18bb106ccbe320d2be62d8c28b8ef756dad9426d sparse: move config parsing into core This patch marks the beginning of moving code from th

[PATCH 08 of 13 sparse V2] sparse: use vfs.tryread()

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499363925 25200 # Thu Jul 06 10:58:45 2017 -0700 # Node ID 18bb106ccbe320d2be62d8c28b8ef756dad9426d # Parent c31af7dfe7370ade61a54c2c8191329083b7d7a2 sparse: use vfs.tryread() vfs.exists() followed by a file read is an anti-pattern because i

[PATCH 07 of 13 sparse V2] sparse: refactor sparsechecksum()

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1498935399 25200 # Sat Jul 01 11:56:39 2017 -0700 # Node ID c31af7dfe7370ade61a54c2c8191329083b7d7a2 # Parent 9d59302d25b9d53a8e72fbd110fb12d4aa52cf3f sparse: refactor sparsechecksum() This was relying on garbage collection to close the opene

[PATCH 05 of 13 sparse V2] sparse: rename command to debugsparse

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1498930167 25200 # Sat Jul 01 10:29:27 2017 -0700 # Node ID a772c2781b074d61f518ccf415291ab2091b0048 # Parent 452ec637b490dc1a713a4adbb84a9301bed5 sparse: rename command to debugsparse Sparse checkout is still highly experimental and not

[PATCH 01 of 13 sparse V2] sparse: vendor Facebook-developed extension

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1498931009 25200 # Sat Jul 01 10:43:29 2017 -0700 # Node ID aa0533ab478446530a11daee40e60955f36d5eed # Parent 89796a25d4bb91fb418ad3e70faad2c586902ffb sparse: vendor Facebook-developed extension Facebook has developed an extension to enable "

[PATCH 04 of 13 sparse V2] sparse: remove reference to simplecache

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499363663 25200 # Thu Jul 06 10:54:23 2017 -0700 # Node ID 452ec637b490dc1a713a4adbb84a9301bed5 # Parent 1f1f1ed45ed8ee15c37080986022d9de1d7fbd05 sparse: remove reference to simplecache This is a 3rd party extension authored by Facebook.

[PATCH 03 of 13 sparse V2] sparse: remove reference to hgwatchman

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1498929871 25200 # Sat Jul 01 10:24:31 2017 -0700 # Node ID 1f1f1ed45ed8ee15c37080986022d9de1d7fbd05 # Parent 73fb571b44782b7bcb5142606b3ae69ec420341c sparse: remove reference to hgwatchman This is a legacy extension. Now that the extension i

[PATCH 02 of 13 sparse V2] sparse: expand module docstring

2017-07-06 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1498930563 25200 # Sat Jul 01 10:36:03 2017 -0700 # Node ID 73fb571b44782b7bcb5142606b3ae69ec420341c # Parent aa0533ab478446530a11daee40e60955f36d5eed sparse: expand module docstring Clarify lack of BC guarantees. And say a bit more about the

Re: [PATCH 12 of 14] vfs: add the possibility to have a "ward" to check vfs usage

2017-07-06 Thread Boris Feld
On Wed, 2017-07-05 at 23:55 +0900, Yuya Nishihara wrote: > On Sun, 02 Jul 2017 04:56:37 +0200, Pierre-Yves David wrote: > > # HG changeset patch > > # User Pierre-Yves David > > # Date 1470323266 -7200 > > #  Thu Aug 04 17:07:46 2016 +0200 > > # Node ID ebf81efdd6d7ff15c64683933635616c00475688

Re: [PATCH] match: minor cleanups to patternmatcher and includematcher

2017-07-06 Thread Sean Farley
Martin von Zweigbergk via Mercurial-devel writes: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1496987361 25200 > # Thu Jun 08 22:49:21 2017 -0700 > # Node ID 1174e71dbffd4a1b6ce6eaf8d91f2452d4724071 > # Parent 348b491c093401f849ea4c4106b164672efc6bed > match: minor cle

Re: [PATCH 04 of 13 sparse] sparse: remove reference to simplecache

2017-07-06 Thread Gregory Szorc
On Mon, Jul 3, 2017 at 12:48 PM, Durham Goode wrote: > On 7/1/17 6:55 PM, Gregory Szorc wrote: > >> # HG changeset patch >> # User Gregory Szorc >> # Date 1498932351 25200 >> # Sat Jul 01 11:05:51 2017 -0700 >> # Node ID f2b0d199751ba38008bc1862b95b8f6ecbb0d7be >> # Parent 3c260103478c787f

Re: [PATCH] py3: fix test-diff-newlines.t to be compatible with py3

2017-07-06 Thread Sean Farley
Boris Feld writes: > # HG changeset patch > # User Boris Feld > # Date 1499354330 -7200 > # Thu Jul 06 17:18:50 2017 +0200 > # Node ID a6392dbb41f976436b0c7e499242f96c9cb3edf1 > # Parent 89796a25d4bb91fb418ad3e70faad2c586902ffb > # EXP-Topic py3 > py3: fix test-diff-newlines.t to be compa

Re: [PATCH 5 of 5] template: add successors template

2017-07-06 Thread Sean Farley
Augie Fackler writes: > On Wed, Jul 05, 2017 at 10:53:58PM +0200, Boris Feld wrote: >> # HG changeset patch >> # User Boris Feld >> # Date 1499073720 -7200 >> # Mon Jul 03 11:22:00 2017 +0200 >> # Node ID 82e2b4eb96b573dde890d725d758dbbc49407133 >> # Parent 870bfaafd90e030b85b869922050be9

  1   2   >