[PATCH V2] push: add --publish flag to change phase of pushed changesets

2018-11-20 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1540646003 -28800 # Sat Oct 27 21:13:23 2018 +0800 # Node ID 6426d56aef87e25a4926674dc611938e19f34eb9 # Parent 69268a13ffa576b71a693f9e208f3eda35e3a46e # EXP-Topic push-publish push: add --publish flag to change phase of pushed changesets

D5288: tests: make test-alias.t pass with re2

2018-11-20 Thread valentin.gatienbaron (Valentin Gatien-Baron)
valentin.gatienbaron added a comment. Thanks. FWIW, re2 options allow to choose an encoding which is latin1 or utf8 (https://github.com/google/re2/blob/master/re2/re2.h#L609). Presumably latin1 means that "." matches a byte, which would seem more compatible with re, but python bindings

[PATCH STABLE] tests: stabilize the recent checkexec changes on Windows

2018-11-20 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1542757639 18000 # Tue Nov 20 18:47:19 2018 -0500 # Branch stable # Node ID 25b7c4cb5de1593e16bbd7a7dafbd28baa743995 # Parent bd0874977a5e5921f7f8615f2eb96d267f641c2e tests: stabilize the recent checkexec changes on Windows This goes with

[PATCH evolve-ext] evolve: fix a documentation typo

2018-11-20 Thread Eric Spishak-Thomas via Mercurial-devel
# HG changeset patch # User Eric Spishak-Thomas # Date 1542731618 18000 # Tue Nov 20 11:33:38 2018 -0500 # Branch stable # Node ID 374bc8bd4f7c328ed7ad4e97c582f7db625b2bc0 # Parent b90422a11a887c6ff756c2a5622ea0a1e260ff4c evolve: fix a documentation typo diff --git

[PATCH 7 of 7 V4] sparse-revlog: put the native implementation of slicechunktodensity to use

2018-11-20 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1542276698 -3600 # Thu Nov 15 11:11:38 2018 +0100 # Node ID 615e41431535fe3a43bbe8cb7e0e3ed31a2e81a6 # Parent efd051e545675f17831caff694f7b695afe8dc42 # EXP-Topic sparse-perf # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 6 of 7 V4] cext: increment the `parsers` module version

2018-11-20 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1542276652 -3600 # Thu Nov 15 11:10:52 2018 +0100 # Node ID efd051e545675f17831caff694f7b695afe8dc42 # Parent e2a589e5b850e83bf095f677a217a23bea3c8e7e # EXP-Topic sparse-perf # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 5 of 7 V4] sparse-revlog: introduce native (C) implementation of slicechunktodensity

2018-11-20 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1542276598 -3600 # Thu Nov 15 11:09:58 2018 +0100 # Node ID e2a589e5b850e83bf095f677a217a23bea3c8e7e # Parent 7b040bdc7eda9183cc751aa396cf08e2db7b191e # EXP-Topic sparse-perf # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 4 of 7 V4] sparse-revlog: add a `trim_endidx` function in C

2018-11-20 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1541785523 -3600 # Fri Nov 09 18:45:23 2018 +0100 # Node ID 7b040bdc7eda9183cc751aa396cf08e2db7b191e # Parent 5bb00d137c14d311c91c7a4f32f58378cd9195ec # EXP-Topic sparse-perf # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 2 of 7 V4] sparse-revlog: add a `index_get_length` function in C

2018-11-20 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1541785378 -3600 # Fri Nov 09 18:42:58 2018 +0100 # Node ID 8863dc1f7d078827708d178bbbfee5519b4c9b0f # Parent 60a55da39befa4996c1a88ca6f663765ea143ef2 # EXP-Topic sparse-perf # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 3 of 7 V4] sparse-revlog: add a `index_segment_span` function in C

2018-11-20 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1541785396 -3600 # Fri Nov 09 18:43:16 2018 +0100 # Node ID 5bb00d137c14d311c91c7a4f32f58378cd9195ec # Parent 8863dc1f7d078827708d178bbbfee5519b4c9b0f # EXP-Topic sparse-perf # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 1 of 7 V4] sparse-revlog: add a `index_get_start` function in C

2018-11-20 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1542725358 0 # Tue Nov 20 14:49:18 2018 + # Node ID 60a55da39befa4996c1a88ca6f663765ea143ef2 # Parent 337a389953366f059f2cb88129031ba3e67e0bbc # EXP-Topic sparse-perf # Available At https://bitbucket.org/octobus/mercurial-devel/ #

Re: [PATCH 5 of 7 V3] sparse-revlog: introduce native (C) implementation of slicechunktodensity

2018-11-20 Thread Boris FELD
On 20/11/2018 12:59, Yuya Nishihara wrote: > On Mon, 19 Nov 2018 18:02:16 +0100, Boris FELD wrote: >> On 19/11/2018 13:54, Yuya Nishihara wrote: >>> On Mon, 19 Nov 2018 10:42:17 +0100, Boris Feld wrote: # HG changeset patch # User Boris Feld # Date 1542276598 -3600 # Thu

[PATCH 5 of 5] perf: disable revlogs clearing in `perftags` by default

2018-11-20 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1542735864 0 # Tue Nov 20 17:44:24 2018 + # Node ID 32bd83a430145e807bb4713d1938715a3963c68b # Parent 1799103c7a6fb140cdb7317c3e7b7cf93295edd0 # EXP-Topic perf-tags # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 4 of 5] perf: add a `clear-revlogs` flag to `perfbookmarks`

2018-11-20 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1542711320 0 # Tue Nov 20 10:55:20 2018 + # Node ID 1799103c7a6fb140cdb7317c3e7b7cf93295edd0 # Parent 1ad7353bec2584a53f2bb4fbca44310fa827f2d0 # EXP-Topic perf-tags # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 3 of 5] tags: cache `repo.changelog` access when checking tags nodes

2018-11-20 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1542710295 0 # Tue Nov 20 10:38:15 2018 + # Node ID 1ad7353bec2584a53f2bb4fbca44310fa827f2d0 # Parent 7760b12bd4fb467f4fb7e4d0d5094fc324f30f49 # EXP-Topic perf-tags # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 1 of 5] perf: move some of the perftags benchmark to the setup function

2018-11-20 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1542708625 0 # Tue Nov 20 10:10:25 2018 + # Node ID 4ea6bac93535a7b6f69df014f738a45104bab934 # Parent b56094b2c5263006b68997713825fa9647a7431c # EXP-Topic perf-tags # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 2 of 5] perf: add a `clear-revlogs` flag to `perftags`

2018-11-20 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1542710780 0 # Tue Nov 20 10:46:20 2018 + # Node ID 7760b12bd4fb467f4fb7e4d0d5094fc324f30f49 # Parent 4ea6bac93535a7b6f69df014f738a45104bab934 # EXP-Topic perf-tags # Available At https://bitbucket.org/octobus/mercurial-devel/ #

D5287: py3: use node.hex(m.digest()) instead of m.hexdigest()

2018-11-20 Thread pulkit (Pulkit Goyal)
pulkit added a comment. In https://phab.mercurial-scm.org/D5287#78759, @yuja wrote: > > diff --git a/hgext/remotefilelog/basepack.py b/hgext/remotefilelog/basepack.py > > > > - a/hgext/remotefilelog/basepack.py +++ b/hgext/remotefilelog/basepack.py @@ -10,6 +10,7 @@ > > > >

D5287: py3: use node.hex(m.digest()) instead of m.hexdigest()

2018-11-20 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 12574. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5287?vs=12563=12574 REVISION DETAIL https://phab.mercurial-scm.org/D5287 AFFECTED FILES hgext/fastannotate/context.py hgext/largefiles/lfcommands.py

D5064: style: run black on a subset of mercurial

2018-11-20 Thread mjpieters (Martijn Pieters)
mjpieters added a comment. In https://phab.mercurial-scm.org/D5064#78545, @av6 wrote: > I look at the changes and see nitpicks at best. On the one hand, black proved better than any linter that we can already write consistent code. On the other, if black were a linter... I'd switch to

D5290: branchmap: refactor for better encapsulation

2018-11-20 Thread mjpieters (Martijn Pieters)
mjpieters 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/D5290 AFFECTED FILES contrib/perf.py mercurial/branchmap.py mercurial/discovery.py

Re: [PATCH] push: add --publish flag to change phase of pushed changesets

2018-11-20 Thread Yuya Nishihara
On Mon, 19 Nov 2018 20:23:04 +0800, Anton Shestakov wrote: > # HG changeset patch > # User Anton Shestakov > # Date 1540646003 -28800 > # Sat Oct 27 21:13:23 2018 +0800 > # Node ID 0a301fe43764ea8dc5ea86c08f0693a831d1e36d > # Parent 69268a13ffa576b71a693f9e208f3eda35e3a46e > # EXP-Topic

D5289: context: remove seemingly impossible code branch

2018-11-20 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1423ff45c322: context: remove seemingly impossible code branch (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5283: tests: add Balto configuration file

2018-11-20 Thread lothiraldan (Boris Feld)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG337a38995336: tests: add Balto configuration file (authored by lothiraldan, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5283?vs=12559=12572

D5288: tests: make test-alias.t pass with re2

2018-11-20 Thread valentin.gatienbaron (Valentin Gatien-Baron)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG557d3509da55: tests: make test-alias.t pass with re2 (authored by valentin.gatienbaron, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5286: py3: use pycompat.byteskwargs() to covert keys of kwargs to bytes

2018-11-20 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd6a13f6db69c: py3: use pycompat.byteskwargs() to covert keys of kwargs to bytes (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5285: py3: use '%d' for integers instead of '%s'

2018-11-20 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGfeae4d1f5e01: py3: use %d for integers instead of %s (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5285?vs=12561=12568

D5284: py3: add 9 new passing tests caught by buildbot

2018-11-20 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG02318e0810ac: py3: add 9 new passing tests caught by buildbot (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5283: tests: add Balto configuration file

2018-11-20 Thread yuja (Yuya Nishihara)
yuja added a comment. I don't know if we'll love Balto, but just give it a try. Queued, thanks. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5283 To: lothiraldan, #hg-reviewers Cc: yuja, mercurial-devel ___

Re: D5283: tests: add Balto configuration file

2018-11-20 Thread Yuya Nishihara
I don't know if we'll love Balto, but just give it a try. Queued, thanks. ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

D5287: py3: use node.hex(m.digest()) instead of m.hexdigest()

2018-11-20 Thread yuja (Yuya Nishihara)
yuja added a comment. > diff --git a/hgext/remotefilelog/basepack.py b/hgext/remotefilelog/basepack.py > > - a/hgext/remotefilelog/basepack.py +++ b/hgext/remotefilelog/basepack.py @@ -10,6 +10,7 @@ > > from mercurial.i18n import _ from mercurial import ( +node,

Re: D5287: py3: use node.hex(m.digest()) instead of m.hexdigest()

2018-11-20 Thread Yuya Nishihara
> diff --git a/hgext/remotefilelog/basepack.py b/hgext/remotefilelog/basepack.py > --- a/hgext/remotefilelog/basepack.py > +++ b/hgext/remotefilelog/basepack.py > @@ -10,6 +10,7 @@ > > from mercurial.i18n import _ > from mercurial import ( > +node, hgext/remotefilelog/basepack.py:472:

D5288: tests: make test-alias.t pass with re2

2018-11-20 Thread yuja (Yuya Nishihara)
yuja added a comment. Queued, thanks. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5288 To: valentin.gatienbaron, #hg-reviewers Cc: yuja, mercurial-devel ___ Mercurial-devel mailing list

Re: D5288: tests: make test-alias.t pass with re2

2018-11-20 Thread Yuya Nishihara
Queued, thanks. On Mon, 19 Nov 2018 18:40:57 +, valentin.gatienbaron (Valentin Gatien-Baron) wrote: > > $ python -c 'import re; > print(re.compile("(.*)").match("aaa\xc0").groups())' > ('aaa\xc0',) > $ python -c 'import re2; >

Re: [PATCH 5 of 7 V3] sparse-revlog: introduce native (C) implementation of slicechunktodensity

2018-11-20 Thread Yuya Nishihara
On Mon, 19 Nov 2018 18:02:16 +0100, Boris FELD wrote: > On 19/11/2018 13:54, Yuya Nishihara wrote: > > On Mon, 19 Nov 2018 10:42:17 +0100, Boris Feld wrote: > >> # HG changeset patch > >> # User Boris Feld > >> # Date 1542276598 -3600 > >> # Thu Nov 15 11:09:58 2018 +0100 > >> # Node ID