[PATCH] setup: explain to distutils how we write rc versions

2018-10-31 Thread Paul Morelle
# HG changeset patch # User "Paul Morelle https://bitbucket.org/octobus/mercurial-devel/ # hg pull https://bitbucket.org/octobus/mercurial-devel/ -r 5f86fca43d2a setup: explain to distutils how we write rc versions When we use a rc version number (e.g. 4.8rc0), bdist_msi is

[PATCH 2 of 4] revlog: refactor out the rev-oriented part of commonancestorheads

2018-07-01 Thread Paul Morelle
# HG changeset patch # User Boris Feld # Date 1529621811 -3600 # Thu Jun 21 23:56:51 2018 +0100 # Node ID 494f5f95311e3b36a01cca745e52f536c3977a5c # Parent c6a8430582d584770c873a3b6234750482b9b65e # EXP-Topic descendant # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 4 of 4] revlog: reuse 'descendant' implemention in 'isancestor'

2018-07-01 Thread Paul Morelle
# HG changeset patch # User Boris Feld # Date 1529622442 -3600 # Fri Jun 22 00:07:22 2018 +0100 # Node ID 6bfe8fc36b4e20fcdf6cc49fe9ddb6e79bcf213f # Parent 5ea9c5d20ecc1aac2aecdd4c0902b3cd470b04d5 # EXP-Topic descendant # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 3 of 4] revlog: efficient implementation of 'descendant'

2018-07-01 Thread Paul Morelle
# HG changeset patch # User Boris Feld # Date 1529622320 -3600 # Fri Jun 22 00:05:20 2018 +0100 # Node ID 5ea9c5d20ecc1aac2aecdd4c0902b3cd470b04d5 # Parent 494f5f95311e3b36a01cca745e52f536c3977a5c # EXP-Topic descendant # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 1 of 4] revlog: do inclusive descendant testing (API)

2018-07-01 Thread Paul Morelle
# HG changeset patch # User Boris Feld # Date 1529621623 -3600 # Thu Jun 21 23:53:43 2018 +0100 # Node ID c6a8430582d584770c873a3b6234750482b9b65e # Parent a0e185f104541858a0b049e1fb67c4d113930a9a # EXP-Topic descendant # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH] debugdeltachain: avoid division by zero when a chain is empty

2018-06-29 Thread Paul Morelle
# HG changeset patch # User Paul Morelle # Date 1529597997 -7200 # Thu Jun 21 18:19:57 2018 +0200 # Node ID 9b9cb7abec13ed745c14c3a1357ee2c2dd55c4b5 # Parent 5d88fd1bc2af0af02129f0ad2b267d778349d95a # EXP-Topic debugdeltachain-divbyzero # Available At https://bitbucket.org/octobus/mercurial

Re: [PATCH 3 of 7] dispatch: rework the serve --stdio safe argument checks

2018-06-25 Thread Paul Morelle
On 22/06/18 13:15, Yuya Nishihara wrote: > On Thu, 21 Jun 2018 19:46:24 +0200, Paul Morelle wrote: >> On 21/06/18 13:53, Yuya Nishihara wrote: >>> On Wed, 20 Jun 2018 18:36:24 +0200, Paul Morelle wrote: >>>>> # HG changeset patch >>>> # User Boris Feld

Re: [PATCH 2 of 2] revlog: do inclusive descendant testing (API)

2018-06-25 Thread Paul Morelle
On 21/06/18 18:30, Martin von Zweigbergk wrote: > On Thu, Jun 21, 2018 at 7:24 AM Paul Morelle <mailto:paul.more...@octobus.net>> wrote: > > # HG changeset patch > # User Boris Feld <mailto:boris.f...@octobus.net>> > # Date 1529585081 -3600 >

Re: [PATCH 3 of 7] dispatch: rework the serve --stdio safe argument checks

2018-06-21 Thread Paul Morelle
On 21/06/18 13:53, Yuya Nishihara wrote: > On Wed, 20 Jun 2018 18:36:24 +0200, Paul Morelle wrote: >>> # HG changeset patch >> # User Boris Feld >> # Date 1529489906 -7200 >> # Wed Jun 20 12:18:26 2018 +0200 >> # Node ID 81edf3431b95d572

[PATCH 1 of 2] revlog: efficient implementation of 'descendant'

2018-06-21 Thread Paul Morelle
# HG changeset patch # User Boris Feld # Date 1529584327 -3600 # Thu Jun 21 13:32:07 2018 +0100 # Node ID 8d20b1b4b6a0297e7f9640d285b15a5d6647369e # Parent a0e185f104541858a0b049e1fb67c4d113930a9a # EXP-Topic descendant # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 2 of 2] revlog: do inclusive descendant testing (API)

2018-06-21 Thread Paul Morelle
# HG changeset patch # User Boris Feld # Date 1529585081 -3600 # Thu Jun 21 13:44:41 2018 +0100 # Node ID 59fea52e54e014722486f7c049e192fa505032d8 # Parent 8d20b1b4b6a0297e7f9640d285b15a5d6647369e # EXP-Topic descendant # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 6 of 7] remotedebug: allow to request --profile to the server

2018-06-20 Thread Paul Morelle
# HG changeset patch # User Boris Feld # Date 1529492441 -7200 # Wed Jun 20 13:00:41 2018 +0200 # Node ID f663c257cf788d3f3d00398dbf64d9b572536377 # Parent fd3f8738e2ca4308a8a8f9e21cc05bb97a7200db # EXP-Topic remote-debug # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 3 of 7] dispatch: rework the serve --stdio safe argument checks

2018-06-20 Thread Paul Morelle
# HG changeset patch # User Boris Feld # Date 1529489906 -7200 # Wed Jun 20 12:18:26 2018 +0200 # Node ID 81edf3431b95d57257c690f7fe125c6676a78e18 # Parent b7051e4bf783c844f705473a2396458acecc59dc # EXP-Topic remote-debug # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 7 of 7] remotedebug: allow to request --traceback from the remote server

2018-06-20 Thread Paul Morelle
# HG changeset patch # User Boris Feld # Date 1529494410 -7200 # Wed Jun 20 13:33:30 2018 +0200 # Node ID aa4b26d92e20d95323929a306b3d63c44ceb3d69 # Parent f663c257cf788d3f3d00398dbf64d9b572536377 # EXP-Topic remote-debug # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 1 of 7] configitem: reorder items in the 'server' section

2018-06-20 Thread Paul Morelle
# HG changeset patch # User Boris Feld # Date 1529425297 -7200 # Tue Jun 19 18:21:37 2018 +0200 # Node ID a7944f21dbfc9e912606b82dc1001e4640598600 # Parent a0e185f104541858a0b049e1fb67c4d113930a9a # EXP-Topic remote-debug # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 4 of 7] remotedebug: add the ability to request remote debug output

2018-06-20 Thread Paul Morelle
# HG changeset patch # User Boris Feld # Date 1529488678 -7200 # Wed Jun 20 11:57:58 2018 +0200 # Node ID 1130b3e74a6e618dfca6b1991c004a304091 # Parent 81edf3431b95d57257c690f7fe125c6676a78e18 # EXP-Topic remote-debug # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 2 of 7] dispatch: factor out the exception raised on unsafe `serve --stdio`

2018-06-20 Thread Paul Morelle
# HG changeset patch # User Boris Feld # Date 1529489808 -7200 # Wed Jun 20 12:16:48 2018 +0200 # Node ID b7051e4bf783c844f705473a2396458acecc59dc # Parent a7944f21dbfc9e912606b82dc1001e4640598600 # EXP-Topic remote-debug # Available At https://bitbucket.org/octobus/mercurial-devel/ #

[PATCH 5 of 7] remotedebug: introduce config to control who can use the debug capabilities

2018-06-20 Thread Paul Morelle
# HG changeset patch # User Boris Feld # Date 1529430801 -7200 # Tue Jun 19 19:53:21 2018 +0200 # Node ID fd3f8738e2ca4308a8a8f9e21cc05bb97a7200db # Parent 1130b3e74a6e618dfca6b1991c004a304091 # EXP-Topic remote-debug # Available At https://bitbucket.org/octobus/mercurial-devel/ #

Re: [PATCH 1 of 6] revlog: in _getcandidaterevs, shorten revlog._generaldelta to gdelta

2018-05-22 Thread Paul Morelle
On 22/05/18 01:12, Gregory Szorc wrote: > On Mon, May 21, 2018 at 2:47 PM, Paul Morelle > <paul.more...@octobus.net <mailto:paul.more...@octobus.net>> wrote: > > # HG changeset patch > # User Paul Morelle <paul.more...@octobus.net > <mailto:pau

[PATCH 2 of 2 V2] revlog: make chainbase cache its result for the correct revision

2018-05-22 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1524324477 -7200 # Sat Apr 21 17:27:57 2018 +0200 # Node ID 787f2b0636c6d6f44235dcd8436f6d8fc5f1a6cb # Parent c0ac96176ebefaf19cd2d368281c180c575c31f2 # EXP-Topic semi-snapshots # Available At https://bitbuck

[PATCH 1 of 2 V2] revlog: make getcandidaterevs more consistent about updating tested revs set

2018-05-22 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1520417422 -3600 # Wed Mar 07 11:10:22 2018 +0100 # Node ID c0ac96176ebefaf19cd2d368281c180c575c31f2 # Parent 90e02bd8c4473fec03639f26f3d1b2d30d9861d3 # EXP-Topic semi-snapshots # Available At https://bitbuck

[PATCH 3 of 6] revlog: make variable name 'd' more explicit in _isgooddeltainfo

2018-05-21 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1520420407 -3600 # Wed Mar 07 12:00:07 2018 +0100 # Node ID d9a8f10cfaa662c5dc6f64e2726da7d763e7e717 # Parent 3eb11b8fe014f5698a3c857ee670a7892f06fc56 # EXP-Topic semi-snapshots # Available At https://bitbuck

[PATCH 2 of 6] debugdeltachain: r.start and r.length can be retrieved outside the loop

2018-05-21 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1524117426 -7200 # Thu Apr 19 07:57:06 2018 +0200 # Node ID 3eb11b8fe014f5698a3c857ee670a7892f06fc56 # Parent 054469518b3480201e7f8ada16957027009e9f64 # EXP-Topic semi-snapshots # Available At https://bitbuck

[PATCH 5 of 6] revlog: make getcandidaterevs more consistent about updating tested revs set

2018-05-21 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1520417422 -3600 # Wed Mar 07 11:10:22 2018 +0100 # Node ID fbb85c011ea4c6ba474dbe616f63543cffb5f909 # Parent 3270177368354d88aba86d5b00b96b7fecadd65b # EXP-Topic semi-snapshots # Available At https://bitbuck

[PATCH 6 of 6] revlog: make chainbase cache its result for the correct revision

2018-05-21 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1524324477 -7200 # Sat Apr 21 17:27:57 2018 +0200 # Node ID f7f55d6f2966181f243d69b1afa598c12f6c4220 # Parent fbb85c011ea4c6ba474dbe616f63543cffb5f909 # EXP-Topic semi-snapshots # Available At https://bitbuck

[PATCH 4 of 6] revlog: isgooddeltainfo takes the whole revinfo object

2018-05-21 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1520420458 -3600 # Wed Mar 07 12:00:58 2018 +0100 # Node ID 3270177368354d88aba86d5b00b96b7fecadd65b # Parent d9a8f10cfaa662c5dc6f64e2726da7d763e7e717 # EXP-Topic semi-snapshots # Available At https://bitbuck

[PATCH 1 of 6] revlog: in _getcandidaterevs, shorten revlog._generaldelta to gdelta

2018-05-21 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1525438855 -7200 # Fri May 04 15:00:55 2018 +0200 # Node ID 054469518b3480201e7f8ada16957027009e9f64 # Parent 514605777244de61b68c7e1503c4f106773913f4 # EXP-Topic semi-snapshots # Available At https://bitbuck

[PATCH] revlog: for a delta, when a parent was refused, suggest other parent (issue5481)

2018-05-14 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1526295914 -7200 # Mon May 14 13:05:14 2018 +0200 # Node ID 7f059b2d62b30e1fd7ca86d00819395178c6a50b # Parent 8ba0344f9fb145f5b9b909f1211defc9e0793f68 # EXP-Topic fallback-to-other-parent # Available At

[PATCH V2] revlog: suggest other parent when a parent was refused for a delta (issue5481)

2018-05-14 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1526295914 -7200 # Mon May 14 13:05:14 2018 +0200 # Node ID 12fd4a2e154a679a601b8facbb5f15956d427e9e # Parent 8ba0344f9fb145f5b9b909f1211defc9e0793f68 # EXP-Topic fallback-to-other-parent # Available At

[PATCH 2 of 2 V2] revlog: group delta computation methods under _deltacomputer object

2018-01-19 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1515961692 -3600 # Sun Jan 14 21:28:12 2018 +0100 # Node ID 82018742fcabfd0e26aa6f34bf773b6f25d27985 # Parent 32bc4595737c2211dfcbf53cb499a366b9986dfd # EXP-Topic refactor-revlog # Available At https://bitbuck

[PATCH 1 of 2 V2] revlog: refactor out _finddeltainfo from _addrevision

2018-01-19 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1515936982 -3600 # Sun Jan 14 14:36:22 2018 +0100 # Node ID 32bc4595737c2211dfcbf53cb499a366b9986dfd # Parent 45b678bf3a787085d56fad5bee494e0c160aa120 # EXP-Topic refactor-revlog # Available At https://bitbuck

[PATCH] debugdeltachain: cleanup the double call to _slicechunk

2018-01-18 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1516347322 -3600 # Fri Jan 19 08:35:22 2018 +0100 # Node ID ce3b9d44cbf7de6fa0faad42442797cee9b337c8 # Parent 45b678bf3a787085d56fad5bee494e0c160aa120 # EXP-Topic debug-sparse-read # Available At https://bitbuck

[PATCH V2] debugdeltachain: display how many chunks would be read in sparse-read mode

2018-01-17 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1508157126 -7200 # Mon Oct 16 14:32:06 2017 +0200 # Node ID 77d4c2b07d6be9219a127fc00b333dca9f65b45f # Parent 821d8a5ab4ff890a7732c2e4cdcc7f32191e5942 # EXP-Topic debug-sparse-read # Available At https://bitbuck

[PATCH] debugdeltachain: display how many chunks would be read in sparse-read mode

2018-01-17 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1508157126 -7200 # Mon Oct 16 14:32:06 2017 +0200 # Node ID 3f03791f818c1148b969e0635855ae751a1909c5 # Parent 821d8a5ab4ff890a7732c2e4cdcc7f32191e5942 # EXP-Topic debug-sparse-read # Available At https://bitbuck

[PATCH 2 of 2 V2] revlog: group delta computation methods under _deltacomputer object

2018-01-17 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1515961692 -3600 # Sun Jan 14 21:28:12 2018 +0100 # Node ID 2eca3d9c1e76197e946adc4f15c2ede5a4c251dc # Parent 800aa38d15a621c7beecea286a1f0ab9750783ee # EXP-Topic refactor-revlog # Available At https://bitbuck

[PATCH 1 of 2 V2] revlog: refactor out _finddeltainfo from _addrevision

2018-01-17 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1515936982 -3600 # Sun Jan 14 14:36:22 2018 +0100 # Node ID 800aa38d15a621c7beecea286a1f0ab9750783ee # Parent 821d8a5ab4ff890a7732c2e4cdcc7f32191e5942 # EXP-Topic refactor-revlog # Available At https://bitbuck

[PATCH] revlog: refactor out _finddeltainfo from _addrevision

2018-01-17 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1515936982 -3600 # Sun Jan 14 14:36:22 2018 +0100 # Node ID 800aa38d15a621c7beecea286a1f0ab9750783ee # Parent 821d8a5ab4ff890a7732c2e4cdcc7f32191e5942 # EXP-Topic refactor-revlog # Available At https://bitbuck

Re: [PATCH 2 of 8] _addrevision: choose between ifh and dfh once for all

2018-01-15 Thread Paul Morelle
On 01/14/2018 10:08 PM, Gregory Szorc wrote: > On Sun, Jan 14, 2018 at 2:28 AM, Paul Morelle > <paul.more...@octobus.net <mailto:paul.more...@octobus.net>> wrote: > > # HG changeset patch > # User Paul Morelle <paul.more...@octobus.net > <mailto:pau

[PATCH 8 of 8] _addrevision: group revision info into a dedicated structure

2018-01-14 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1515919891 -3600 # Sun Jan 14 09:51:31 2018 +0100 # Node ID 6e287bddaacd03378c8fcde174dd1668211673e1 # Parent 9f916b7bc16409831776b50d6f400a41fdfbbcb7 # EXP-Topic refactor-revlog # Available At https://bitbuck

[PATCH 1 of 8] _addrevision: refactor out the selection of candidate revisions

2018-01-14 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1515668342 -3600 # Thu Jan 11 11:59:02 2018 +0100 # Node ID 7526dfca3d32e7c51864c21de2c2f4735c4cade6 # Parent 4b68ca118d8d316cff1fbfe260e8fdb0dae3e26a # EXP-Topic refactor-revlog # Available At https://bitbuck

[PATCH 6 of 8] _builddeltainfo: separate diff computation from the collection of other info

2018-01-14 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1515844518 -3600 # Sat Jan 13 12:55:18 2018 +0100 # Node ID d321149c4918b0c008fc38f318c4759c7c29ba80 # Parent 6e83370fc8befdebc523b92f6f4ff6ce009c97ad # EXP-Topic refactor-revlog # Available At https://bitbuck

[PATCH 4 of 8] revlog: extract 'builddelta' closure function from _addrevision

2018-01-14 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1515777003 -3600 # Fri Jan 12 18:10:03 2018 +0100 # Node ID c9069bebf72b906229e740bf8fe4beee37570dc9 # Parent 2f39856d4feee57695b05c9298a3bf1789edf173 # EXP-Topic refactor-revlog # Available At https://bitbuck

[PATCH 2 of 8] _addrevision: choose between ifh and dfh once for all

2018-01-14 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1515771775 -3600 # Fri Jan 12 16:42:55 2018 +0100 # Node ID 84eb864137a7b27e2357eb4f6d465f726670dc98 # Parent 7526dfca3d32e7c51864c21de2c2f4735c4cade6 # EXP-Topic refactor-revlog # Available At https://bitbuck

[PATCH 3 of 8] revlog: extract 'buildtext' closure function from _addrevision

2018-01-14 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1515768925 -3600 # Fri Jan 12 15:55:25 2018 +0100 # Node ID 2f39856d4feee57695b05c9298a3bf1789edf173 # Parent 84eb864137a7b27e2357eb4f6d465f726670dc98 # EXP-Topic refactor-revlog # Available At https://bitbuck

[PATCH 7 of 8] _builddeltainfo: rename 'rev' to 'base', as it is the base revision

2018-01-14 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1515918647 -3600 # Sun Jan 14 09:30:47 2018 +0100 # Node ID 9f916b7bc16409831776b50d6f400a41fdfbbcb7 # Parent d321149c4918b0c008fc38f318c4759c7c29ba80 # EXP-Topic refactor-revlog # Available At https://bitbuck

[PATCH] upgraderepo: select correct deltareuse depending on actions

2018-01-10 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1515601465 -3600 # Wed Jan 10 17:24:25 2018 +0100 # Node ID e95cf6b79a9abdc5fc3a071cb82f5cabe0b117f3 # Parent ebf14075a5c113f4fea6e89a4394d8c8fc9e6935 # EXP-Topic upgrade-deltareuse # Available At

[PATCH V2] perf: add threading capability to perfbdiff

2018-01-10 Thread Paul Morelle
# HG changeset patch # User Boris Feld # Date 1513481487 -3600 # Sun Dec 17 04:31:27 2017 +0100 # Node ID a04df08f0f218da10bb57c9f7080770a7f3e56c0 # Parent b55a142f00c5a92a19ff94fbe9b5d09e28716860 # EXP-Topic threaded-diff # Available At

Re: [PATCH] perf: add threading capability to perfbdiff

2018-01-10 Thread Paul Morelle
Please wait for the V2, as this doesn't pass the tests. Sorry for the premature post! Paul On 01/10/2018 02:18 PM, Paul Morelle wrote: > # HG changeset patch > # User Boris Feld <boris.f...@octobus.net> > # Date 1513481487 -3600 > # Sun Dec 17 04:31:27 2017

[PATCH] perf: add threading capability to perfbdiff

2018-01-10 Thread Paul Morelle
# HG changeset patch # User Boris Feld # Date 1513481487 -3600 # Sun Dec 17 04:31:27 2017 +0100 # Node ID 642ecc1f18e946df58d9870fce258f85a57bc9a3 # Parent b55a142f00c5a92a19ff94fbe9b5d09e28716860 # EXP-Topic threaded-diff # Available At

[PATCH 2 of 2 V4] debuglocks: allow setting a lock

2017-12-12 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1510497286 -3600 # Sun Nov 12 15:34:46 2017 +0100 # Node ID 8bcccbbeafba2bc80ed9e427945e11a4728802e8 # Parent 9beb49c91570014c034c3eaad9ce0a7a37e4c931 # EXP-Topic debugsetlocks # Available At https://bitbuck

[PATCH 1 of 2 V4] debuglocks: add tests (and fix typo in early return)

2017-12-12 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1510497259 -3600 # Sun Nov 12 15:34:19 2017 +0100 # Node ID 9beb49c91570014c034c3eaad9ce0a7a37e4c931 # Parent 37d923cdeba923f4964befcc3d0789362a433a35 # EXP-Topic debugsetlocks # Available At https://bitbuck

[PATCH 2 of 2 V3] debuglocks: allow setting a lock

2017-11-19 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1510497286 -3600 # Sun Nov 12 15:34:46 2017 +0100 # Node ID e9f4ce1f42464b7670618986f0762f016e33e284 # Parent 9b602162e10949a80e90d9732bb654b430e0b22a # EXP-Topic debugsetlocks # Available At https://bitbuck

[PATCH 1 of 2 V3] debuglocks: add tests (and fix typo in early return)

2017-11-19 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1510497259 -3600 # Sun Nov 12 15:34:19 2017 +0100 # Node ID 9b602162e10949a80e90d9732bb654b430e0b22a # Parent 602c168c0207c443ac61f7a7c727b31cfb0b86ad # EXP-Topic debugsetlocks # Available At https://bitbuck

[PATCH V2] debugdeltachain: output information about sparse read if enabled

2017-11-14 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1509002829 -7200 # Thu Oct 26 09:27:09 2017 +0200 # Node ID 404cf035ae72a77af35e049b5de53f8dbbc6cd79 # Parent 602c168c0207c443ac61f7a7c727b31cfb0b86ad # EXP-Topic debugdeltachain # Available At https://bitbuck

[PATCH 1 of 2 V2] debuglocks: add tests

2017-11-14 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1510497259 -3600 # Sun Nov 12 15:34:19 2017 +0100 # Node ID b26aa142783235cddc7c90f2425aac53fbb612da # Parent 602c168c0207c443ac61f7a7c727b31cfb0b86ad # EXP-Topic debugsetlocks # Available At https://bitbuck

[PATCH 2 of 2 V2] debuglocks: allow setting a lock

2017-11-14 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1510497286 -3600 # Sun Nov 12 15:34:46 2017 +0100 # Node ID 61cf7ffd84b89889cbf6bbc2af13cdd67ba2d9f9 # Parent b26aa142783235cddc7c90f2425aac53fbb612da # EXP-Topic debugsetlocks # Available At https://bitbuck

[PATCH] debuglocks: allow setting a lock

2017-11-08 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1510071568 -3600 # Tue Nov 07 17:19:28 2017 +0100 # Node ID 5300b33397d0651eb2457502204969585d492cc5 # Parent 602c168c0207c443ac61f7a7c727b31cfb0b86ad # EXP-Topic debugsetlocks # Available At https://bitbuck

[PATCH] debugdeltachain: output information about sparse read if enabled

2017-11-08 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1509002829 -7200 # Thu Oct 26 09:27:09 2017 +0200 # Node ID 13a6c881be35e7651a12f8c3442abfade2b77c88 # Parent 602c168c0207c443ac61f7a7c727b31cfb0b86ad # EXP-Topic debugdeltachain # Available At https://bitbuck

[PATCH V2] sparse-read: ignore trailing empty revs in each read chunk

2017-10-19 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1508333299 -7200 # Wed Oct 18 15:28:19 2017 +0200 # Node ID ef3d9978b7daf5c2152f624b10fffb13425b06db # Parent fb2574bd73a9c0d9a7a88407b20fdabc9213bc20 # EXP-Topic optimized-read # Available At https://bitbuck

[PATCH 3 of 3] sparse-read: ignore trailing empty revs in each read chunk

2017-10-18 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1508333299 -7200 # Wed Oct 18 15:28:19 2017 +0200 # Node ID 243f3a5bee46f9473bf2233041a8705e38194c13 # Parent 1c47a1306c856a240d9191e0f928b07493078fa7 # EXP-Topic optimized-read # Available At https://bitbuck

[PATCH 1 of 3] sparse-read: move from a recursive-based approach to a heap-based one

2017-10-18 Thread Paul Morelle
# HG changeset patch # User Boris Feld # Date 1508323980 -7200 # Wed Oct 18 12:53:00 2017 +0200 # Node ID 495cbf44112b9872f2803ccd836de3ffae30b28c # Parent 537de0b14030868e3e850ae388b08f88cabc88e8 # EXP-Topic optimized-read # Available At

[PATCH 2 of 3] sparse-read: skip gaps too small to be worth splitting

2017-10-18 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1508310468 -7200 # Wed Oct 18 09:07:48 2017 +0200 # Node ID 1c47a1306c856a240d9191e0f928b07493078fa7 # Parent 495cbf44112b9872f2803ccd836de3ffae30b28c # EXP-Topic optimized-read # Available At https://bitbuck

[PATCH 3 of 3] revlog-sparse-read: add a lower-threshold for read block size

2017-10-16 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1507993541 -7200 # Sat Oct 14 17:05:41 2017 +0200 # Node ID cac7666538643b087500c09c757a1b5f28421fbb # Parent fd6ea10467600ccdfc9f3491ad95da5cdb5b840d # EXP-Topic optimized-read # Available At https://bitbuck

[PATCH 1 of 3] revlog: ignore empty trailing chunks when reading segments

2017-10-16 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1507554821 -7200 # Mon Oct 09 15:13:41 2017 +0200 # Node ID ac3901a97e195627a2ed4e65040912326ce5d943 # Parent a652b7763f669683eb5540c6d4b77ee18e55bc80 # EXP-Topic optimized-read # Available At https://bitbuck

[PATCH 2 of 3] revlog: introduce an experimental flag to slice chunks reads when too sparse

2017-10-16 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1507650627 -7200 # Tue Oct 10 17:50:27 2017 +0200 # Node ID fd6ea10467600ccdfc9f3491ad95da5cdb5b840d # Parent ac3901a97e195627a2ed4e65040912326ce5d943 # EXP-Topic optimized-read # Available At https://bitbuck

[PATCH V4] strip: take branch into account when selecting update target (issue5540)

2017-10-11 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1507212785 -7200 # Thu Oct 05 16:13:05 2017 +0200 # Node ID a9047aa04485e29fbad8c7af5cc83d64e7b3df2c # Parent 05c2a9f37a1dde8df024876cca0f76108c8e6f42 # EXP-Topic issue-5540 # Available At https://bitbuck

Re: [PATCH 2 of 2 V3] strip: take branch into account when selecting update target (issue5540)

2017-10-11 Thread Paul Morelle
On 10/11/2017 03:01 PM, Yuya Nishihara wrote: > On Tue, 10 Oct 2017 11:44:43 +0200, Paul Morelle wrote: >> if (util.safehasattr(repo, 'mq') and p2 != nullid >> and p2 in [x.node for x in repo.mq.applied]): >> unode = p2 >> +elif current_b

[PATCH 2 of 2 V3] strip: take branch into account when selecting update target (issue5540)

2017-10-10 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1507212785 -7200 # Thu Oct 05 16:13:05 2017 +0200 # Node ID 7681cb8ad2b5bca779551e84676cd70d67366cdf # Parent adaf1c0e81c0d4f1f9dcf5c98de4410e21d76966 # EXP-Topic issue-5540 # Available At https://bitbuck

[PATCH 1 of 2 V3] strip: factor out update target selection

2017-10-10 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1507209094 -7200 # Thu Oct 05 15:11:34 2017 +0200 # Node ID adaf1c0e81c0d4f1f9dcf5c98de4410e21d76966 # Parent 8cef8f7d51d0f1e99889779ec1320d5c9c3b91de # EXP-Topic issue-5540 # Available At https://bitbuck

Re: [PATCH 2 of 2 V2] strip: take branch into account when selecting update target (issue5540)

2017-10-10 Thread Paul Morelle
On 10/10/2017 04:15 AM, Matt Harbison wrote: > After thinking about this more, I'm not sure what the right behavior > is.  It sounds like it would be useful to address this and prune at > the same time in a follow up, without side tracking this.  But I think > the branch change with an uncommitted

Re: [PATCH 2 of 2 V2] strip: take branch into account when selecting update target (issue5540)

2017-10-09 Thread Paul Morelle
On 10/08/2017 08:02 AM, Yuya Nishihara wrote: >>> +current_branch = repo[None].branch() >>> if (util.safehasattr(repo, 'mq') and p2 != nullid >>> and p2 in [x.node for x in repo.mq.applied]): >>> urev = p2 >>> +elif current_branch != repo[urev].branch(): >>> +

[PATCH 2 of 2 V2] strip: take branch into account when selecting update target (issue5540)

2017-10-06 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1507212785 -7200 # Thu Oct 05 16:13:05 2017 +0200 # Node ID 18c8fa9b75ba1c7b0dfd984cf78d35d0a467ab24 # Parent ae82f66cd58f85264e756f7a718ae9fbae5f17db # EXP-Topic issue-5540 # Available At https://bitbuck

[PATCH 1 of 2 V2] strip: factor out update target selection

2017-10-06 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <paul.more...@octobus.net> # Date 1507209094 -7200 # Thu Oct 05 15:11:34 2017 +0200 # Node ID ae82f66cd58f85264e756f7a718ae9fbae5f17db # Parent a57c938e7ac8f391a62de6c7c4d5cf0e81b2dcf4 # EXP-Topic issue-5540 # Available At https://bitbuck

[PATCH 2 of 2] strip: take branch into account when selecting update target (issue5540)

2017-10-06 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <madp...@htkc.org> # Date 1507212785 -7200 # Thu Oct 05 16:13:05 2017 +0200 # Node ID 8a8497fdb6dbeaedddbde21539af46a829036fa2 # Parent bbba17e8f85bdae96c769c7b4c506e9631165b66 # EXP-Topic issue-5540 strip: take branch into account when sel

[PATCH 1 of 2] strip: factor out update target selection

2017-10-06 Thread Paul Morelle
# HG changeset patch # User Paul Morelle <madp...@htkc.org> # Date 1507209094 -7200 # Thu Oct 05 15:11:34 2017 +0200 # Node ID bbba17e8f85bdae96c769c7b4c506e9631165b66 # Parent c67db5dc131d0facdfdadc8c3344a8f3e689867d # EXP-Topic issue-5540 strip: factor out update target selection Th