Re: Auto-formatting with yapf (was: Re: Auto-formatting code with black - object now if you have a strong opinion)

2019-01-11 Thread Yuya Nishihara
On Wed, 9 Jan 2019 15:30:19 -0500, Augie Fackler wrote: > > > > On Dec 6, 2018, at 23:21, Matt Harbison wrote: > > > > On Wed, 05 Dec 2018 08:23:17 -0500, Yuya Nishihara wrote: > > > >> On Tue, 4 Dec 2018 10:06:24 -0500, Augie Fackler wrote: > >>> > >>> So, options to move forward: > >>> 1)

Re: [PATCH 2 of 2 V2] extdiff: add --mode option

2019-01-11 Thread Yuya Nishihara
On Thu, 10 Jan 2019 21:37:21 -0800, Ludovic Chabant wrote: > # HG changeset patch > # User Ludovic Chabant > # Date 1547180577 28800 > # Thu Jan 10 20:22:57 2019 -0800 > # Node ID dfda7867497e5609a03727508dc0da2cab3218a3 > # Parent ef0e2f7224358c32b0f62b13e83e89ba2399c8cf > extdiff: add

Re: [PATCH 1 of 2 V2] extdiff: move external tool command line building into separate function

2019-01-11 Thread Yuya Nishihara
On Thu, 10 Jan 2019 21:37:20 -0800, Ludovic Chabant wrote: > # HG changeset patch > # User Ludovic Chabant > # Date 1547180523 28800 > # Thu Jan 10 20:22:03 2019 -0800 > # Node ID ef0e2f7224358c32b0f62b13e83e89ba2399c8cf > # Parent e546c124217485f54b897d050a9573fc4ab97ab7 > extdiff: move

Re: [PATCH 5 of 8] revset: extract parsing logic out of formatspec

2019-01-11 Thread Yuya Nishihara
On Fri, 11 Jan 2019 12:29:07 +0100, Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1546565344 -3600 > # Fri Jan 04 02:29:04 2019 +0100 > # Node ID d360e33ec21c012b8990dfb1148b4fd52f0ece31 > # Parent 38733dd8559578267617514a42f253efabb6 > # EXP-Topic

Re: [PATCH 8 of 8] revset: introduce an API that avoids `formatspec` input serialization

2019-01-11 Thread Yuya Nishihara
On Fri, 11 Jan 2019 12:29:10 +0100, Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1546605681 -3600 > # Fri Jan 04 13:41:21 2019 +0100 > # Node ID 73926c4ab24d6c01723ed050601b134bdc89562f > # Parent 4a56fbdacff33c3985bbb84f2e19ddfbd48ed4fa > # EXP-Topic

Re: [PATCH 7 of 8] revset: detect integer list on parsing

2019-01-11 Thread Yuya Nishihara
On Fri, 11 Jan 2019 12:29:09 +0100, Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1546575973 -3600 > # Fri Jan 04 05:26:13 2019 +0100 > # Node ID 4a56fbdacff33c3985bbb84f2e19ddfbd48ed4fa > # Parent 438ea9b8a44c181d62741338c1d16b2031fdda41 > # EXP-Topic

Re: [PATCH 4 of 8] revset: enforce "%d" to be interpreted as literal revision number (API)

2019-01-11 Thread Yuya Nishihara
On Fri, 11 Jan 2019 12:29:06 +0100, Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1547130238 -3600 > # Thu Jan 10 15:23:58 2019 +0100 > # Node ID 38733dd8559578267617514a42f253efabb6 > # Parent 427247e84e29c144321d21a825d371458b5d3e1a > # EXP-Topic

Re: [PATCH 2 of 8] revset: remove a rare usage of "%d" for a non-revision item

2019-01-11 Thread Yuya Nishihara
On Fri, 11 Jan 2019 12:29:04 +0100, Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1547132233 -3600 > # Thu Jan 10 15:57:13 2019 +0100 > # Node ID a71dd521a4a53b19e89f9ad9c20fb85e604783c6 > # Parent 348c85f511e3afa0a38943581790cd5dae308d21 > # EXP-Topic

Re: [PATCH 1 of 8] test: explicit a rebase source in test-rebase-collapse.t

2019-01-11 Thread Yuya Nishihara
On Fri, 11 Jan 2019 12:29:03 +0100, Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1547131333 -3600 > # Thu Jan 10 15:42:13 2019 +0100 > # Node ID 348c85f511e3afa0a38943581790cd5dae308d21 > # Parent 963462786f6e028563bcedc9008622e0f3b59c86 > # EXP-Topic

Re: [PATCH] update: fix edge-case with update.atomic-file and read-only files

2019-01-11 Thread Yuya Nishihara
> self._tempname = mktempcopy(name, emptyok=('w' in mode), > createmode=createmode) > + > +# If we are gonna write on the tempfile, we need to make sure we have > +# the permission to do so > +if 'w' in mode and

mercurial@41182: 36 new changesets

2019-01-11 Thread Mercurial Commits
36 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/eb172f9c208c changeset: 41147:eb172f9c208c parent: 41145:963462786f6e user:Pulkit Goyal date:Mon Dec 24 15:01:47 2018 +0300 summary: tests: add tests for narrow clone when both sparse and narrow

D5480: tests: show that debugrebuilddirstate is broken with narrow+sparse

2019-01-11 Thread yuja (Yuya Nishihara)
yuja added a comment. > + $ hg debugrebuilddirstate > + ** unknown exception encountered, please report by visiting > + ** https://mercurial-scm.org/wiki/BugTracker > + ** Python 2.7.12 (default, Nov 12 2018, 14:36:49) [GCC 5.4.0 20160609] > + ** Mercurial Distributed SCM

D5532: context: schedule file prefetch before comparing for cleanliness

2019-01-11 Thread yuja (Yuya Nishihara)
yuja added a comment. > +scmutil.prefetchfiles( > +self.repo(), [self.p1().rev()], > +matchmod.match('', '', patterns=self._cache.keys(), exact=True)) Perhaps `scmutil.matchfiles()` can be used instead of the low-level constructor. REPOSITORY rHG

Re: D5480: tests: show that debugrebuilddirstate is broken with narrow+sparse

2019-01-11 Thread Yuya Nishihara
> + $ hg debugrebuilddirstate > + ** unknown exception encountered, please report by visiting > + ** https://mercurial-scm.org/wiki/BugTracker > + ** Python 2.7.12 (default, Nov 12 2018, 14:36:49) [GCC 5.4.0 20160609] > + ** Mercurial Distributed SCM (version 4.8.1+588-479a5ea51ccc+20181224)

Re: D5532: context: schedule file prefetch before comparing for cleanliness

2019-01-11 Thread Yuya Nishihara
> +scmutil.prefetchfiles( > +self.repo(), [self.p1().rev()], > +matchmod.match('', '', patterns=self._cache.keys(), exact=True)) Perhaps `scmutil.matchfiles()` can be used instead of the low-level constructor. ___

D5576: remotefilelog: fix {file_copies} template keyword

2019-01-11 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG2338eab5f8b7: remotefilelog: fix {file_copies} template keyword (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5574: tags: join string that's unnecessarily split across lines

2019-01-11 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG4c5864dad8b0: tags: join string thats unnecessarily split across lines (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5573: dispatch: add newline after ui.log "ui blocked ms" message

2019-01-11 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGdd97354b8891: dispatch: add newline after ui.log ui blocked ms message (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5575: tests: demonstrate broken {file_copies} template with remotefilelog

2019-01-11 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG93c2beb9047f: tests: demonstrate broken {file_copies} template with remotefilelog (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5495: revset: add "branch" positional arguments to the merge revset

2019-01-11 Thread yuja (Yuya Nishihara)
yuja added a comment. > This would not make it possible to select multiple "merged with" branches by doing: hg log -r "merge(feature1, feature2)" > Instead I guess you are proposing that for that use case we force the user to do: hg log -r "merge('re:(feature1|feature2)') > >

Re: D5495: revset: add "branch" positional arguments to the merge revset

2019-01-11 Thread Yuya Nishihara
> This would not make it possible to select multiple "merged with" branches > by doing: hg log -r "merge(feature1, feature2)" > Instead I guess you are proposing that for that use case we force the user > to do: hg log -r "merge('re:(feature1|feature2)') > > Did I understand you

Re: [PATCH] contrib: update window title when possible in perf-revlog-write-plot.py

2019-01-11 Thread Yuya Nishihara
On Fri, 11 Jan 2019 11:57:36 +0100, Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1546550008 -3600 > # Thu Jan 03 22:13:28 2019 +0100 > # Node ID a155939fbbe9e587b80e5a1a3856903efbb6b6ad > # Parent 963462786f6e028563bcedc9008622e0f3b59c86 > # EXP-Topic sparse-plot >

D5576: remotefilelog: fix {file_copies} template keyword

2019-01-11 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY remotefilelog overrides templatekw.getrenamedfn(). I changed the return type of that function in

D5575: tests: demonstrate broken {file_copies} template with remotefilelog

2019-01-11 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5575 AFFECTED FILES tests/test-remotefilelog-log.t CHANGE DETAILS diff --git

D5565: revlog: add version 2 format flag to control sparse

2019-01-11 Thread indygreg (Gregory Szorc)
indygreg planned changes to this revision. indygreg added a comment. In https://phab.mercurial-scm.org/D5565#82224, @lothiraldan wrote: > Why have a flag for revlog v2 at all? Since v2 have not been "released" > yet, why not use sparse-revlog logic in all case when using revlog v2?

D5495: revset: add "branch" positional arguments to the merge revset

2019-01-11 Thread angel.ezquerra (Angel Ezquerra)
angel.ezquerra added a comment. In https://phab.mercurial-scm.org/D5495#82036, @yuja wrote: > > I think it would be a good idea to make the "branch" arguments more flexible. One option could be to use a stringmatcher to add support for regular expressions as you suggest. I can look

D5574: tags: join string that's unnecessarily split across lines

2019-01-11 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5574 AFFECTED FILES mercurial/tags.py CHANGE DETAILS diff --git a/mercurial/tags.py

D5573: dispatch: add newline after ui.log "ui blocked ms" message

2019-01-11 Thread martinvonz (Martin von Zweigbergk)
martinvonz created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5573 AFFECTED FILES mercurial/dispatch.py CHANGE DETAILS diff --git a/mercurial/dispatch.py

D5572: histedit: add newline after ui.log "# acttions to histedit" message

2019-01-11 Thread spectral (Kyle Lippincott)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG99125b7fb93e: histedit: add newline after ui.log # acttions to histedit message (authored by spectral, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5572: histedit: add newline after ui.log "# acttions to histedit" message

2019-01-11 Thread spectral (Kyle Lippincott)
spectral created this revision. Herald added a reviewer: durin42. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5572 AFFECTED FILES hgext/histedit.py CHANGE DETAILS diff --git

Re: [PATCH] extdiff: add --mode option

2019-01-11 Thread Ludovic Chabant
> First, can you break this into a series of a few patches? As you might have seen, I sent the change split in 2 patches to the mailing list. I didn't change anything else yet, so we can keep discussing the CLI on the new patch. Thanks! -- l u d o . . 8 0 17 80

Re: [PATCH] update: fix edge-case with update.atomic-file and read-only files

2019-01-11 Thread Martin von Zweigbergk via Mercurial-devel
On Fri, Jan 11, 2019 at 7:26 AM Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1547128621 -3600 > # Thu Jan 10 14:57:01 2019 +0100 > # Node ID 9d5ed4b088da0ece901b80c0fa40177cc6eaf676 > # Parent 963462786f6e028563bcedc9008622e0f3b59c86 > # EXP-Topic

[Bug 6053] New: evolve can fall into unrecoverable state

2019-01-11 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6053 Bug ID: 6053 Summary: evolve can fall into unrecoverable state Product: Mercurial Version: 4.8.1 Hardware: PC OS: Linux Status: UNCONFIRMED Severity:

[PATCH] update: fix edge-case with update.atomic-file and read-only files

2019-01-11 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1547128621 -3600 # Thu Jan 10 14:57:01 2019 +0100 # Node ID 9d5ed4b088da0ece901b80c0fa40177cc6eaf676 # Parent 963462786f6e028563bcedc9008622e0f3b59c86 # EXP-Topic atomic-update-read-only # Available At

D5490: commit: remove ignore whitespace option on --interactive (issue6042)

2019-01-11 Thread navaneeth.suresh (Navaneeth Suresh)
navaneeth.suresh added a comment. > Sorry for late, but doesn't it break `hg record --ignore-all-space`, etc.? Yes. Exactly! Thanks for pointing that out. > It was intentionally added by https://phab.mercurial-scm.org/rHG3f1dccea9510c122cf9ab0e7a5a19ceed3600a7f (with no tests.)

D5490: commit: remove ignore whitespace option on --interactive (issue6042)

2019-01-11 Thread navaneeth.suresh (Navaneeth Suresh)
navaneeth.suresh updated this revision to Diff 13177. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5490?vs=13166=13177 REVISION DETAIL https://phab.mercurial-scm.org/D5490 AFFECTED FILES hgext/record.py mercurial/cmdutil.py

Re: [PATCH 4 of 4] mmapindex: set default to 1MB

2019-01-11 Thread Yuya Nishihara
On Fri, 11 Jan 2019 09:59:49 +0100, Boris FELD wrote: > > On 11/01/2019 01:05, Gregory Szorc wrote: > > On Thu, Jan 10, 2019 at 9:03 AM Boris FELD > > wrote: > > > > On 08/01/2019 15:41, Yuya Nishihara wrote: > > > On Mon, 7 Jan 2019 09:45:32 +0100, Boris

Re: 4.9-rc0 coming up - prepare accordingly

2019-01-11 Thread Georges Racinet
Hi folksm On 1/10/19 6:11 PM, Boris FELD wrote: > > We have a few series about the performance of computation in discovery > (a refactoring, a %ld revset performance fix, some better written > revsets and some Rust code). > Yes, I can confirm that, I'm currently sitting on some Rust changesets

D5571: packaging: allow running packaging with custom uid+gid for CentOS

2019-01-11 Thread Mathias De Maré
Mathiasdm created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY rpmbuild in CentOS 7 has a bug causing rpmbuild to fail with "Bad owner/group" if spec or source files are owned by a different user:

D5570: hg-docker: fix Python 3.4 compatibility (for CentOS 7)

2019-01-11 Thread Mathias De Maré
Mathiasdm created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY I realize Mercurial is not targetting Python 3.4 compatibility, but without this change, it's not even possible to build it on CentOS 7 (and I assume the same

Re: D5550: rust-cpython: bindings for MissingAncestors

2019-01-11 Thread Georges Racinet
On 1/11/19 3:10 PM, yuja (Yuya Nishihara) wrote: > yuja added a comment. > > > Queued up to this patch, thanks. Great, thanks !    > > > +def __new__(_cls, index: PyObject, bases: PyObject) -> > PyResult { > > +let bases_vec: Vec = rev_pyiter_collect(py, )?; > > +

D5550: rust-cpython: bindings for MissingAncestors

2019-01-11 Thread gracinet (Georges Racinet)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG006c9ce486fa: rust-cpython: bindings for MissingAncestors (authored by gracinet, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5546: rust-cpython: rustdoc improvements

2019-01-11 Thread gracinet (Georges Racinet)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGdcf818267bc1: rust-cpython: rustdoc improvements (authored by gracinet, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5546?vs=13124=13170

D5549: rust-cpython: generalised conversion function

2019-01-11 Thread gracinet (Georges Racinet)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG3bf6979a1785: rust-cpython: generalised conversion function (authored by gracinet, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5548: rust-cpython: style consistency leftovers

2019-01-11 Thread gracinet (Georges Racinet)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1b4b94bac8a0: rust-cpython: style consistency leftovers (authored by gracinet, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5548?vs=13126=13172

D5547: rust-cpython: consistency in use of hg-core constructs

2019-01-11 Thread gracinet (Georges Racinet)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG5ac61ca58c3f: rust-cpython: consistency in use of hg-core constructs (authored by gracinet, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5551: rust-cpython: using MissingAncestors from Python code

2019-01-11 Thread yuja (Yuya Nishihara)
yuja added subscribers: lothiraldan, yuja. yuja added a comment. > +bases = self._common.bases > +if callable(bases): > +# This happens for Rust exported object, and we don't know > +# at the moment how to make an equivalent of property for them

Re: D5551: rust-cpython: using MissingAncestors from Python code

2019-01-11 Thread Yuya Nishihara
> +bases = self._common.bases > +if callable(bases): > +# This happens for Rust exported object, and we don't know > +# at the moment how to make an equivalent of property for them > +bases = bases() > + > # The presence of nullrev will

D5550: rust-cpython: bindings for MissingAncestors

2019-01-11 Thread yuja (Yuya Nishihara)
yuja added a comment. Queued up to this patch, thanks. > +def __new__(_cls, index: PyObject, bases: PyObject) -> PyResult { > +let bases_vec: Vec = rev_pyiter_collect(py, )?; > +let inner = CoreMissing::new(Index::new(py, index)?, bases_vec); We might want

Re: D5550: rust-cpython: bindings for MissingAncestors

2019-01-11 Thread Yuya Nishihara
Queued up to this patch, thanks. > +def __new__(_cls, index: PyObject, bases: PyObject) -> > PyResult { > +let bases_vec: Vec = rev_pyiter_collect(py, )?; > +let inner = CoreMissing::new(Index::new(py, index)?, bases_vec); We might want to directly build `HashSet` here if

D5568: tests: de-flake test-narrow-share.t by making dirstate predictable

2019-01-11 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG3227923979a1: tests: de-flake test-narrow-share.t by making dirstate predictable (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5555: py3: add a test to whitelist caught by buildbot

2019-01-11 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8d0d695fc791: py3: add a test to whitelist caught by buildbot (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5553: fuzz: stop building Python in the Makefile

2019-01-11 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGc01fac6749e5: fuzz: stop building Python in the Makefile (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5553?vs=13135=13169

D5490: commit: remove ignore whitespace option on --interactive (issue6042)

2019-01-11 Thread yuja (Yuya Nishihara)
yuja added a comment. > - diffopts = patch.difffeatureopts(ui, opts=opts, whitespace=True) + diffopts = patch.difffeatureopts(ui, opts=opts) Sorry for late, but doesn't it break `hg record --ignore-all-space`, etc.? It was intentionally added by

Re: D5490: commit: remove ignore whitespace option on --interactive (issue6042)

2019-01-11 Thread Yuya Nishihara
> -diffopts = patch.difffeatureopts(ui, opts=opts, whitespace=True) > +diffopts = patch.difffeatureopts(ui, opts=opts) Sorry for late, but doesn't it break `hg record --ignore-all-space`, etc.? It was intentionally added by 3f1dccea9510 (with no tests.)

Re: [PATCH 1 of 2] convert: add missing numcommits() override to hg sources

2019-01-11 Thread Yuya Nishihara
On Thu, 10 Jan 2019 18:01:31 -0500, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1547062386 18000 > # Wed Jan 09 14:33:06 2019 -0500 > # Branch stable > # Node ID 60e7f0c9b572f995b0d196f6b946001f148d576f > # Parent fbd5e2f0bba7661f6f09e6cfd2bc2ffd07559a41 >

[PATCH 8 of 8] revset: introduce an API that avoids `formatspec` input serialization

2019-01-11 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1546605681 -3600 # Fri Jan 04 13:41:21 2019 +0100 # Node ID 73926c4ab24d6c01723ed050601b134bdc89562f # Parent 4a56fbdacff33c3985bbb84f2e19ddfbd48ed4fa # EXP-Topic revs-efficiency # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 6 of 8] revert: extract "%ld" formatting in a _formatintlist function

2019-01-11 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1546575417 -3600 # Fri Jan 04 05:16:57 2019 +0100 # Node ID 438ea9b8a44c181d62741338c1d16b2031fdda41 # Parent d360e33ec21c012b8990dfb1148b4fd52f0ece31 # EXP-Topic revs-efficiency # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 7 of 8] revset: detect integer list on parsing

2019-01-11 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1546575973 -3600 # Fri Jan 04 05:26:13 2019 +0100 # Node ID 4a56fbdacff33c3985bbb84f2e19ddfbd48ed4fa # Parent 438ea9b8a44c181d62741338c1d16b2031fdda41 # EXP-Topic revs-efficiency # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 5 of 8] revset: extract parsing logic out of formatspec

2019-01-11 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1546565344 -3600 # Fri Jan 04 02:29:04 2019 +0100 # Node ID d360e33ec21c012b8990dfb1148b4fd52f0ece31 # Parent 38733dd8559578267617514a42f253efabb6 # EXP-Topic revs-efficiency # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 4 of 8] revset: enforce "%d" to be interpreted as literal revision number (API)

2019-01-11 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1547130238 -3600 # Thu Jan 10 15:23:58 2019 +0100 # Node ID 38733dd8559578267617514a42f253efabb6 # Parent 427247e84e29c144321d21a825d371458b5d3e1a # EXP-Topic revs-efficiency # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 3 of 8] revset: remove the last usage of "%d" for a non-revision entry

2019-01-11 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1547132587 -3600 # Thu Jan 10 16:03:07 2019 +0100 # Node ID 427247e84e29c144321d21a825d371458b5d3e1a # Parent a71dd521a4a53b19e89f9ad9c20fb85e604783c6 # EXP-Topic revs-efficiency # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 1 of 8] test: explicit a rebase source in test-rebase-collapse.t

2019-01-11 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1547131333 -3600 # Thu Jan 10 15:42:13 2019 +0100 # Node ID 348c85f511e3afa0a38943581790cd5dae308d21 # Parent 963462786f6e028563bcedc9008622e0f3b59c86 # EXP-Topic revs-efficiency # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH] contrib: update window title when possible in perf-revlog-write-plot.py

2019-01-11 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1546550008 -3600 # Thu Jan 03 22:13:28 2019 +0100 # Node ID a155939fbbe9e587b80e5a1a3856903efbb6b6ad # Parent 963462786f6e028563bcedc9008622e0f3b59c86 # EXP-Topic sparse-plot # Available At https://bitbucket.org/octobus/mercurial-devel/ #

D5565: revlog: add version 2 format flag to control sparse

2019-01-11 Thread lothiraldan (Boris Feld)
lothiraldan added a comment. > Revlog behavior should live as close to the revlog as possible. > In version 1 revlogs, we engaged sparse semantics by using a > repository requirement. This constituted action at a distance > and wasn't optimal. > > This commit introduces a feature

Re: [PATCH 4 of 4] mmapindex: set default to 1MB

2019-01-11 Thread Boris FELD
On 11/01/2019 01:05, Gregory Szorc wrote: > On Thu, Jan 10, 2019 at 9:03 AM Boris FELD > wrote: > > On 08/01/2019 15:41, Yuya Nishihara wrote: > > On Mon, 7 Jan 2019 09:45:32 +0100, Boris FELD wrote: > >> On 03/01/2019 09:58, Yuya Nishihara wrote: >