Re: [PATCH 5 of 8 sparse V2] dirstate: expose a sparse matcher on dirstate (API)

2017-07-10 Thread Martin von Zweigbergk via Mercurial-devel
On Mon, Jul 10, 2017 at 9:57 PM, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1499555884 25200 > # Sat Jul 08 16:18:04 2017 -0700 > # Node ID 03eed39f7af2db1678c2d39a2a7342e5c66b0804 > # Parent ee818b5e70b42f4bd65605c5872d06e5bc0a0bb5 > dirstate: expose a spar

Re: [PATCH 7 of 8 sparse V2] dirstate: move customizations to rebuild() from sparse extension

2017-07-10 Thread Martin von Zweigbergk via Mercurial-devel
On Mon, Jul 10, 2017 at 9:57 PM, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1499537680 25200 > # Sat Jul 08 11:14:40 2017 -0700 > # Node ID f0ef4aff7559a680e216407e5822e3e281ef1a5f > # Parent 7b09c7c8f8457dd96f45334dad13a0ceaae92a18 > dirstate: move customiz

Re: [PATCH 4 of 8 sparse V2] sparse: use self instead of repo.dirstate

2017-07-10 Thread Martin von Zweigbergk via Mercurial-devel
On Mon, Jul 10, 2017 at 9:57 PM, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1499553731 25200 > # Sat Jul 08 15:42:11 2017 -0700 > # Node ID ee818b5e70b42f4bd65605c5872d06e5bc0a0bb5 > # Parent ec1d258a7940fd3104d7cf001150d69e6c4da0ce > sparse: use self instea

Re: [PATCH 09 of 11 sparse] dirstate: move validation of files in sparse checkout from extension

2017-07-10 Thread Martin von Zweigbergk via Mercurial-devel
On Sat, Jul 8, 2017 at 4:29 PM, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1499554173 25200 > # Sat Jul 08 15:49:33 2017 -0700 > # Node ID 151bee7bb0e2ea8e612bbb0e16fa45d6e446ec05 > # Parent 711945cedb514e81299059d69bfeb72da388fad0 > dirstate: move validatio

[PATCH 8 of 8 sparse V2] dirstate: integrate sparse matcher with _ignore (API)

2017-07-10 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499555309 25200 # Sat Jul 08 16:08:29 2017 -0700 # Node ID 7c09adee4cacd9086467998030ea0e0bc3fbabed # Parent f0ef4aff7559a680e216407e5822e3e281ef1a5f dirstate: integrate sparse matcher with _ignore (API) Previously, the sparse extension monk

[PATCH 1 of 8 sparse V2] sparse: move config updating function into core

2017-07-10 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499747989 25200 # Mon Jul 10 21:39:49 2017 -0700 # Node ID dfbbb15fb7c3790c983fa12fbb75ec93a84509bb # Parent c6415195fa780a808ef655729fff008c6165a028 sparse: move config updating function into core As part of the move, the ui argument was dr

[PATCH 4 of 8 sparse V2] sparse: use self instead of repo.dirstate

2017-07-10 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499553731 25200 # Sat Jul 08 15:42:11 2017 -0700 # Node ID ee818b5e70b42f4bd65605c5872d06e5bc0a0bb5 # Parent ec1d258a7940fd3104d7cf001150d69e6c4da0ce sparse: use self instead of repo.dirstate "self" here is the dirstate instance. I'm pretty

[PATCH 3 of 8 sparse V2] sparse: shorten try..except block in updateconfig()

2017-07-10 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499748943 25200 # Mon Jul 10 21:55:43 2017 -0700 # Node ID ec1d258a7940fd3104d7cf001150d69e6c4da0ce # Parent 571f059fcdcb998236173166e75e05017342db15 sparse: shorten try..except block in updateconfig() It now only covers refreshwdir(). This

[PATCH 2 of 8 sparse V2] sparse: clean up updateconfig()

2017-07-10 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499748199 25200 # Mon Jul 10 21:43:19 2017 -0700 # Node ID 571f059fcdcb998236173166e75e05017342db15 # Parent dfbbb15fb7c3790c983fa12fbb75ec93a84509bb sparse: clean up updateconfig() * Use context manager for wlock * Rename oldsparsematch to

[PATCH 7 of 8 sparse V2] dirstate: move customizations to rebuild() from sparse extension

2017-07-10 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499537680 25200 # Sat Jul 08 11:14:40 2017 -0700 # Node ID f0ef4aff7559a680e216407e5822e3e281ef1a5f # Parent 7b09c7c8f8457dd96f45334dad13a0ceaae92a18 dirstate: move customizations to rebuild() from sparse extension This is a pretty straightf

[PATCH 6 of 8 sparse V2] dirstate: move validation of files in sparse checkout from extension

2017-07-10 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499554173 25200 # Sat Jul 08 15:49:33 2017 -0700 # Node ID 7b09c7c8f8457dd96f45334dad13a0ceaae92a18 # Parent 03eed39f7af2db1678c2d39a2a7342e5c66b0804 dirstate: move validation of files in sparse checkout from extension The sparse extension w

[PATCH 5 of 8 sparse V2] dirstate: expose a sparse matcher on dirstate (API)

2017-07-10 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499555884 25200 # Sat Jul 08 16:18:04 2017 -0700 # Node ID 03eed39f7af2db1678c2d39a2a7342e5c66b0804 # Parent ee818b5e70b42f4bd65605c5872d06e5bc0a0bb5 dirstate: expose a sparse matcher on dirstate (API) The sparse extension performs a lot of

Re: [PATCH 04 of 11 sparse] sparse: refactor activeprofiles into a generic function (API)

2017-07-10 Thread Gregory Szorc
On Mon, Jul 10, 2017 at 3:07 PM, Martin von Zweigbergk < martinv...@google.com> wrote: > On Sat, Jul 8, 2017 at 4:28 PM, Gregory Szorc > wrote: > > diff --git a/mercurial/sparse.py b/mercurial/sparse.py > > --- a/mercurial/sparse.py > > +++ b/mercurial/sparse.py > > @@ -124,15 +124,26 @@ def patt

Re: [PATCH 3 of 4] color: automatically define 16 and 256 colors if supported

2017-07-10 Thread Gregory Szorc
On Mon, Jul 10, 2017 at 7:44 PM, Kyle Lippincott wrote: > > > On Mon, Jul 10, 2017 at 5:26 PM, Gregory Szorc > wrote: > >> On Mon, Jul 10, 2017 at 4:32 PM, Kyle Lippincott >> wrote: >> >>> >>> >>> On Sun, Jul 9, 2017 at 4:46 PM, Gregory Szorc >>> wrote: >>> # HG changeset patch # Use

[PATCH] sslutil: check for missing certificate and key files (issue5598)

2017-07-10 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1499746186 25200 # Mon Jul 10 21:09:46 2017 -0700 # Node ID b9e2be8b5a75cbd1adef810111a469a10c9846c5 # Parent 4672db164c986da4442bd864cd044512d975c3f2 sslutil: check for missing certificate and key files (issue5598) Currently, sslutil._hostse

Re: [PATCH 3 of 4] color: automatically define 16 and 256 colors if supported

2017-07-10 Thread Kyle Lippincott
On Mon, Jul 10, 2017 at 5:26 PM, Gregory Szorc wrote: > On Mon, Jul 10, 2017 at 4:32 PM, Kyle Lippincott > wrote: > >> >> >> On Sun, Jul 9, 2017 at 4:46 PM, Gregory Szorc >> wrote: >> >>> # HG changeset patch >>> # User Gregory Szorc >>> # Date 1499641339 25200 >>> # Sun Jul 09 16:02:19 2

Re: [PATCH 3 of 4] color: automatically define 16 and 256 colors if supported

2017-07-10 Thread Gregory Szorc
On Mon, Jul 10, 2017 at 4:32 PM, Kyle Lippincott wrote: > > > On Sun, Jul 9, 2017 at 4:46 PM, Gregory Szorc > wrote: > >> # HG changeset patch >> # User Gregory Szorc >> # Date 1499641339 25200 >> # Sun Jul 09 16:02:19 2017 -0700 >> # Node ID fa6223b9e2a0d9fbfa81329b83c0512417cee713 >> # P

Re: [PATCH 4 of 4] [RFC] color: support different styling depending on color support (BC)

2017-07-10 Thread Kyle Lippincott
On Sun, Jul 9, 2017 at 9:32 PM, Jun Wu wrote: > I think the series is a good improvement and can be queued with some small > in-flight fixes. > > Excerpts from Gregory Szorc's message of 2017-07-09 16:46:17 -0700: > > diff --git a/mercurial/color.py b/mercurial/color.py > > --- a/mercurial/color.

Community video chats?

2017-07-10 Thread Phil Cohen
Many of us enjoy the fast-paced collaboration that happens during Mercurial's sprints. Alas, they only happen twice a year. In the interim, many of us have used ad-hoc videoconferencing to whiteboard ideas ahead of code review, and this has worked pretty well. It'd be great to do even more here.

Re: [PATCH 3 of 4] color: automatically define 16 and 256 colors if supported

2017-07-10 Thread Kyle Lippincott
On Sun, Jul 9, 2017 at 4:46 PM, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1499641339 25200 > # Sun Jul 09 16:02:19 2017 -0700 > # Node ID fa6223b9e2a0d9fbfa81329b83c0512417cee713 > # Parent 98c54db9407a7e0ba94a632aafdbbec3fc76fa8b > color: automatically de

Re: Next plans on radixlink and hash-preserving obsstore

2017-07-10 Thread Martin von Zweigbergk via Mercurial-devel
On Mon, Jul 10, 2017 at 3:36 PM, Jun Wu wrote: > Excerpts from Martin von Zweigbergk's message of 2017-07-10 15:28:07 -0700: >> I think you have a good point. We only have exchange directly between >> our clients and our server so far. I don't know if FB users do more >> peer-to-peer exchanges. It

Re: Next plans on radixlink and hash-preserving obsstore

2017-07-10 Thread Jun Wu
Excerpts from Martin von Zweigbergk's message of 2017-07-10 15:28:07 -0700: > I think you have a good point. We only have exchange directly between > our clients and our server so far. I don't know if FB users do more > peer-to-peer exchanges. It's very easy to forget that we also need to > handle

Re: Next plans on radixlink and hash-preserving obsstore

2017-07-10 Thread Martin von Zweigbergk via Mercurial-devel
On Mon, Jul 10, 2017 at 1:02 PM, Sean Farley wrote: > > Augie Fackler writes: > >>> On Jul 10, 2017, at 15:09, Sean Farley wrote: >>> > My fear (and therefore warning) here is that we'll spend too much time > discussing this while not shipping evolve. Jun can, of course, work on > wh

Re: [PATCH 06 of 11 sparse] sparse: move config updating function into core

2017-07-10 Thread Martin von Zweigbergk via Mercurial-devel
On Sat, Jul 8, 2017 at 4:29 PM, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1499548773 25200 > # Sat Jul 08 14:19:33 2017 -0700 > # Node ID bafbabb23d7c584a0744e0bf6426d72649f14453 > # Parent bdba7b6ce456921675ebf2dd54efd567709ed446 > sparse: move config upda

Re: [PATCH 04 of 11 sparse] sparse: refactor activeprofiles into a generic function (API)

2017-07-10 Thread Martin von Zweigbergk via Mercurial-devel
On Sat, Jul 8, 2017 at 4:28 PM, Gregory Szorc wrote: > diff --git a/mercurial/sparse.py b/mercurial/sparse.py > --- a/mercurial/sparse.py > +++ b/mercurial/sparse.py > @@ -124,15 +124,26 @@ def patternsforrev(repo, rev): > > return includes, excludes, profiles > > -def activeprofiles(repo): >

Re: [PATCH 11 of 11 sparse] dirstate: integrate sparse matcher with _ignore (API)

2017-07-10 Thread Durham Goode
On 7/10/17 1:04 PM, Martin von Zweigbergk wrote: On Mon, Jul 10, 2017 at 11:58 AM, Durham Goode wrote: On 7/10/17 11:55 AM, Martin von Zweigbergk wrote: On Mon, Jul 10, 2017 at 11:45 AM, Durham Goode wrote: On 7/10/17 10:01 AM, Martin von Zweigbergk wrote: (For Durham) On Sat, Jul

[Bug 5616] New: Generate multiline commit messages when passed multiple `-m` options.

2017-07-10 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5616 Bug ID: 5616 Summary: Generate multiline commit messages when passed multiple `-m` options. Product: Mercurial Version: unspecified Hardware: PC OS: Linux

Re: [PATCH 6 of 6] rebase: remove revprecursor and revpruned states

2017-07-10 Thread Jun Wu
Excerpts from Jun Wu's message of 2017-07-09 17:46:32 -0700: > This should be retitled to "remove nullmerge and revignored states". > > (it seems Phabricator could be helpful in this situation - the title could > be changed without a resend) This series has been sent to Phabricator as D21 to D26

Re: [PATCH 11 of 11 sparse] dirstate: integrate sparse matcher with _ignore (API)

2017-07-10 Thread Gregory Szorc
On Mon, Jul 10, 2017 at 1:04 PM, Martin von Zweigbergk < martinv...@google.com> wrote: > On Mon, Jul 10, 2017 at 11:58 AM, Durham Goode wrote: > > > > > > On 7/10/17 11:55 AM, Martin von Zweigbergk wrote: > >> > >> On Mon, Jul 10, 2017 at 11:45 AM, Durham Goode wrote: > >>> > >>> On 7/10/17 10:0

Re: [PATCH 11 of 11 sparse] dirstate: integrate sparse matcher with _ignore (API)

2017-07-10 Thread Martin von Zweigbergk via Mercurial-devel
On Mon, Jul 10, 2017 at 11:58 AM, Durham Goode wrote: > > > On 7/10/17 11:55 AM, Martin von Zweigbergk wrote: >> >> On Mon, Jul 10, 2017 at 11:45 AM, Durham Goode wrote: >>> >>> On 7/10/17 10:01 AM, Martin von Zweigbergk wrote: (For Durham) On Sat, Jul 8, 2017 at 4:29 PM,

Re: Next plans on radixlink and hash-preserving obsstore

2017-07-10 Thread Sean Farley
Augie Fackler writes: >> On Jul 10, 2017, at 15:09, Sean Farley wrote: >> My fear (and therefore warning) here is that we'll spend too much time discussing this while not shipping evolve. Jun can, of course, work on whatever pleases him the most. That's cool. But we (mercurial) r

Experimenting with Phabricator for reviews

2017-07-10 Thread Kevin Bullock
Greetings, Mercurial hackers! We've set up an instance of Phabricator that we're going to experiment with for code reviews. At this time, we're not planning on using any of the other features of Phabricator, and the use of Phabricator for reviews is very much *an experiment* - we intend to see

Re: [PATCH] template: rename successorssets template into successorgroup

2017-07-10 Thread Sean Farley
Yuya Nishihara writes: > On Fri, 07 Jul 2017 21:07:18 +0200, Boris Feld wrote: >> # HG changeset patch >> # User Boris Feld >> # Date 1499454363 -7200 >> # Fri Jul 07 21:06:03 2017 +0200 >> # Node ID 508801f7cd1304488b0d9ebf02a76be030608b21 >> # Parent e714159860fd0872ae0555bb07546aa7e9f7

Re: Next plans on radixlink and hash-preserving obsstore

2017-07-10 Thread Augie Fackler
> On Jul 10, 2017, at 15:09, Sean Farley wrote: > >>> My fear (and therefore warning) here is that we'll spend too much time >>> discussing this while not shipping evolve. Jun can, of course, work on >>> whatever pleases him the most. That's cool. But we (mercurial) really >>> need to focus on g

Re: Next plans on radixlink and hash-preserving obsstore

2017-07-10 Thread Sean Farley
Augie Fackler writes: > On Mon, Jul 10, 2017 at 11:18:39AM -0700, Sean Farley wrote: >> >> Siddharth Agarwal writes: >> >> > On 7/9/17 10:16 PM, Sean Farley wrote: >> >> Jun Wu writes: >> >> I want all the UI/UX of evolve to be solve and in core before we even >> >> *contemplate* (the over-eng

Re: [PATCH 11 of 11 sparse] dirstate: integrate sparse matcher with _ignore (API)

2017-07-10 Thread Durham Goode
On 7/10/17 11:55 AM, Martin von Zweigbergk wrote: On Mon, Jul 10, 2017 at 11:45 AM, Durham Goode wrote: On 7/10/17 10:01 AM, Martin von Zweigbergk wrote: (For Durham) On Sat, Jul 8, 2017 at 4:29 PM, Gregory Szorc wrote: # HG changeset patch # User Gregory Szorc # Date 1499555309 25200

Re: Next plans on radixlink and hash-preserving obsstore

2017-07-10 Thread Augie Fackler
On Mon, Jul 10, 2017 at 11:18:39AM -0700, Sean Farley wrote: > > Siddharth Agarwal writes: > > > On 7/9/17 10:16 PM, Sean Farley wrote: > >> Jun Wu writes: > >> I want all the UI/UX of evolve to be solve and in core before we even > >> *contemplate* (the over-engineered) hash-preserving. > > > >

Re: [PATCH 11 of 11 sparse] dirstate: integrate sparse matcher with _ignore (API)

2017-07-10 Thread Martin von Zweigbergk via Mercurial-devel
On Mon, Jul 10, 2017 at 11:45 AM, Durham Goode wrote: > On 7/10/17 10:01 AM, Martin von Zweigbergk wrote: >> >> (For Durham) >> >> On Sat, Jul 8, 2017 at 4:29 PM, Gregory Szorc >> wrote: >>> >>> # HG changeset patch >>> # User Gregory Szorc >>> # Date 1499555309 25200 >>> # Sat Jul 08 16:08

Re: Next plans on radixlink and hash-preserving obsstore

2017-07-10 Thread Durham Goode
On 7/10/17 11:40 AM, Sean Farley wrote: Sean Farley writes: Martin von Zweigbergk writes: On Mon, Jul 10, 2017 at 10:26 AM, Siddharth Agarwal wrote: On 7/9/17 10:16 PM, Sean Farley wrote: Jun Wu writes: hash-preserving obsstore, I've commented on this before but I will try to b

Re: [PATCH 11 of 11 sparse] dirstate: integrate sparse matcher with _ignore (API)

2017-07-10 Thread Durham Goode
On 7/10/17 10:01 AM, Martin von Zweigbergk wrote: (For Durham) On Sat, Jul 8, 2017 at 4:29 PM, Gregory Szorc wrote: # HG changeset patch # User Gregory Szorc # Date 1499555309 25200 # Sat Jul 08 16:08:29 2017 -0700 # Node ID 94f98bc84936defadb959e31012555dba170d8cd # Parent a2867557f9c2

Re: Next plans on radixlink and hash-preserving obsstore

2017-07-10 Thread Sean Farley
Sean Farley writes: > Martin von Zweigbergk writes: > >> On Mon, Jul 10, 2017 at 10:26 AM, Siddharth Agarwal >> wrote: >>> On 7/9/17 10:16 PM, Sean Farley wrote: Jun Wu writes: > hash-preserving obsstore, I've commented on this before but I will try to be as expl

Re: Next plans on radixlink and hash-preserving obsstore

2017-07-10 Thread Sean Farley
Martin von Zweigbergk writes: > On Mon, Jul 10, 2017 at 10:26 AM, Siddharth Agarwal > wrote: >> On 7/9/17 10:16 PM, Sean Farley wrote: >>> >>> Jun Wu writes: >>> hash-preserving obsstore, >>> >>> I've commented on this before but I will try to be as explicit as >>> possible here. >>> >>>

Re: Next plans on radixlink and hash-preserving obsstore

2017-07-10 Thread Sean Farley
Siddharth Agarwal writes: > On 7/9/17 10:16 PM, Sean Farley wrote: >> Jun Wu writes: >> >>> hash-preserving obsstore, >> I've commented on this before but I will try to be as explicit as >> possible here. >> >> I do not want to think about hash-preserving obsstore right now. > > I'm speaking fr

[PATCH V2] revset: define successors revset

2017-07-10 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1499709400 25200 # Mon Jul 10 10:56:40 2017 -0700 # Node ID c839dcefb603c31236e6ed2c3d94fedfe4729d33 # Parent 1e872b08a4e93b21e60cba695e4022bf71d4acf4 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull https://bitbucket.or

Re: Next plans on radixlink and hash-preserving obsstore

2017-07-10 Thread Martin von Zweigbergk via Mercurial-devel
On Mon, Jul 10, 2017 at 10:26 AM, Siddharth Agarwal wrote: > On 7/9/17 10:16 PM, Sean Farley wrote: >> >> Jun Wu writes: >> >>> hash-preserving obsstore, >> >> I've commented on this before but I will try to be as explicit as >> possible here. >> >> I do not want to think about hash-preserving o

[PATCH 2 of 4] match: express anypats(), not prefix(), in terms of the others

2017-07-10 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1499644929 25200 # Sun Jul 09 17:02:09 2017 -0700 # Node ID 25d89317826e99474cde4b97899903191ef1ba27 # Parent 0ce91c7d311a808b253c3b4d406e137168c95130 match: express anypats(), not prefix(), in terms of the others When I added prefix(

[PATCH 3 of 4] match: inverse _anypats(), making it _prefix()

2017-07-10 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1499665323 25200 # Sun Jul 09 22:42:03 2017 -0700 # Node ID b90074c6fa4739ae6b817d853ebcffd931671933 # Parent 25d89317826e99474cde4b97899903191ef1ba27 match: inverse _anypats(), making it _prefix() diff --git a/mercurial/match.py b/me

[PATCH 4 of 4] match: override matchfn instead of __call__ for consistency

2017-07-10 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1499442912 25200 # Fri Jul 07 08:55:12 2017 -0700 # Node ID 34caff173340d2b9a19762e94edf1d96db439382 # Parent b90074c6fa4739ae6b817d853ebcffd931671933 match: override matchfn instead of __call__ for consistency The matchers that were

[PATCH 1 of 4] match: make nevermatcher an exact matcher and a prefix matcher

2017-07-10 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1499638767 25200 # Sun Jul 09 15:19:27 2017 -0700 # Node ID 0ce91c7d311a808b253c3b4d406e137168c95130 # Parent 062c1bde178118b7c4d5abb1ead16ac8ad494280 match: make nevermatcher an exact matcher and a prefix matcher The m.isexact() and

Re: Next plans on radixlink and hash-preserving obsstore

2017-07-10 Thread Siddharth Agarwal
On 7/9/17 10:16 PM, Sean Farley wrote: Jun Wu writes: hash-preserving obsstore, I've commented on this before but I will try to be as explicit as possible here. I do not want to think about hash-preserving obsstore right now. I'm speaking from the point of view of someone who uses obsolete

Re: Next plans on radixlink and hash-preserving obsstore

2017-07-10 Thread Siddharth Agarwal
On 7/9/17 10:16 PM, Sean Farley wrote: Jun Wu writes: hash-preserving obsstore, I've commented on this before but I will try to be as explicit as possible here. I do not want to think about hash-preserving obsstore right now. I'm speaking from the point of view of someone who uses obsolete

[PATCH] convert: transcode CVS log messages by specified encoding (issue5597)

2017-07-10 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1499706604 -32400 # Tue Jul 11 02:10:04 2017 +0900 # Node ID c1aac882b992fef618d60e324aa2537f0634892d # Parent ccb3e5399921db16e95e7429cc2fb9ef82ee846e convert: transcode CVS log messages by specified encoding (issue5597) Converting from

Re: [PATCH] revset: define successors revset

2017-07-10 Thread Jun Wu
Excerpts from Yuya Nishihara's message of 2017-07-10 21:59:46 +0900: > If we'll eventually add a depth parameter, I think successors(set) should > include the given set itself for consistency with ancesotrs()/descendants(). Good point. I was not very comfortable with "- s" here and removing it sho

Re: [PATCH 11 of 11 sparse] dirstate: integrate sparse matcher with _ignore (API)

2017-07-10 Thread Martin von Zweigbergk via Mercurial-devel
(For Durham) On Sat, Jul 8, 2017 at 4:29 PM, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1499555309 25200 > # Sat Jul 08 16:08:29 2017 -0700 > # Node ID 94f98bc84936defadb959e31012555dba170d8cd > # Parent a2867557f9c2314aeea19a946dfb8e167def4fb8 > dirstate:

Re: [PATCH 01 of 14] cache: introduce an abstract class for cache we can upgrade incrementally

2017-07-10 Thread Jun Wu
Excerpts from Boris Feld's message of 2017-07-10 15:22:19 +0200: > Jun, could you take a look at the 7 first changesets and give us your > feedback about the obsstoresourcebase class, is it helpful for your > work on radixlink? I think it's over complicated for my usecase. With the obsstore format

Re: [PATCH 3 of 3] match: also optimize "path:." to use alwaysmatcher

2017-07-10 Thread Martin von Zweigbergk via Mercurial-devel
On Mon, Jul 10, 2017 at 7:13 AM, Yuya Nishihara wrote: > On Sun, 09 Jul 2017 23:44:43 -0700, Martin von Zweigbergk via Mercurial-devel > wrote: >> # HG changeset patch >> # User Martin von Zweigbergk >> # Date 1499667389 25200 >> # Sun Jul 09 23:16:29 2017 -0700 >> # Node ID 42df87114da18c9

Re: [PATCH 5 of 8] archival: flag missing files as a dirty wdir() in the metadata file (BC)

2017-07-10 Thread Yuya Nishihara
On Sun, 09 Jul 2017 19:34:53 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1499582763 14400 > # Sun Jul 09 02:46:03 2017 -0400 > # Node ID 81a3a3e44a191cfea66e25d472d65cce6cf2020d > # Parent 3026ee006b20cf266d90181edbc9e2061cce8f92 > archival: flag missin

Re: [PATCH 4 of 8] cmdutil: simplify the dirty check in howtocontinue()

2017-07-10 Thread Yuya Nishihara
On Sun, 09 Jul 2017 19:34:52 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1499575996 14400 > # Sun Jul 09 00:53:16 2017 -0400 > # Node ID 3026ee006b20cf266d90181edbc9e2061cce8f92 > # Parent fca94a77d9cac7b60a4b152fcb42ddb4dd1a > cmdutil: simplify the

Re: [PATCH 8 of 8] test-subrepo: demonstrate a status problem when merge deletes a file

2017-07-10 Thread Yuya Nishihara
On Sun, 09 Jul 2017 19:34:56 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1499632684 14400 > # Sun Jul 09 16:38:04 2017 -0400 > # Node ID 3ecc0fb587347c91f730eecf261ec707d91e367a > # Parent 52be0dbe23036b919defce0c417175ab615a05b2 > test-subrepo: demonst

[PATCH 2 of 6 V2] journal: execute setup procedures for already instantiated dirstate

2017-07-10 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1499695791 -32400 # Mon Jul 10 23:09:51 2017 +0900 # Node ID 7ae6b72cb5da75670c00b00fe096cec22e0de731 # Parent d5ba581532af80641a881860c1dc718773892a40 journal: execute setup procedures for already instantiated dirstate If dirstate is in

[PATCH 6 of 6 V2] fsmonitor: execute setup procedures only if dirstate is already instantiated

2017-07-10 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1499695792 -32400 # Mon Jul 10 23:09:52 2017 +0900 # Node ID f0f0d10b0692825a8d996d73180d58843391da63 # Parent e7c8ebd3c341070ec069f0e5cc03cd0641f125c9 fsmonitor: execute setup procedures only if dirstate is already instantiated Before t

[PATCH 5 of 6 V2] fsmonitor: centralize setup procedures for dirstate

2017-07-10 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1499695792 -32400 # Mon Jul 10 23:09:52 2017 +0900 # Node ID e7c8ebd3c341070ec069f0e5cc03cd0641f125c9 # Parent 65cdc2a0e356d131cd6675316adbb9d4b9a06845 fsmonitor: centralize setup procedures for dirstate diff --git a/hgext/fsmonitor/__in

[PATCH 3 of 6 V2] journal: use wrapfilecache instead of wrapfunction on func of filecache

2017-07-10 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1499695791 -32400 # Mon Jul 10 23:09:51 2017 +0900 # Node ID 826ccec0e5c33bedeb95f6f60b397e3565b209ec # Parent 7ae6b72cb5da75670c00b00fe096cec22e0de731 journal: use wrapfilecache instead of wrapfunction on func of filecache wrapfilecache

[PATCH 4 of 6 V2] fsmonitor: avoid needless instantiation of dirstate

2017-07-10 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1499695792 -32400 # Mon Jul 10 23:09:52 2017 +0900 # Node ID 65cdc2a0e356d131cd6675316adbb9d4b9a06845 # Parent 826ccec0e5c33bedeb95f6f60b397e3565b209ec fsmonitor: avoid needless instantiation of dirstate Using repo.local() instead of uti

[PATCH 1 of 6 V2] localrepo: add isfilecached to check filecache-ed property is already cached

2017-07-10 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1499695791 -32400 # Mon Jul 10 23:09:51 2017 +0900 # Node ID d5ba581532af80641a881860c1dc718773892a40 # Parent ccb3e5399921db16e95e7429cc2fb9ef82ee846e localrepo: add isfilecached to check filecache-ed property is already cached isfileca

Re: [PATCH 3 of 3] match: also optimize "path:." to use alwaysmatcher

2017-07-10 Thread Yuya Nishihara
On Sun, 09 Jul 2017 23:44:43 -0700, Martin von Zweigbergk via Mercurial-devel wrote: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1499667389 25200 > # Sun Jul 09 23:16:29 2017 -0700 > # Node ID 42df87114da18c9fcd52bcee2f7ab42e3ce76f63 > # Parent 3d7c440a43018d9a4b8c181131d

Re: [PATCH 1 of 3] match: remove unnecessary '^' from regexes

2017-07-10 Thread Yuya Nishihara
On Sun, 09 Jul 2017 23:44:41 -0700, Martin von Zweigbergk via Mercurial-devel wrote: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1499665982 25200 > # Sun Jul 09 22:53:02 2017 -0700 > # Node ID 47e360b2290a0a03ff789cdba96af6fcd4292ae0 > # Parent ccb3e5399921db16e95e7429cc2

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

2017-07-10 Thread Yuya Nishihara
On Sun, 09 Jul 2017 23:45:25 +0200, Rishabh Madan wrote: > # HG changeset patch > # User Rishabh Madan > # Date 1499636627 -7200 > # Sun Jul 09 23:43:47 2017 +0200 > # Node ID c83144b6b48a2374a37114336e58974546e915e3 > # Parent 43c97ccdfd39cfa447100b54e923d1d3d753476b > releasenotes: add sim

Re: [PATCH v3] releasenotes: add custom admonitions support for release notes

2017-07-10 Thread Yuya Nishihara
On Sun, 09 Jul 2017 19:04:33 +0200, Rishabh Madan wrote: > # HG changeset patch > # User Rishabh Madan > # Date 1499619850 -7200 > # Sun Jul 09 19:04:10 2017 +0200 > # Node ID 5f22d3d43d36d46cea98c86b2a49eee2d323fd9e > # Parent 4672db164c986da4442bd864cd044512d975c3f2 > releasenotes: add cus

Re: [PATCH 01 of 14] cache: introduce an abstract class for cache we can upgrade incrementally

2017-07-10 Thread Boris Feld
On Sun, 2017-07-09 at 13:32 -0700, Gregory Szorc wrote: > On Sun, Jul 9, 2017 at 10:52 AM, Boris Feld > wrote: > > # HG changeset patch > > # User Boris Feld > > # Date 1499458441 -7200 > > #      Fri Jul 07 22:14:01 2017 +0200 > > # Node ID 6edb62505c697329de034c2fdc47befd5896f31f > > # Parent 

Re: [PATCH] revset: define successors revset

2017-07-10 Thread Yuya Nishihara
On Sat, 8 Jul 2017 18:24:09 -0700, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1499563232 25200 > # Sat Jul 08 18:20:32 2017 -0700 > # Node ID 94977b4b9787d8709bc3ef7e4ae5ae5410961e5a > # Parent 4672db164c986da4442bd864cd044512d975c3f2 > # Available At https://bitbucket.org