[PATCH RFC] repo: add an ability to hide nodes in an appropriate way

2017-03-26 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1490567500 25200 # Sun Mar 26 15:31:40 2017 -0700 # Node ID 43cd56f38c1ca2ad1920ed6804e1a90a5e263c0d # Parent c60091fa1426892552dd6c0dd4b9c49e3c3da045 repo: add an ability to hide nodes in an appropriate way Poten

Re: [PATCH 4 of 4 V2] obsolete: allow cycles

2017-03-26 Thread Kostia Balytskyi
On 25/03/2017 08:20, Simon Farnsworth wrote: > On 23/03/2017 22:15, Jun Wu wrote: >> Excerpts from Augie Fackler's message of 2017-03-23 17:53:39 -0400: >>> On Wed, Mar 22, 2017 at 1:42 AM, Jun Wu wrote: > As for alternatives, a correct solution needs to refer to the marker it

Re: [PATCH 04 of 10 shelve-ext v4] shelve: move node-pruning functionality to be member of shelvedstate

2017-03-26 Thread Kostia Balytskyi
On 21/03/2017 21:57, Augie Fackler wrote: > On Sat, Mar 11, 2017 at 01:00:23PM -0800, Kostia Balytskyi wrote: >> # HG changeset patch >> # User Kostia Balytskyi <ikos...@fb.com> >> # Date 1489191652 28800 >> # Fri Mar 10

Re: [PATCH 07 of 10 shelve-ext v4] shelve: add shelve type saving and loading

2017-03-25 Thread Kostia Balytskyi
On 21/03/2017 21:56, Augie Fackler wrote: > On Sat, Mar 11, 2017 at 01:00:26PM -0800, Kostia Balytskyi wrote: >> # HG changeset patch >> # User Kostia Balytskyi <ikos...@fb.com> >> # Date 1489250294 28800 >> # Sat Mar 11

Re: [PATCH 02 of 10 shelve-ext v4] shelve: add an ability to write key-val data to a new type of shelve files

2017-03-25 Thread Kostia Balytskyi
On 21/03/2017 21:48, Augie Fackler wrote: > On Sat, Mar 11, 2017 at 01:00:21PM -0800, Kostia Balytskyi wrote: >> # HG changeset patch >> # User Kostia Balytskyi <ikos...@fb.com> >> # Date 1489186989 28800 >> # Fri Mar 10

Re: [PATCH 10 of 10 shelve-ext v4] shelve: add logic to preserve active bookmarks

2017-03-25 Thread Kostia Balytskyi
On 21/03/2017 21:52, Augie Fackler wrote: > On Sat, Mar 11, 2017 at 01:00:29PM -0800, Kostia Balytskyi wrote: >> # HG changeset patch >> # User Kostia Balytskyi <ikos...@fb.com> >> # Date 1489250294 28800 >> # Sat Mar 11

[PATCH] doc: fix short underline which causes make -C doc to fail

2017-03-22 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1490198110 25200 # Wed Mar 22 08:55:10 2017 -0700 # Node ID 86383b66465bd7122bb5380047c6e87c888d8227 # Parent f808c796dfd2c6e4e6990c73a838320512aafeca doc: fix short underline which causes make -C doc to fail

Re: [PATCH 8 of 8] shelve: get rid of ui.backupconfig

2017-03-21 Thread Kostia Balytskyi
FYI, a very similar patch is a part of the latest shevle series I sent. On 16/03/2017 21:57, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1489699661 25200 > # Thu Mar 16 14:27:41 2017 -0700 > # Node ID 4f98fa7baebed161fe94c98661a8c404dd82a87d > # Parent

Re: [PATCH remotefilelog-ext remotefilelog-ext] datapack: don't depend on demandimport when cstore isn't available

2017-03-13 Thread Kostia Balytskyi
This looks good to me. On 13/03/2017 12:00, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1489431594 14400 > # Mon Mar 13 14:59:54 2017 -0400 > # Node ID 7d290452e8f119b1329f70c9d529a8c5ff271cea > # Parent

[PATCH v2] exewrapper: prefer HackableMercurial python if availbale

2017-03-13 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1489434253 25200 # Mon Mar 13 12:44:13 2017 -0700 # Node ID 83925d3a3306e7023b4b43757812285b40fcd90b # Parent 7548522742b5f4f9f5c0881ae4a2783ecda2f969 exewrapper: prefer HackableMercurial python if availbale Cur

[PATCH] exewrapper: add an ability to always load python from hg-python subdir

2017-03-12 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1489359573 25200 # Sun Mar 12 15:59:33 2017 -0700 # Node ID bdd61a3470df08b09bd18bbb40e33a8f7cabe188 # Parent 7548522742b5f4f9f5c0881ae4a2783ecda2f969 exewrapper: add an ability to always load python from hg-python

[PATCH 07 of 10 shelve-ext v4] shelve: add shelve type saving and loading

2017-03-11 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1489250294 28800 # Sat Mar 11 08:38:14 2017 -0800 # Node ID 5179d6be9d6a33071c8a18cc48166a3f1d5ceec5 # Parent 2dbff12d9b22281c8d84328704095d72b3151388 shelve: add shelve type saving and loading We need shelv

[PATCH 09 of 10 shelve-ext v4] shelve: add obs-based unshelve functionality

2017-03-11 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1489265667 28800 # Sat Mar 11 12:54:27 2017 -0800 # Node ID fb764ce7dd0b6b93cdb4449f5bb52164521b0aad # Parent e06d7fd580a798de7818adae8b65eb166ea1defd shelve: add obs-based unshelve functionality Obsolescense

[PATCH 10 of 10 shelve-ext v4] shelve: add logic to preserve active bookmarks

2017-03-11 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1489250294 28800 # Sat Mar 11 08:38:14 2017 -0800 # Node ID 1ea8a13f3618cb9a89bd46195f66b5943dab6f75 # Parent fb764ce7dd0b6b93cdb4449f5bb52164521b0aad shelve: add logic to preserve active bookmarks This adds an ex

[PATCH 05 of 10 shelve-ext v4] shelve: add a function to check whether obs-based shelve is enabled

2017-03-11 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1489250294 28800 # Sat Mar 11 08:38:14 2017 -0800 # Node ID 7123aecf3dd2b468a6cd47b3615c893ea73a18ec # Parent 3b034fb4bfcfdfd7700fd43edef33d032efd4924 shelve: add a function to check whether obs-based shelve is e

[PATCH 06 of 10 shelve-ext v4] shelve: add obs-based shelve functionality

2017-03-11 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1489250294 28800 # Sat Mar 11 08:38:14 2017 -0800 # Node ID 2dbff12d9b22281c8d84328704095d72b3151388 # Parent 7123aecf3dd2b468a6cd47b3615c893ea73a18ec shelve: add obs-based shelve functionality Obsolescense-based

[PATCH 04 of 10 shelve-ext v4] shelve: move node-pruning functionality to be member of shelvedstate

2017-03-11 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1489191652 28800 # Fri Mar 10 16:20:52 2017 -0800 # Node ID 3b034fb4bfcfdfd7700fd43edef33d032efd4924 # Parent 8063b183d2396f14093ebe84da9cedf17b13881d shelve: move node-pruning functionality to be member of shelve

[PATCH 02 of 10 shelve-ext v4] shelve: add an ability to write key-val data to a new type of shelve files

2017-03-11 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1489186989 28800 # Fri Mar 10 15:03:09 2017 -0800 # Node ID 13c8fb8e722fd0563a83e601bb784694535268f1 # Parent ca01391d61f5725c4fc79ccffe0c8e2d6dbb97f0 shelve: add an ability to write key-val data to a new type of

[PATCH 03 of 10 shelve-ext v4] shelve: rename stripnodes to nodestoprune

2017-03-11 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1489191523 28800 # Fri Mar 10 16:18:43 2017 -0800 # Node ID 8063b183d2396f14093ebe84da9cedf17b13881d # Parent 13c8fb8e722fd0563a83e601bb784694535268f1 shelve: rename stripnodes to nodestoprune Since we are introduci

[PATCH 01 of 10 shelve-ext v4] scmutil: add a simple key-value file helper

2017-03-11 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1489185222 28800 # Fri Mar 10 14:33:42 2017 -0800 # Node ID ca01391d61f5725c4fc79ccffe0c8e2d6dbb97f0 # Parent 2a1b16dbb9c4760002059d97c15cd0828fb1fb60 scmutil: add a simple key-value file helper The purpose of the

Re: [PATCH RFC v10] scmutil: add a simple key-value file helper

2017-02-13 Thread Kostia Balytskyi
later. I will change and re-send withoug required-related functionality as this patch is taking forever to get in. > > Excerpts from Kostia Balytskyi's message of 2017-02-03 02:47:26 -0800: >> # HG changeset patch >> # User Kostia Balytskyi <ikos...@fb.com> >> # Dat

Re: [PATCH 08 of 10 shelve-ext v3] shelve: add obs-based unshelve functionality

2017-02-07 Thread Kostia Balytskyi
On 06/02/2017 23:22, Sean Farley wrote: > Kostia Balytskyi <kobal...@outlook.com> writes: > >> On 06/02/2017 19:41, Sean Farley wrote: >> >>> Kostia Balytskyi <kobal...@outlook.com> writes: >>> >>>> On 03/02/2017 23:17, Sean Farle

Re: [PATCH 08 of 10 shelve-ext v3] shelve: add obs-based unshelve functionality

2017-02-06 Thread Kostia Balytskyi
On 06/02/2017 19:41, Sean Farley wrote: > Kostia Balytskyi <kobal...@outlook.com> writes: > >> On 03/02/2017 23:17, Sean Farley wrote: >> >>> Kostia Balytskyi <ikos...@fb.com> writes: >>> >>>> # HG changeset patch >>>&g

Re: [PATCH 08 of 10 shelve-ext v3] shelve: add obs-based unshelve functionality

2017-02-06 Thread Kostia Balytskyi
On 03/02/2017 23:17, Sean Farley wrote: > Kostia Balytskyi <ikos...@fb.com> writes: > >> # HG changeset patch >> # User Kostia Balytskyi <ikos...@fb.com> >> # Date 1484835394 28800 >> # Thu Jan 19 06:16:34 2017 -0800 >> # Node ID 94a2

[PATCH 2 of 2 remotenames-ext v2] lazyremotenamedict: rename resolvekeys to resolvenodes

2017-02-06 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1486377812 28800 # Mon Feb 06 02:43:32 2017 -0800 # Node ID b6b0363782555a9acc98c79c25aa7b1c38ece709 # Parent f7a3dffec18438cffeef930c8e2ed4f2da0bd4bb lazyremotenamedict: rename resolvekeys to resolvenodes I th

[PATCH 10 of 10 shelve-ext v3] shelve: disable inhibit for shelving period

2017-02-03 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1484838335 28800 # Thu Jan 19 07:05:35 2017 -0800 # Node ID 6a7e7659886d35dfdc4d7d5efb3ef8479ae35367 # Parent 088c9191d662d5c0003310119c51540926a815f7 shelve: disable inhibit for shelving period While shelving,

[PATCH 09 of 10 shelve-ext v3] shelve: add logic to preserve active bookmarks

2017-02-03 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1484740179 28800 # Wed Jan 18 03:49:39 2017 -0800 # Node ID 088c9191d662d5c0003310119c51540926a815f7 # Parent 94a237a046059ef246aacb2c3ad809c9f0bdbe70 shelve: add logic to preserve active bookmarks This adds an ex

[PATCH 05 of 10 shelve-ext v3] shelve: add obs-based shelve functionality

2017-02-03 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1484740179 28800 # Wed Jan 18 03:49:39 2017 -0800 # Node ID 44425c4e86b2589184e23bed798999c15788b54b # Parent ceb709491816f84789b77a18bfcab15eaa9860fe shelve: add obs-based shelve functionality Obsolescense-based

[PATCH 08 of 10 shelve-ext v3] shelve: add obs-based unshelve functionality

2017-02-03 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1484835394 28800 # Thu Jan 19 06:16:34 2017 -0800 # Node ID 94a237a046059ef246aacb2c3ad809c9f0bdbe70 # Parent abdf9565fdce15604ea4abf013cb7c98a11f70ca shelve: add obs-based unshelve functionality Obsolescense

[PATCH 04 of 10 shelve-ext v3] shelve: add a function to check whether obs-based shelve is enabled

2017-02-03 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1484740179 28800 # Wed Jan 18 03:49:39 2017 -0800 # Node ID ceb709491816f84789b77a18bfcab15eaa9860fe # Parent 249273f6db8bf0fdfbbf36bcbd9e3553e5715212 shelve: add a function to check whether obs-based shelve is e

[PATCH 02 of 10 shelve-ext v3] shelve: rename stripnodes to nodestoprune

2017-02-03 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1484740179 28800 # Wed Jan 18 03:49:39 2017 -0800 # Node ID 155f97b77a4866075fa709daa3bef6dac9108e81 # Parent d904df83e9ead56f65104e10d765c0157d647401 shelve: rename stripnodes to nodestoprune Since we are introduci

[PATCH 01 of 10 shelve-ext v3] shelve: add an ability to write key-val data to a new type of shelve files

2017-02-03 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1484835841 28800 # Thu Jan 19 06:24:01 2017 -0800 # Node ID d904df83e9ead56f65104e10d765c0157d647401 # Parent 19a449c91ef14e691cf1347748473e0094fedc86 shelve: add an ability to write key-val data to a new type of

[PATCH 03 of 10 shelve-ext v3] shelve: move node-pruning functionality to be member of shelvedstate

2017-02-03 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1484740179 28800 # Wed Jan 18 03:49:39 2017 -0800 # Node ID 249273f6db8bf0fdfbbf36bcbd9e3553e5715212 # Parent 155f97b77a4866075fa709daa3bef6dac9108e81 shelve: move node-pruning functionality to be member of shelve

[PATCH RFC v10] scmutil: add a simple key-value file helper

2017-02-03 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1484824655 28800 # Thu Jan 19 03:17:35 2017 -0800 # Node ID 19a449c91ef14e691cf1347748473e0094fedc86 # Parent 9f264adbe75bfae8551dc0e6e0fce8d43fc7b43a scmutil: add a simple key-value file helper The purpose of the

[PATCH remotenames-ext] display: compute whether the node is obsolete only if needed

2017-01-27 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1485532411 28800 # Fri Jan 27 07:53:31 2017 -0800 # Node ID 494e92ec0cef1e98a5ac0a233d1fc7dcb6ac3fc7 # Parent ad31e88e4c85ba95642231f73c0915dd6997962f display: compute whether the node is obsolete only if

[PATCH 1 of 2 remotenames-ext] lazyremotenamedict: make iteritems able to not check whether nodes exist

2017-01-26 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1485451944 28800 # Thu Jan 26 09:32:24 2017 -0800 # Node ID 904e442f868455ba9cb66347733804ff3a6d98e0 # Parent 090d16362edd806ec4843c1f0b49d331bec6e524 lazyremotenamedict: make iteritems able to not check whether nodes

[PATCH 02 of 10 shelve-ext v2] shelve: rename stripnodes to nodestoprune

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1484740179 28800 # Wed Jan 18 03:49:39 2017 -0800 # Node ID 155f97b77a4866075fa709daa3bef6dac9108e81 # Parent d904df83e9ead56f65104e10d765c0157d647401 shelve: rename stripnodes to nodestoprune Since we are introduci

[PATCH 03 of 10 shelve-ext v2] shelve: move node-pruning functionality to be member of shelvedstate

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1484740179 28800 # Wed Jan 18 03:49:39 2017 -0800 # Node ID 249273f6db8bf0fdfbbf36bcbd9e3553e5715212 # Parent 155f97b77a4866075fa709daa3bef6dac9108e81 shelve: move node-pruning functionality to be member of shelve

[PATCH 06 of 10 shelve-ext v2] shelve: add shelve type saving and loading

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1484740179 28800 # Wed Jan 18 03:49:39 2017 -0800 # Node ID 149fc6d767ce3502528b43b0e209eb411dd6e842 # Parent 44425c4e86b2589184e23bed798999c15788b54b shelve: add shelve type saving and loading We need shelv

[PATCH 05 of 10 shelve-ext v2] shelve: add obs-based shelve functionality

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1484740179 28800 # Wed Jan 18 03:49:39 2017 -0800 # Node ID 44425c4e86b2589184e23bed798999c15788b54b # Parent ceb709491816f84789b77a18bfcab15eaa9860fe shelve: add obs-based shelve functionality Obsolescense-based

[PATCH 09 of 10 shelve-ext v2] shelve: add logic to preserve active bookmarks

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1484740179 28800 # Wed Jan 18 03:49:39 2017 -0800 # Node ID 088c9191d662d5c0003310119c51540926a815f7 # Parent 94a237a046059ef246aacb2c3ad809c9f0bdbe70 shelve: add logic to preserve active bookmarks This adds an ex

[PATCH 08 of 10 shelve-ext v2] shelve: add obs-based unshelve functionality

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1484835394 28800 # Thu Jan 19 06:16:34 2017 -0800 # Node ID 94a237a046059ef246aacb2c3ad809c9f0bdbe70 # Parent abdf9565fdce15604ea4abf013cb7c98a11f70ca shelve: add obs-based unshelve functionality Obsolescense

[PATCH 10 of 10 shelve-ext v2] shelve: disable inhibit for shelving period

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1484838335 28800 # Thu Jan 19 07:05:35 2017 -0800 # Node ID 6a7e7659886d35dfdc4d7d5efb3ef8479ae35367 # Parent 088c9191d662d5c0003310119c51540926a815f7 shelve: disable inhibit for shelving period While shelving,

[PATCH 07 of 10 shelve-ext v2] shelve: migrate config overrides to ui.configoverride

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1484740179 28800 # Wed Jan 18 03:49:39 2017 -0800 # Node ID abdf9565fdce15604ea4abf013cb7c98a11f70ca # Parent 149fc6d767ce3502528b43b0e209eb411dd6e842 shelve: migrate config overrides to ui.configoverride This patc

[PATCH 04 of 10 shelve-ext v2] shelve: add a function to check whether obs-based shelve is enabled

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1484740179 28800 # Wed Jan 18 03:49:39 2017 -0800 # Node ID ceb709491816f84789b77a18bfcab15eaa9860fe # Parent 249273f6db8bf0fdfbbf36bcbd9e3553e5715212 shelve: add a function to check whether obs-based shelve is e

[PATCH 01 of 10 shelve-ext v2] shelve: add an ability to write key-val data to a new type of shelve files

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1484835841 28800 # Thu Jan 19 06:24:01 2017 -0800 # Node ID d904df83e9ead56f65104e10d765c0157d647401 # Parent 19a449c91ef14e691cf1347748473e0094fedc86 shelve: add an ability to write key-val data to a new type of

[PATCH v9 RFC] scmutil: add a simple key-value file helper

2017-01-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1484824655 28800 # Thu Jan 19 03:17:35 2017 -0800 # Node ID 19a449c91ef14e691cf1347748473e0094fedc86 # Parent 9f264adbe75bfae8551dc0e6e0fce8d43fc7b43a scmutil: add a simple key-value file helper The purpose of the

Re: [PATCH RFC v8] scmutil: add a simple key-value file helper

2016-12-20 Thread Kostia Balytskyi
On 12/16/2016 6:45 PM, Augie Fackler wrote: > On Fri, Dec 16, 2016 at 1:35 PM, Augie Fackler wrote: >>> scmutil: add a simple key-value file helper >>> >> At this point, I think I'd like to see obs-shelve too. Is there a >> place I can do that? > (Specifically: before we do a

Re: [PATCH RFC v7] scmutil: add a simple key-value file helper

2016-12-15 Thread Kostia Balytskyi
On 12/15/16 4:49 PM, Augie Fackler wrote: > On Wed, Dec 14, 2016 at 03:17:42AM +0100, Pierre-Yves David wrote: >> >> On 12/06/2016 10:53 PM, Jun Wu wrote: >>> Excerpts from Kostia Balytskyi's message of 2016-12-06 13:41:07 -0800: class CorruptedState(Exception): """error raised

Re: [PATCH 8 of 8 v4] convert: return commit objects for revisions in the revmap

2016-12-14 Thread Kostia Balytskyi
On 12/14/16 5:55 PM, David Soria Parra wrote: > On Wed, Dec 14, 2016 at 04:53:24PM +0000, Kostia Balytskyi wrote: >> >> On 12/14/16 9:46 AM, David Soria Parra wrote: >>> # HG changeset patch >>> # User David Soria Parra <davi...@fb.com> >>> # Date

[PATCH RFC v8] scmutil: add a simple key-value file helper

2016-12-14 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1481734993 28800 # Wed Dec 14 09:03:13 2016 -0800 # Node ID 0973a68a3dcdfb7154e8ab27b7bb7028e97dd516 # Parent 95b076f5ddee5ab7bd208b8c2f42121ce9907129 scmutil: add a simple key-value file helper The purpose of the

Re: [PATCH 8 of 8 v4] convert: return commit objects for revisions in the revmap

2016-12-14 Thread Kostia Balytskyi
Other than the nit below, this series LGTM. On 12/14/16 4:53 PM, Kostia Balytskyi wrote: > > On 12/14/16 9:46 AM, David Soria Parra wrote: >> # HG changeset patch >> # User David Soria Parra <davi...@fb.com> >> # Date 1481704712 28800 >> # Wed Dec

Re: [PATCH 8 of 8 v4] convert: return commit objects for revisions in the revmap

2016-12-14 Thread Kostia Balytskyi
On 12/14/16 9:46 AM, David Soria Parra wrote: > # HG changeset patch > # User David Soria Parra > # Date 1481704712 28800 > # Wed Dec 14 00:38:32 2016 -0800 > # Node ID eb4a6df3de20deb31e681aa7eba408dc352440c3 > # Parent 26ec2474ab06fdaf1aca034c54309245ded267b0 > convert:

Re: [PATCH 6 of 8 v4] convert: do not provide head revisions if we have no changests to import

2016-12-14 Thread Kostia Balytskyi
On 12/14/16 9:46 AM, David Soria Parra wrote: > # HG changeset patch > # User David Soria Parra > # Date 1481694598 28800 > # Tue Dec 13 21:49:58 2016 -0800 > # Node ID c6c26e238617600d0523b44a9043d17f963f9eda > # Parent 4b9d267d2a05970d9320b83f8bf29ec99f8ab40f > convert:

Re: [PATCH 6 of 6 v3] convert: Create commits from revmap list if needed

2016-12-08 Thread Kostia Balytskyi
On 12/8/16 12:18 AM, David Soria Parra wrote: > On Wed, Dec 07, 2016 at 10:23:08PM +0000, Kostia Balytskyi wrote: >> On 12/7/16 9:51 PM, David Soria Parra wrote: >>> # HG changeset patch >>> # User David Soria Parra <davi...@fb.com> >>> # Date 1481143876

Re: [PATCH 6 of 6 v3] convert: Create commits from revmap list if needed

2016-12-07 Thread Kostia Balytskyi
On 12/7/16 9:51 PM, David Soria Parra wrote: > # HG changeset patch > # User David Soria Parra > # Date 1481143876 28800 > # Wed Dec 07 12:51:16 2016 -0800 > # Node ID 109de539306c5bc49d38d6f1c802c4a8d092b485 > # Parent be68e4436851b7e20f3b8cb34666418f5840dd66 > convert:

Re: [PATCH 4 of 6 v3] convert: Parse perforce changes when needed, not in the constructor

2016-12-07 Thread Kostia Balytskyi
On 12/7/16 9:51 PM, David Soria Parra wrote: > # HG changeset patch > # User David Soria Parra > # Date 1481139471 28800 > # Wed Dec 07 11:37:51 2016 -0800 > # Node ID e3c34b2fafd7ce1a78d23e35888a33ef10629fbf > # Parent 897be730ab884aa8f7373a34eeb6a288cc1dabc7 > convert:

Re: [PATCH 1 of 6 v2] [convert] Use convert_revision for P4 imports

2016-12-07 Thread Kostia Balytskyi
On 12/7/16 9:30 PM, David Soria Parra wrote: > # HG changeset patch > # User David Soria Parra > # Date 1480895549 28800 > # Sun Dec 04 15:52:29 2016 -0800 > # Node ID ade3103f5cf939007ca73af5e9e5853643dc8264 > # Parent 48bf03a8f718f870256f79cbdf10550ca92c7f25 > [convert]

[PATCH RFC v7] scmutil: add a simple key-value file helper

2016-12-06 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1481060343 28800 # Tue Dec 06 13:39:03 2016 -0800 # Node ID 211cfe5a24d18218720c38a601dfb2b88373b59a # Parent 831d29deed083618bddc2fade7d2a6fe297c896d scmutil: add a simple key-value file helper The purpose of the

Re: [PATCH RFC v3] scmutil: add a simple key-value file helper

2016-12-06 Thread Kostia Balytskyi
On 12/6/16 2:45 PM, Jun Wu wrote: > Excerpts from Kostia Balytskyi's message of 2016-12-06 14:30:18 +: >> On 12/6/16 2:08 PM, Jun Wu wrote: >>> Excerpts from Kostia Balytskyi's message of 2016-12-06 13:54:02 +: This is what happens if you don't inherit the class or don't override

Re: [PATCH 2 of 2] localrepo: use ProgrammingError

2016-12-06 Thread Kostia Balytskyi
Both patches look good to me. On 12/6/16 5:13 PM, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1481043999 0 > # Tue Dec 06 17:06:39 2016 + > # Node ID 5197933cb8b90a976be3d298b5f51b154fd8e733 > # Parent 67bcd43e64ca03f486a817fccf38e83020b06793 > #

[PATCH RFC v6] scmutil: add a simple key-value file helper

2016-12-06 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1481034715 28800 # Tue Dec 06 06:31:55 2016 -0800 # Node ID 99bf22661062bb7d28ece67d94ebf421e3440731 # Parent 243ecbd4f5c9f452275d4435866359cf84dc03ff scmutil: add a simple key-value file helper The purpose of the

Re: [PATCH RFC v3] scmutil: add a simple key-value file helper

2016-12-06 Thread Kostia Balytskyi
On 12/6/16 2:08 PM, Jun Wu wrote: > Excerpts from Kostia Balytskyi's message of 2016-12-06 13:54:02 +: >> This is what happens if you don't inherit the class or don't override >> the empty KEYS list in the inherited class. > If KEYS is used to verify existence, how about just making it a

Re: [PATCH RFC v4] scmutil: add a simple key-value file helper

2016-12-06 Thread Kostia Balytskyi
Please disregard v4, see v5. On 12/6/16 2:01 PM, Kostia Balytskyi wrote: > # HG changeset patch > # User Kostia Balytskyi <ikos...@fb.com> > # Date 1481032446 28800 > # Tue Dec 06 05:54:06 2016 -0800 > # Node ID 008bf4590cd2bed2329ad5eb8f2ad3

[PATCH RFC v4] scmutil: add a simple key-value file helper

2016-12-06 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1481032446 28800 # Tue Dec 06 05:54:06 2016 -0800 # Node ID 008bf4590cd2bed2329ad5eb8f2ad3e2bd121f2d # Parent 243ecbd4f5c9f452275d4435866359cf84dc03ff scmutil: add a simple key-value file helper The purpose of the

[PATCH RFC v5] scmutil: add a simple key-value file helper

2016-12-06 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1481032921 28800 # Tue Dec 06 06:02:01 2016 -0800 # Node ID 79336a94b7709f8680fd6975c39bac41759ec6f4 # Parent 243ecbd4f5c9f452275d4435866359cf84dc03ff scmutil: add a simple key-value file helper The purpose of the

Re: [PATCH RFC v3] scmutil: add a simple key-value file helper

2016-12-06 Thread Kostia Balytskyi
On 12/6/16 1:48 PM, Jun Wu wrote: > Excerpts from Kostia Balytskyi's message of 2016-12-06 13:39:31 +: >> Hm, I don't see how upper/lower-case instead of explicit boolean flag >> handles that... > I didn't realize the issue either, before Yuya's reply. > >> But to answer your question: >> 1.

Re: [PATCH RFC v3] scmutil: add a simple key-value file helper

2016-12-06 Thread Kostia Balytskyi
On 12/6/16 1:28 PM, Jun Wu wrote: > Excerpts from Kostia Balytskyi's message of 2016-12-06 13:22:40 +: >> On 12/6/16 1:04 PM, Yuya Nishihara wrote: >>> On Mon, 5 Dec 2016 15:03:35 -0800, Kostia Balytskyi wrote: >>>> # HG changeset patch >>>&g

Re: [PATCH RFC v3] scmutil: add a simple key-value file helper

2016-12-06 Thread Kostia Balytskyi
On 12/6/16 1:04 PM, Yuya Nishihara wrote: > On Mon, 5 Dec 2016 15:03:35 -0800, Kostia Balytskyi wrote: >> # HG changeset patch >> # User Kostia Balytskyi <ikos...@fb.com> >> # Date 1480978778 28800 >> # Mon Dec 05 14:59:38 2016 -0800 >> # Node ID b

[PATCH RFC v3] scmutil: add a simple key-value file helper

2016-12-05 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1480978778 28800 # Mon Dec 05 14:59:38 2016 -0800 # Node ID bdc49209b0b926214e865f9a98ea987866f64d68 # Parent 243ecbd4f5c9f452275d4435866359cf84dc03ff scmutil: add a simple key-value file helper The purpose of the

Re: [PATCH RFC] scmutil: add a simple key-value file helper

2016-12-05 Thread Kostia Balytskyi
On 12/5/16 9:54 PM, Jun Wu wrote: > Excerpts from Kostia Balytskyi's message of 2016-12-03 15:37:55 -0800: >> # HG changeset patch >> # User Kostia Balytskyi <ikos...@fb.com> >> # Date 1480808065 28800 >> # Sat Dec 03 15:34:25 2016 -0800 >> # Node ID c

Re: [PATCH] chgserver: call "load" for new ui objects

2016-12-05 Thread Kostia Balytskyi
LGTM. On 12/5/16 9:37 PM, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1480973795 0 > # Mon Dec 05 21:36:35 2016 + > # Node ID b1877dc4bd741a4855c3fda0d473e5d821f5c4e2 > # Parent 2463b16bbd3710b619e0e948651db9948341f990 > # Available At

[PATCH RFC v2] scmutil: add a simple key-value file helper

2016-12-05 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1480967781 28800 # Mon Dec 05 11:56:21 2016 -0800 # Node ID eceaa3ab833141da00291a236a20ca0be0b4b3b0 # Parent 243ecbd4f5c9f452275d4435866359cf84dc03ff scmutil: add a simple key-value file helper The purpose of the

[PATCH RFC] scmutil: add a simple key-value file helper

2016-12-03 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1480808065 28800 # Sat Dec 03 15:34:25 2016 -0800 # Node ID c4312906ef7d06dc3be1575ee5cde574b915c9c4 # Parent 715232cf9182f904d5153862a1ec4905faaeee6e scmutil: add a simple key-value file helper The purpose of the

Re: [PATCH 1 of 2] tests: use cp -R instead of cp -r

2016-11-30 Thread Kostia Balytskyi
Good catch! On 11/30/16 5:34 PM, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1480526736 0 > # Wed Nov 30 17:25:36 2016 + > # Node ID a4f46a03e5f8e33f32c36326c6b14b84d9cb03b4 > # Parent 9e29d4e4e08b5996adda49cdd0b497d89e2b16ee > # Available At

Re: [PATCH 09 of 10 shelve-ext] shelve: add obs-based unshelve functionality

2016-11-30 Thread Kostia Balytskyi
Replying one more time to make stuff readable. On 11/30/16 1:46 PM, Kostia Balytskyi wrote: From: Martin von Zweigbergk <martinv...@google.com><mailto:martinv...@google.com> Date: Wednesday, November 30, 2016 at 6:24 AM To: Kostia Balytskyi <ikos...@fb.com><mailto:ikos...

Re: [PATCH 09 of 10 shelve-ext] shelve: add obs-based unshelve functionality

2016-11-30 Thread Kostia Balytskyi
From: Martin von Zweigbergk <martinv...@google.com> Date: Wednesday, November 30, 2016 at 6:24 AM To: Kostia Balytskyi <ikos...@fb.com>, "mercurial-devel@mercurial-scm.org" <mercurial-devel@mercurial-scm.org> Subject: Re: [PATCH 09 of 10 shelve-ext] shelve: add obs-b

Re: [PATCH V2 evolve-ext] wireproto: chunking and compression is forthwith to be handled by hgweb

2016-11-30 Thread Kostia Balytskyi
This looks good to me. On 11/30/16, 11:26 AM, "Mercurial-devel on behalf of Martijn Pieters" wrote: # HG changeset patch # User Martijn Pieters # Date 1480504675 0 # Wed Nov 30

Re: [PATCH V2] evolve: improve error message if unstable changes are disallowed

2016-11-29 Thread Kostia Balytskyi
Shouldn’t we mention the config in a hint message? On 11/25/16, 12:28 PM, "Mercurial-devel on behalf of Mateusz Kwapich" wrote: LGTM, I suppose that timeless may also want to review it before it's queued.

Re: [PATCH 02 of 10 shelve-ext] shelve: add an ability to write json to a new type of shelve files

2016-11-29 Thread Kostia Balytskyi
On 11/29/16, 3:55 PM, "Jun Wu" <qu...@fb.com> wrote: Excerpts from Kostia Balytskyi's message of 2016-11-29 07:22:56 -0800: > # HG changeset patch > # User Kostia Balytskyi <ikos...@fb.com> > # Date 1480426193 28800 > # Tue Nov 29 0

Re: [PATCH evolve-ext] wireproto: chunking and compression is forthwith to be handled by hgweb

2016-11-29 Thread Kostia Balytskyi
This looks good to me, although I would maybe perform a more thorough check than just catching a TypeError. For example, something like check: if “v1compressible” in wireproto.streamres.__init__.__code__.co_varnames: pass this arg else: don’t pass it On 11/29/16, 4:10

Re: mercurial@30541: 92 new changesets

2016-11-29 Thread Kostia Balytskyi
gmail.com> date:Thu Nov 17 20:30:00 2016 -0800 summary: commands: print chunk type in debugrevlog http://selenic.com/repo/hg//rev/2e736f01a710 changeset: 30453:2e736f01a710 user:Kostia Balytskyi <ikos...@fb.com> date:Sun Nov 13 03:

[PATCH 06 of 10 shelve-ext] shelve: add obs-based shelve functionality

2016-11-29 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1480427179 28800 # Tue Nov 29 05:46:19 2016 -0800 # Node ID d1356cbb72cfe91a2b427098c66bc00937912d79 # Parent 7f225df4c58b4f62a7883f95349cdb9e9c86e15e shelve: add obs-based shelve functionality Obsolescense-based

[PATCH 07 of 10 shelve-ext] shelve: add shelve type saving and loading

2016-11-29 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1480425731 28800 # Tue Nov 29 05:22:11 2016 -0800 # Node ID bcf8d603cc8b678f875ceca24dd2b14eda09bce7 # Parent d1356cbb72cfe91a2b427098c66bc00937912d79 shelve: add shelve type saving and loading We need shelv

[PATCH 10 of 10 shelve-ext] shelve: add logic to preserve active bookmarks

2016-11-29 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1480431519 28800 # Tue Nov 29 06:58:39 2016 -0800 # Node ID 5c55e23c067998adf36b9a2c6eb028ba1a7fc643 # Parent 533d99eca3bf11c4aac869674e0abb16b74ed670 shelve: add logic to preserve active bookmarks This adds an ex

[PATCH 01 of 10 shelve-ext] shelve: move patch extension to a string constant

2016-11-29 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1480432803 28800 # Tue Nov 29 07:20:03 2016 -0800 # Node ID f6f0ab3f7b0ea0e05cfdcd7afd4994ea21988fd9 # Parent 64b55bffc1c059eb4c11ca195b561ca8a287f59e shelve: move patch extension to a string constant We are using

[PATCH 08 of 10 shelve-ext] shelve: migrate config overrides to ui.configoverride

2016-11-29 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1480427488 28800 # Tue Nov 29 05:51:28 2016 -0800 # Node ID 85c9c651887915733feb3d385866955741f28ec0 # Parent bcf8d603cc8b678f875ceca24dd2b14eda09bce7 shelve: migrate config overrides to ui.configoverride This patc

[PATCH 03 of 10 shelve-ext] shelve: rename stripnodes to nodestoprune

2016-11-29 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1480425731 28800 # Tue Nov 29 05:22:11 2016 -0800 # Node ID 93bb69fa1f1abbe0a42455ad8df691fdf29b2e3a # Parent 37119e028c699d9fabd220086e08c754827e709f shelve: rename stripnodes to nodestoprune Since we are introduci

[PATCH 09 of 10 shelve-ext] shelve: add obs-based unshelve functionality

2016-11-29 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1480431173 28800 # Tue Nov 29 06:52:53 2016 -0800 # Node ID 533d99eca3bf11c4aac869674e0abb16b74ed670 # Parent 85c9c651887915733feb3d385866955741f28ec0 shelve: add obs-based unshelve functionality Obsolescense

[PATCH 05 of 10 shelve-ext] shelve: add a function to check whether obs-based shelve is enabled

2016-11-29 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1480426659 28800 # Tue Nov 29 05:37:39 2016 -0800 # Node ID 7f225df4c58b4f62a7883f95349cdb9e9c86e15e # Parent 4166a4cfdc14629e169f12e83607b065887594b7 shelve: add a function to check whether obs-based shelve is e

[PATCH 02 of 10 shelve-ext] shelve: add an ability to write json to a new type of shelve files

2016-11-29 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1480426193 28800 # Tue Nov 29 05:29:53 2016 -0800 # Node ID 37119e028c699d9fabd220086e08c754827e709f # Parent f6f0ab3f7b0ea0e05cfdcd7afd4994ea21988fd9 shelve: add an ability to write json to a new type of shelve

Re: [PATCH 2 of 2] formatter: add overview of API and example as doctest

2016-11-27 Thread Kostia Balytskyi
I like this and previous patch, but if the purpose of this one is to provide examlpes to developers, should we maybe also include debugformatter? On 11/27/16, 1:45 PM, "Mercurial-devel on behalf of Yuya Nishihara" wrote:

Re: [PATCH] ui: use try..finally in configoverride

2016-11-27 Thread Kostia Balytskyi
On 11/27/16, 9:10 AM, "Mercurial-devel on behalf of Yuya Nishihara" wrote: On Sat, 26 Nov 2016 09:14:46 -0800, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > #

[PATCH shelve-ext v2] shelve: make --keep option survive user intevention (issue5431)

2016-11-23 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1479941932 28800 # Wed Nov 23 14:58:52 2016 -0800 # Node ID 00a022e44b62cb9340dfac94096b14f77407cefb # Parent db897ddf3a8ebb8df9556ce97de11f6380a9ef0b shelve: make --keep option survive user intevention (iss

[PATCH shelve-ext] shelve: make --keep option survive user intevention (issue5431)

2016-11-23 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1479926825 28800 # Wed Nov 23 10:47:05 2016 -0800 # Node ID 90b1e0d3e7daaf489428e0b9028cd7b32f37ea70 # Parent db897ddf3a8ebb8df9556ce97de11f6380a9ef0b shelve: make --keep option survive user intevention (iss

[PATCH v2] ui: add configoverride context manager

2016-11-21 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1479774146 28800 # Mon Nov 21 16:22:26 2016 -0800 # Node ID a7c57b059190f02a450667411d92d9a4862f6375 # Parent 141b0d27e9e1e846215ead5314237536efc1a185 ui: add configoverride context manager I feel like this idea mi

[PATCH RFC] ui: add configoverride context manager

2016-11-20 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1479658212 28800 # Sun Nov 20 08:10:12 2016 -0800 # Node ID b226d57bafe182f379b144ec4f6374fedfc124ef # Parent 141b0d27e9e1e846215ead5314237536efc1a185 ui: add configoverride context manager I feel like this idea mi

Re: [PATCH 1 of 5 shelve-ext] shelve: move temporary commit creation to a separate function

2016-11-19 Thread Kostia Balytskyi
On 11/19/16, 10:02 AM, "Yuya Nishihara" <you...@gmail.com on behalf of y...@tcha.org> wrote: On Sun, 13 Nov 2016 03:39:34 -0800, Kostia Balytskyi wrote: > # HG changeset patch > # User Kostia Balytskyi <ikos...@fb.com> > # Date 1479036952 28800

[PATCH] conflicts: make spacing consistent in conflict markers

2016-11-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1479598897 28800 # Sat Nov 19 15:41:37 2016 -0800 # Node ID 5f03a63d6def1cf3c34fa7f8979c34151a9ba660 # Parent 0c3a8b6239db2c0d6a0e9ddea2266445bca2d440 conflicts: make spacing consistent in conflict markers The way d

[PATCH 1 of 5 shelve-ext] shelve: move temporary commit creation to a separate function

2016-11-13 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi <ikos...@fb.com> # Date 1479036952 28800 # Sun Nov 13 03:35:52 2016 -0800 # Node ID 45dbc9a803375958310bced301227b02802372b0 # Parent 2188194ca1ee86953855e0d2fb9396ec18636ed9 shelve: move temporary commit creation to a separate fu

<    1   2   3   >