Re: [PATCH 7 of 7 v2] dirstate: mark {begin, end}parentchange as deprecated

2017-05-19 Thread Yuya Nishihara
On Fri, 19 May 2017 17:38:47 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1495142012 14400 > # Thu May 18 17:13:32 2017 -0400 > # Node ID 712593263a6be0c7250a2f31dbb1693084410916 > # Parent bf1e831b74a414ce05f006176c0f1d79a6f8dcd0 >

Re: [PATCH 1 of 8] cache: make the cache updated callback easily accessible to extension

2017-05-19 Thread Yuya Nishihara
On Fri, 19 May 2017 16:28:00 +0200, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1495192163 -7200 > # Fri May 19 13:09:23 2017 +0200 > # Node ID 1fe18fcc122b4d8e14264a3670d2d5f99f11bd75 > # Parent

Re: [PATCH 4 of 4] localrepo: mark walk convenience method as deprecated

2017-05-19 Thread Yuya Nishihara
On Fri, 19 May 2017 17:39:20 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1495144908 14400 > # Thu May 18 18:01:48 2017 -0400 > # Node ID 2166762eadc440a70f8bcfbae6248e2ce2712b64 > # Parent d915f006acf67a7f8f57526a697f498cea3830cc >

Re: [PATCH stateful-chg] commandserver: move _socket state to handler

2017-05-19 Thread Jun Wu
Excerpts from Yuya Nishihara's message of 2017-05-20 01:01:41 +0900: > I recalled that, thanks. Can we move the fork logic to commandserver.py? > > # unixforkingservice > mainloop: > if h.need_to_reinitialize_in_background? # reads IPC > fork > if child: >

mercurial@32326: new changeset (1 on stable)

2017-05-19 Thread Mercurial Commits
New changeset (1 on stable) in mercurial: https://www.mercurial-scm.org/repo/hg/rev/99515353c72a changeset: 32326:99515353c72a branch: stable tag: tip parent: 32207:176ed32dc159 user:Pierre-Yves David date:Wed May 17 15:39:37

Re: [PATCH 2 of 6 V2] base85: add version to help detect breaking binary changes

2017-05-19 Thread Yuya Nishihara
On Fri, 19 May 2017 08:46:09 -0700, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1493167548 25200 > # Tue Apr 25 17:45:48 2017 -0700 > # Node ID bd01a5b895000ea8791540098b38ae78bed15a2f > # Parent 90ad5352d3c20b5f463d814b46cef15512edbacb > # Available At

Re: [PATCH 2 of 2 RFC] localrepo: make it possible to use flock in a repo

2017-05-19 Thread Jun Wu
Excerpts from Gregory Szorc's message of 2017-05-19 20:49:47 -0700: > OK. I failed to understand that it is locking directories and not files. > > I don't want to go down this rat hole, but since it may help my point... > > The next store format will likely use some form of "generational store."

[PATCH 2 of 4] revlog: tweak wording and logic for flags validation

2017-05-19 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1495249850 25200 # Fri May 19 20:10:50 2017 -0700 # Node ID 26a43d84eb714ee6bba04f21c0264ded9215a3bd # Parent 40748da9c7c56836f815582cf9a367097755859d revlog: tweak wording and logic for flags validation First, the

[PATCH 4 of 4] revlog: skeleton support for version 2 revlogs

2017-05-19 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1495250951 25200 # Fri May 19 20:29:11 2017 -0700 # Node ID 410eab1d00eef1f90ec7ab5383f29c29c9f31c3e # Parent 653a47e013ae71470ae943e5c9a84e92eae0676e revlog: skeleton support for version 2 revlogs There are a number

[PATCH 1 of 4] tests: tests for revlog version and flags loading

2017-05-19 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1495249295 25200 # Fri May 19 20:01:35 2017 -0700 # Node ID 40748da9c7c56836f815582cf9a367097755859d # Parent a438f5a3bc092f54e14f45e2115a36312c2ed302 tests: tests for revlog version and flags loading We didn't have

[PATCH 3 of 4] revlog: remove some revlogNG terminology

2017-05-19 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1495250071 25200 # Fri May 19 20:14:31 2017 -0700 # Node ID 653a47e013ae71470ae943e5c9a84e92eae0676e # Parent 26a43d84eb714ee6bba04f21c0264ded9215a3bd revlog: remove some revlogNG terminology RevlogNG is not such a

Re: [PATCH 1 of 7 v2] dirstate: introduce new context manager for marking dirstate parent changes

2017-05-19 Thread Gregory Szorc
On Fri, May 19, 2017 at 2:38 PM, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1495141830 14400 > # Thu May 18 17:10:30 2017 -0400 > # Node ID 2f0dd5450eedbf11e49a529544654b3b399310c2 > # Parent

Re: [PATCH followup V2] obsmarker: add an experimental flag controlling "operation" recording

2017-05-19 Thread Yuya Nishihara
On Fri, 19 May 2017 20:48:06 -0700, Jun Wu wrote: > Excerpts from Pierre-Yves David's message of 2017-05-20 03:23:58 +0200: > > # HG changeset patch > > # User Pierre-Yves David > > # Date 1495242623 -7200 > > # Sat May 20 03:10:23 2017 +0200 > > # Node ID

Re: [PATCH] run-tests: remove references to Python 2.6

2017-05-19 Thread Yuya Nishihara
On Fri, 19 May 2017 19:47:30 -0700, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1495248405 25200 > # Fri May 19 19:46:45 2017 -0700 > # Node ID 34e910bfaf2516cbc20d7437bcfb78af56650665 > # Parent

Re: [PATCH followup V2] obsmarker: add an experimental flag controlling "operation" recording

2017-05-19 Thread Yuya Nishihara
On Sat, 20 May 2017 03:23:58 +0200, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1495242623 -7200 > # Sat May 20 03:10:23 2017 +0200 > # Node ID 678a4a8fe4f511f3707a2dd5445dbc96a07da6aa > # Parent

Re: [PATCH 2 of 2 RFC] localrepo: make it possible to use flock in a repo

2017-05-19 Thread Gregory Szorc
On Fri, May 19, 2017 at 8:26 PM, Jun Wu wrote: > Thanks for the detailed comment! Replied inline. > > Excerpts from Gregory Szorc's message of 2017-05-19 18:03:58 -0700: > > From a high level, this approach seems reasonable. There are some obvious > > missing components to the

Re: [PATCH followup V2] obsmarker: add an experimental flag controlling "operation" recording

2017-05-19 Thread Jun Wu
Excerpts from Pierre-Yves David's message of 2017-05-20 03:23:58 +0200: > # HG changeset patch > # User Pierre-Yves David > # Date 1495242623 -7200 > # Sat May 20 03:10:23 2017 +0200 > # Node ID 678a4a8fe4f511f3707a2dd5445dbc96a07da6aa > # Parent

Re: [PATCH 2 of 2 RFC] localrepo: make it possible to use flock in a repo

2017-05-19 Thread Jun Wu
Thanks for the detailed comment! Replied inline. Excerpts from Gregory Szorc's message of 2017-05-19 18:03:58 -0700: > From a high level, this approach seems reasonable. There are some obvious > missing components to the implementation: > > * Docs for the new requirement in

[PATCH] run-tests: remove references to Python 2.6

2017-05-19 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1495248405 25200 # Fri May 19 19:46:45 2017 -0700 # Node ID 34e910bfaf2516cbc20d7437bcfb78af56650665 # Parent a438f5a3bc092f54e14f45e2115a36312c2ed302 run-tests: remove references to Python 2.6 These are the obvious

[PATCH followup V2] obsmarker: add an experimental flag controlling "operation" recording

2017-05-19 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1495242623 -7200 # Sat May 20 03:10:23 2017 +0200 # Node ID 678a4a8fe4f511f3707a2dd5445dbc96a07da6aa # Parent 3546a771e376f55e7051149673d368d53d85f8d0 # EXP-Topic operation # Available At

Re: [PATCH] revlog: skeleton support for version 2 revlogs

2017-05-19 Thread Gregory Szorc
On Thu, May 18, 2017 at 10:14 PM, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1495170858 25200 > # Thu May 18 22:14:18 2017 -0700 > # Node ID 5fd154712c0ae7876c3a6427ae33acd5c2afea5e > # Parent

Re: [PATCH 2 of 2 RFC] localrepo: make it possible to use flock in a repo

2017-05-19 Thread Gregory Szorc
On Fri, May 19, 2017 at 9:33 AM, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1495051320 25200 > # Wed May 17 13:02:00 2017 -0700 > # Node ID e59c24bd146290c910945e84ac27a7cb4edbf4dd > # Parent d1ddcac58ac7085b1b0238b74e38871343730c91 > #

Re: [PATCH 2 of 2 follow-up] obsmarker: add an experimental flag controlling "operation" recording

2017-05-19 Thread Augie Fackler
> On May 19, 2017, at 17:20, Pierre-Yves David > wrote: > > # HG changeset patch > # User Pierre-Yves David > # Date 1495233591 -7200 > # Sat May 20 00:39:51 2017 +0200 > # Node ID d47f87985eac3a21b7d46f0e5d7b77390231c23c > #

Re: [PATCH 1 of 2 follow-up] obsmarker: revert the new "operation" param in favor of existing argument

2017-05-19 Thread Augie Fackler
> On May 19, 2017, at 17:20, Pierre-Yves David > wrote: > > # HG changeset patch > # User Pierre-Yves David > # Date 1495233243 -7200 > # Sat May 20 00:34:03 2017 +0200 > # Node ID b2689481ab0c840fe076834943937d9f98cc4b1b > #

[PATCH 2 of 2 follow-up] obsmarker: add an experimental flag controlling "operation" recording

2017-05-19 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1495233591 -7200 # Sat May 20 00:39:51 2017 +0200 # Node ID d47f87985eac3a21b7d46f0e5d7b77390231c23c # Parent b2689481ab0c840fe076834943937d9f98cc4b1b # EXP-Topic operation # Available At

[PATCH 1 of 2 follow-up] obsmarker: revert the new "operation" param in favor of existing argument

2017-05-19 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1495233243 -7200 # Sat May 20 00:34:03 2017 +0200 # Node ID b2689481ab0c840fe076834943937d9f98cc4b1b # Parent 3546a771e376f55e7051149673d368d53d85f8d0 # EXP-Topic operation # Available At

[PATCH 1 of 2 contrib v2] contrib: make editmergeps able to work with Windows GUI editors

2017-05-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1495238455 25200 # Fri May 19 17:00:55 2017 -0700 # Node ID a3098a10073eab5f0930e6bd6ddce6ba1de5349b # Parent 2412345e35cc0b17c98e050a480cb4b4f03bd5bb contrib: make editmergeps able to work with Windows GUI editors Using

[PATCH 2 of 2 contrib v2] contrib: make editmergeps able to work with notepad++

2017-05-19 Thread Kostia Balytskyi
# HG changeset patch # User Kostia Balytskyi # Date 1495238494 25200 # Fri May 19 17:01:34 2017 -0700 # Node ID a13cabeef7fd58cde988b70b5911f78202c9eeb7 # Parent a3098a10073eab5f0930e6bd6ddce6ba1de5349b contrib: make editmergeps able to work with notepad++ Notepad++ has a

Re: [PATCH 4 of 8] obscache: add an abstract base class for changelog+obstore cache

2017-05-19 Thread Pierre-Yves David
On 05/20/2017 12:33 AM, Augie Fackler wrote: On May 19, 2017, at 15:15, Pierre-Yves David > wrote: On 05/19/2017 11:50 PM, Augie Fackler wrote: On Fri, May 19, 2017 at 04:28:03PM +0200, Pierre-Yves David wrote: # HG

Re: [PATCH 8 of 8 V2] extensions: show deprecation warning for the use of cmdutil.command

2017-05-19 Thread Augie Fackler
On Sat, May 20, 2017 at 12:25:18AM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1452349492 -32400 > # Sat Jan 09 23:24:52 2016 +0900 > # Node ID 8fa71763798046041d385a16b45e1d5646a5293c > # Parent

Re: [PATCH 2 of 2 contrib] contrib: make editmergeps able to work with notepad++

2017-05-19 Thread Augie Fackler
> On May 19, 2017, at 15:38, Kostia Balytskyi wrote: > > > >> -Original Message- >> From: Augie Fackler [mailto:r...@durin42.com] >> Sent: Friday, 19 May, 2017 14:43 >> To: Kostia Balytskyi >> Cc: mercurial-devel@mercurial-scm.org >> Subject: Re:

RE: [PATCH 2 of 2 contrib] contrib: make editmergeps able to work with notepad++

2017-05-19 Thread Kostia Balytskyi
> -Original Message- > From: Augie Fackler [mailto:r...@durin42.com] > Sent: Friday, 19 May, 2017 14:43 > To: Kostia Balytskyi > Cc: mercurial-devel@mercurial-scm.org > Subject: Re: [PATCH 2 of 2 contrib] contrib: make editmergeps able to work > with notepad++ > > On

Re: [PATCH 4 of 8] obscache: add an abstract base class for changelog+obstore cache

2017-05-19 Thread Augie Fackler
> On May 19, 2017, at 15:15, Pierre-Yves David > wrote: > > > > On 05/19/2017 11:50 PM, Augie Fackler wrote: >> On Fri, May 19, 2017 at 04:28:03PM +0200, Pierre-Yves David wrote: >>> # HG changeset patch >>> # User Pierre-Yves David

Re: [PATCH 5 of 8] obscache: add a cache for 1/2 of the "obsolete" property

2017-05-19 Thread Augie Fackler
> On May 19, 2017, at 15:15, Pierre-Yves David > wrote: > > > > On 05/19/2017 11:53 PM, Augie Fackler wrote: >> On Fri, May 19, 2017 at 04:28:04PM +0200, Pierre-Yves David wrote: >>> # HG changeset patch >>> # User Pierre-Yves David

Re: [PATCH] obsolete: add operation metadata to rebase/amend/histedit obsmarkers

2017-05-19 Thread Jun Wu
Excerpts from Pierre-Yves David's message of 2017-05-20 00:20:08 +0200: > > If it's for divergence resolution - anyone who has the original changeset > > could figure out what to do without the obsstore flags. > > No, this is to offer informative (and zoomable) capability to look at > the

Re: [PATCH] obsolete: add operation metadata to rebase/amend/histedit obsmarkers

2017-05-19 Thread Pierre-Yves David
On 05/19/2017 10:49 PM, Jun Wu wrote: Excerpts from Pierre-Yves David's message of 2017-05-19 22:08:31 +0200: Talking about perfection, I also don't think the 3 bits: parent-change, content-change and metadata-change is a good abstraction. Because they are redundant data. They can be

Re: [PATCH] obsolete: add operation metadata to rebase/amend/histedit obsmarkers

2017-05-19 Thread Augie Fackler
> On May 19, 2017, at 15:16, Pierre-Yves David > wrote: > > I would greatly prefer that we focus our experimenting with the (available) > effect-flag approach. Nobody is saying that you can't try that, and if it works out that'll be great. I'm unwilling to

Re: [PATCH] obsolete: add operation metadata to rebase/amend/histedit obsmarkers

2017-05-19 Thread Pierre-Yves David
On 05/19/2017 07:22 PM, Augie Fackler wrote: On May 19, 2017, at 10:17, Jun Wu wrote: Excerpts from Gregory Szorc's message of 2017-05-19 09:51:46 -0700: I agree with Pierre-Yves that the bit-based solution seems better long-term. I'm not particularly worried about wasting

Re: [PATCH 5 of 8] obscache: add a cache for 1/2 of the "obsolete" property

2017-05-19 Thread Pierre-Yves David
On 05/19/2017 11:53 PM, Augie Fackler wrote: On Fri, May 19, 2017 at 04:28:04PM +0200, Pierre-Yves David wrote: # HG changeset patch # User Pierre-Yves David # Date 1495197986 -7200 # Fri May 19 14:46:26 2017 +0200 # Node ID

Re: [PATCH 4 of 8] obscache: add an abstract base class for changelog+obstore cache

2017-05-19 Thread Pierre-Yves David
On 05/19/2017 11:50 PM, Augie Fackler wrote: On Fri, May 19, 2017 at 04:28:03PM +0200, Pierre-Yves David wrote: # HG changeset patch # User Pierre-Yves David # Date 1495194829 -7200 # Fri May 19 13:53:49 2017 +0200 # Node ID

Re: [PATCH 2 of 2] fsmonitor: don't attempt state-leave if we didn't state-enter

2017-05-19 Thread Augie Fackler
On Thu, May 18, 2017 at 02:22:03PM -0700, Wez Furlong wrote: > # HG changeset patch > # User Wez Furlong > # Date 1495136950 25200 > # Thu May 18 12:49:10 2017 -0700 > # Node ID 726d02dfef6afc7030243cdbd43a4fc2ffb8be86 > # Parent f4b76c106f3af915667db7696e27780601e93074 >

Re: [PATCH 8 of 8] obscache: use the obscache to compute the obsolete set

2017-05-19 Thread Augie Fackler
On Fri, May 19, 2017 at 04:28:07PM +0200, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1495198021 -7200 > # Fri May 19 14:47:01 2017 +0200 > # Node ID f1082c7b4a2eb56f9bddfabacc7c5b3fefd19c75 > # Parent

Re: [PATCH 5 of 8] obscache: add a cache for 1/2 of the "obsolete" property

2017-05-19 Thread Augie Fackler
On Fri, May 19, 2017 at 04:28:04PM +0200, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1495197986 -7200 > # Fri May 19 14:46:26 2017 +0200 > # Node ID c2b1c81b3c4cba8cc21b1a1b92f4e34e6aa1807a > # Parent

Re: [PATCH 4 of 8] obscache: add an abstract base class for changelog+obstore cache

2017-05-19 Thread Augie Fackler
On Fri, May 19, 2017 at 04:28:03PM +0200, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1495194829 -7200 > # Fri May 19 13:53:49 2017 +0200 > # Node ID b5c984cd0640255b94f22d56a4bfe398b2c5de2e > # Parent

Re: [PATCH 2 of 2] obscheckhead: skip context creation to test phase

2017-05-19 Thread Augie Fackler
On Fri, May 19, 2017 at 12:46:04PM +0200, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1495190114 -7200 > # Fri May 19 12:35:14 2017 +0200 > # Node ID b88f7405eb381246abf6e2a6667f60e2612304c7 > # Parent

Re: [PATCH 2 of 2 contrib] contrib: make editmergeps able to work with notepad++

2017-05-19 Thread Augie Fackler
On Thu, May 18, 2017 at 04:06:08PM -0700, Kostia Balytskyi wrote: > # HG changeset patch > # User Kostia Balytskyi > # Date 1495148281 25200 > # Thu May 18 15:58:01 2017 -0700 > # Node ID f715f6839ba2b93193334145e677d13a0f99cf89 > # Parent

[PATCH 1 of 4] largefiles: use repo[None].walk instead of repo.walk

2017-05-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1495144838 14400 # Thu May 18 18:00:38 2017 -0400 # Node ID ea89086c4346e5f38bb1ccb4ea5fa0239ab0c931 # Parent 531e6a57abd252bef59a5921e3761f1e5d80abba largefiles: use repo[None].walk instead of repo.walk diff --git

[PATCH 3 of 4] debugcommands: use repo[None].walk instead of repo.walk

2017-05-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1495144861 14400 # Thu May 18 18:01:01 2017 -0400 # Node ID d915f006acf67a7f8f57526a697f498cea3830cc # Parent fbe9d489a31ebac315164fbbb11989ab48faee43 debugcommands: use repo[None].walk instead of repo.walk diff --git

[PATCH 4 of 4] localrepo: mark walk convenience method as deprecated

2017-05-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1495144908 14400 # Thu May 18 18:01:48 2017 -0400 # Node ID 2166762eadc440a70f8bcfbae6248e2ce2712b64 # Parent d915f006acf67a7f8f57526a697f498cea3830cc localrepo: mark walk convenience method as deprecated diff --git

[PATCH 2 of 4] cmdutil: use repo[None].walk instead of repo.walk

2017-05-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1495144852 14400 # Thu May 18 18:00:52 2017 -0400 # Node ID fbe9d489a31ebac315164fbbb11989ab48faee43 # Parent ea89086c4346e5f38bb1ccb4ea5fa0239ab0c931 cmdutil: use repo[None].walk instead of repo.walk diff --git

[PATCH 6 of 7 v2] merge: migrate to context manager for changing dirstate parents

2017-05-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1495141884 14400 # Thu May 18 17:11:24 2017 -0400 # Node ID bf1e831b74a414ce05f006176c0f1d79a6f8dcd0 # Parent 5bd022476c63199c76166cb6157b5923181a5290 merge: migrate to context manager for changing dirstate parents diff

[PATCH 7 of 7 v2] dirstate: mark {begin, end}parentchange as deprecated

2017-05-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1495142012 14400 # Thu May 18 17:13:32 2017 -0400 # Node ID 712593263a6be0c7250a2f31dbb1693084410916 # Parent bf1e831b74a414ce05f006176c0f1d79a6f8dcd0 dirstate: mark {begin,end}parentchange as deprecated diff --git

[PATCH 3 of 7 v2] rebase: migrate to context manager for changing dirstate parents

2017-05-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1495141861 14400 # Thu May 18 17:11:01 2017 -0400 # Node ID 96a232ad4958bad1de7366360fecac987ca51721 # Parent f495181d4e42e53d4f3b1a9ca5132ff6f7703890 rebase: migrate to context manager for changing dirstate parents diff

[PATCH 2 of 7 v2] mq: migrate to context manager for changing dirstate parents

2017-05-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1495141853 14400 # Thu May 18 17:10:53 2017 -0400 # Node ID f495181d4e42e53d4f3b1a9ca5132ff6f7703890 # Parent 2f0dd5450eedbf11e49a529544654b3b399310c2 mq: migrate to context manager for changing dirstate parents diff --git

[PATCH 4 of 7 v2] context: migrate to context manager for changing dirstate parents

2017-05-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1495141867 14400 # Thu May 18 17:11:07 2017 -0400 # Node ID 3a82feb644a3cc6c6b9e81a28a155ceb204e0ca5 # Parent 96a232ad4958bad1de7366360fecac987ca51721 context: migrate to context manager for changing dirstate parents diff

[PATCH 1 of 7 v2] dirstate: introduce new context manager for marking dirstate parent changes

2017-05-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1495141830 14400 # Thu May 18 17:10:30 2017 -0400 # Node ID 2f0dd5450eedbf11e49a529544654b3b399310c2 # Parent 531e6a57abd252bef59a5921e3761f1e5d80abba dirstate: introduce new context manager for marking dirstate parent

[PATCH 5 of 7 v2] localrepo: migrate to context manager for changing dirstate parents

2017-05-19 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1495141874 14400 # Thu May 18 17:11:14 2017 -0400 # Node ID 5bd022476c63199c76166cb6157b5923181a5290 # Parent 3a82feb644a3cc6c6b9e81a28a155ceb204e0ca5 localrepo: migrate to context manager for changing dirstate parents diff

Re: [PATCH] run-tests: allow hg executable to be hg.exe

2017-05-19 Thread Augie Fackler
On Wed, May 17, 2017 at 04:07:02PM -0500, Sean Farley wrote: > Kostia Balytskyi writes: > > > # HG changeset patch > > # User Kostia Balytskyi > > # Date 1495050700 25200 > > # Wed May 17 12:51:40 2017 -0700 > > # Node ID

mercurial@32325: 9 new changesets

2017-05-19 Thread Mercurial Commits
9 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/6587427b2018 changeset: 32317:6587427b2018 user:Stanislau Hlebik date:Fri May 19 03:47:43 2017 -0700 summary: filemerge: store error messages in module variables

Re: [PATCH] obsolete: add operation metadata to rebase/amend/histedit obsmarkers

2017-05-19 Thread Jun Wu
Excerpts from Pierre-Yves David's message of 2017-05-19 22:08:31 +0200: > > Talking about perfection, I also don't think the 3 bits: parent-change, > > content-change and metadata-change is a good abstraction. > > > > Because they are redundant data. They can be calculated afterwards, in a > >

[Bug 5572] New: hg files does not honor ui.slash=true

2017-05-19 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5572 Bug ID: 5572 Summary: hg files does not honor ui.slash=true Product: Mercurial Version: default branch Hardware: All OS: Windows Status: UNCONFIRMED

mercurial@32316: 15 new changesets

2017-05-19 Thread Mercurial Commits
15 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/8627cf4de929 changeset: 32302:8627cf4de929 user:Martin von Zweigbergk date:Tue May 16 14:40:22 2017 -0700 summary: run-tests: drop fallback for sysconfig for pre-py2.7

Re: [PATCH] obsolete: add operation metadata to rebase/amend/histedit obsmarkers

2017-05-19 Thread Pierre-Yves David
On 05/19/2017 06:54 PM, Jun Wu wrote: Excerpts from Martin von Zweigbergk's message of 2017-05-19 09:39:41 -0700: I agree with Pierre-Yves that the bit-based solution seems better long-term. I'm not particularly worried about wasting bits. I was also happy for Durham's patch as a short-term

Re: [PATCH] obsolete: add operation metadata to rebase/amend/histedit obsmarkers

2017-05-19 Thread Pierre-Yves David
On 05/19/2017 07:17 PM, Jun Wu wrote: Excerpts from Gregory Szorc's message of 2017-05-19 09:51:46 -0700: I agree with Pierre-Yves that the bit-based solution seems better long-term. I'm not particularly worried about wasting bits. I was also happy for Durham's patch as a short-term solution.

Re: [PATCH 2 of 6] transaction: use unfiltered changelog length for transaction start

2017-05-19 Thread Pierre-Yves David
On 05/18/2017 08:23 PM, Durham Goode wrote: # HG changeset patch # User Durham Goode # Date 1495129620 25200 # Thu May 18 10:47:00 2017 -0700 # Node ID 35235b1cefb101dad0672a4c4ee9486fba8b935b # Parent 19be454ee16925d01da8f9d329cb48556083da1b transaction: use unfiltered

Re: [PATCH] obsolete: add operation metadata to rebase/amend/histedit obsmarkers

2017-05-19 Thread Boris Feld
On Fri, 2017-05-19 at 09:39 -0700, Martin von Zweigbergk via Mercurial- devel wrote: > On Thu, May 18, 2017 at 6:18 AM, Augie Fackler > wrote: > > > > > On May 18, 2017, at 04:46, Pierre-Yves David > > ns-lyon.org> wrote: > > > > > > > >    I would

Re: [PATCH evolve-ext] label: make sure labelled message is a string

2017-05-19 Thread Pierre-Yves David
On 05/19/2017 06:06 PM, Martin von Zweigbergk via Mercurial-devel wrote: # HG changeset patch # User Martin von Zweigbergk # Date 1495209634 25200 # Fri May 19 09:00:34 2017 -0700 # Node ID 100581f7a6dd2a66e4ddc27e8f72dfd2cd84b4ed # Parent

Re: [PATCH] obsolete: add operation metadata to rebase/amend/histedit obsmarkers

2017-05-19 Thread Martin von Zweigbergk via Mercurial-devel
On Fri, May 19, 2017 at 10:17 AM, Jun Wu wrote: > Excerpts from Gregory Szorc's message of 2017-05-19 09:51:46 -0700: >> > I agree with Pierre-Yves that the bit-based solution seems better >> > long-term. I'm not particularly worried about wasting bits. I was also >> > happy for

Re: [PATCH] obsolete: add operation metadata to rebase/amend/histedit obsmarkers

2017-05-19 Thread Augie Fackler
> On May 19, 2017, at 10:17, Jun Wu wrote: > > Excerpts from Gregory Szorc's message of 2017-05-19 09:51:46 -0700: >>> I agree with Pierre-Yves that the bit-based solution seems better >>> long-term. I'm not particularly worried about wasting bits. I was also >>> happy for

Re: [PATCH] obsolete: add operation metadata to rebase/amend/histedit obsmarkers

2017-05-19 Thread Jun Wu
Excerpts from Gregory Szorc's message of 2017-05-19 09:51:46 -0700: > > I agree with Pierre-Yves that the bit-based solution seems better > > long-term. I'm not particularly worried about wasting bits. I was also > > happy for Durham's patch as a short-term solution. But since > > Pierre-Yves et

Re: [PATCH] obsolete: add operation metadata to rebase/amend/histedit obsmarkers

2017-05-19 Thread Martin von Zweigbergk via Mercurial-devel
On Fri, May 19, 2017 at 9:54 AM, Jun Wu wrote: > Excerpts from Martin von Zweigbergk's message of 2017-05-19 09:39:41 -0700: >> I agree with Pierre-Yves that the bit-based solution seems better >> long-term. I'm not particularly worried about wasting bits. I was also >> happy for

Re: [PATCH] obsolete: add operation metadata to rebase/amend/histedit obsmarkers

2017-05-19 Thread Jun Wu
Excerpts from Martin von Zweigbergk's message of 2017-05-19 09:39:41 -0700: > I agree with Pierre-Yves that the bit-based solution seems better > long-term. I'm not particularly worried about wasting bits. I was also > happy for Durham's patch as a short-term solution. But since > Pierre-Yves et

Re: [PATCH] obsolete: add operation metadata to rebase/amend/histedit obsmarkers

2017-05-19 Thread Gregory Szorc
> On May 19, 2017, at 09:39, Martin von Zweigbergk > wrote: > >> On Thu, May 18, 2017 at 6:18 AM, Augie Fackler wrote: >> >>> On May 18, 2017, at 04:46, Pierre-Yves David >>> wrote: >>> > I would recommend the

Re: [PATCH 2 of 2 RFC] localrepo: make it possible to use flock in a repo

2017-05-19 Thread Jun Wu
Excerpts from Jun Wu's message of 2017-05-19 09:33:12 -0700: > Note: in weird setups, like .hg/store lives on NFS when .hg is on local > disk, the lock is not safe. But we have broken locks on that setup already, > so this patch is at least not making things worse. It even makes things > better in

Re: [PATCH] obsolete: add operation metadata to rebase/amend/histedit obsmarkers

2017-05-19 Thread Martin von Zweigbergk via Mercurial-devel
On Thu, May 18, 2017 at 6:18 AM, Augie Fackler wrote: > >> On May 18, 2017, at 04:46, Pierre-Yves David >> wrote: >> I would recommend the following step forward: 1) add a simple "rewritten as" template, 2) record

[PATCH evolve-ext] label: make sure labelled message is a string

2017-05-19 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1495209634 25200 # Fri May 19 09:00:34 2017 -0700 # Node ID 100581f7a6dd2a66e4ddc27e8f72dfd2cd84b4ed # Parent 80b5fc054219d17f33c3d2fda6d46d3c5fe9908a label: make sure labelled message is a string When color is

[PATCH 1 of 2 RFC] lock: support flock

2017-05-19 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1495048786 25200 # Wed May 17 12:19:46 2017 -0700 # Node ID d1ddcac58ac7085b1b0238b74e38871343730c91 # Parent 763d7292569138886c3fdf179f7e688351bfb212 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 2 of 2 RFC] localrepo: make it possible to use flock in a repo

2017-05-19 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1495051320 25200 # Wed May 17 13:02:00 2017 -0700 # Node ID e59c24bd146290c910945e84ac27a7cb4edbf4dd # Parent d1ddcac58ac7085b1b0238b74e38871343730c91 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

Re: [PATCH 1 of 4] match: make _fileroots a @propertycache and rename it to _fileset

2017-05-19 Thread Martin von Zweigbergk via Mercurial-devel
On Fri, May 19, 2017 at 9:07 AM, Yuya Nishihara wrote: > On Fri, 19 May 2017 08:37:06 -0700, Martin von Zweigbergk wrote: >> On Fri, May 19, 2017 at 7:32 AM, Yuya Nishihara wrote: >> > On Thu, 18 May 2017 11:03:43 -0700, Martin von Zweigbergk via >> >

Re: [PATCH 1 of 4] match: make _fileroots a @propertycache and rename it to _fileset

2017-05-19 Thread Yuya Nishihara
On Fri, 19 May 2017 08:37:06 -0700, Martin von Zweigbergk wrote: > On Fri, May 19, 2017 at 7:32 AM, Yuya Nishihara wrote: > > On Thu, 18 May 2017 11:03:43 -0700, Martin von Zweigbergk via > > Mercurial-devel wrote: > >> # HG changeset patch > >> # User Martin von Zweigbergk

Re: [PATCH stateful-chg] commandserver: move _socket state to handler

2017-05-19 Thread Yuya Nishihara
On Thu, 18 May 2017 09:42:44 -0700, Jun Wu wrote: > Excerpts from Yuya Nishihara's message of 2017-05-18 22:59:37 +0900: > > Can you give some pointers to understand how getsocket() will be used in > > chg? > > # service.mainloop > while not shouldexit: > sock = handler.getsocket() > #

[PATCH 2 of 6 V2] base85: add version to help detect breaking binary changes

2017-05-19 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1493167548 25200 # Tue Apr 25 17:45:48 2017 -0700 # Node ID bd01a5b895000ea8791540098b38ae78bed15a2f # Parent 90ad5352d3c20b5f463d814b46cef15512edbacb # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 4 of 6 V2] mpatch: add version to help detect breaking binary changes

2017-05-19 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1493167116 25200 # Tue Apr 25 17:38:36 2017 -0700 # Node ID 1cf8daf6404e811cf222f8075edf38265d2bd4c9 # Parent f9661db975a2e410b860d919ac6436af72b728c3 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 5 of 6 V2] osutil: add version to help detect breaking binary changes

2017-05-19 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1493167019 25200 # Tue Apr 25 17:36:59 2017 -0700 # Node ID 358a98a28d54b4c7c193e4f631641243d7f55dc7 # Parent 1cf8daf6404e811cf222f8075edf38265d2bd4c9 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

Re: [PATCH 1 of 4] match: make _fileroots a @propertycache and rename it to _fileset

2017-05-19 Thread Martin von Zweigbergk via Mercurial-devel
On Fri, May 19, 2017 at 7:32 AM, Yuya Nishihara wrote: > On Thu, 18 May 2017 11:03:43 -0700, Martin von Zweigbergk via Mercurial-devel > wrote: >> # HG changeset patch >> # User Martin von Zweigbergk >> # Date 1495123477 25200 >> # Thu May 18 09:04:37

Re: [PATCH 1 of 6] gendoc: make sure locale path is set before loading any modules

2017-05-19 Thread Yuya Nishihara
On Thu, 18 May 2017 21:16:13 -0700, Martin von Zweigbergk wrote: > On Sat, May 13, 2017 at 10:53 AM, Gregory Szorc > wrote: > > On Sat, May 13, 2017 at 2:57 AM, Yuya Nishihara wrote: > >> > >> # HG changeset patch > >> # User Yuya Nishihara

[PATCH 7 of 8 V2] extensions: prohibit registration of command without using @command (API)

2017-05-19 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1494657710 -32400 # Sat May 13 15:41:50 2017 +0900 # Node ID fd9a80f0a473c47983f5312ad20ce01b1f259630 # Parent 9f15f34651048238771830b2b476099c308f2676 extensions: prohibit registration of command without using @command (API)

[PATCH 4 of 8 V2] registrar: unindent superfluous "if True" block

2017-05-19 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1494249296 -32400 # Mon May 08 22:14:56 2017 +0900 # Node ID 20915a6569f9e28fd033dd21c0267deaaafdcaee # Parent 3317964fa88c21a59e7181228773f63ac27480eb registrar: unindent superfluous "if True" block diff --git

[PATCH 5 of 8 V2] error: add hint to ProgrammingError

2017-05-19 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1494744087 -32400 # Sun May 14 15:41:27 2017 +0900 # Node ID a084f404ccae65bc7a067f122dcce79c80c51328 # Parent 20915a6569f9e28fd033dd21c0267deaaafdcaee error: add hint to ProgrammingError As the hint isn't shown by the

[PATCH 8 of 8 V2] extensions: show deprecation warning for the use of cmdutil.command

2017-05-19 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1452349492 -32400 # Sat Jan 09 23:24:52 2016 +0900 # Node ID 8fa71763798046041d385a16b45e1d5646a5293c # Parent fd9a80f0a473c47983f5312ad20ce01b1f259630 extensions: show deprecation warning for the use of cmdutil.command Since

[PATCH 6 of 8 V2] extensions: optionally print hint on import failure

2017-05-19 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1494744405 -32400 # Sun May 14 15:46:45 2017 +0900 # Node ID 9f15f34651048238771830b2b476099c308f2676 # Parent a084f404ccae65bc7a067f122dcce79c80c51328 extensions: optionally print hint on import failure Test will be added by

[PATCH 2 of 8 V2] registrar: move cmdutil.command to registrar module (API)

2017-05-19 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1452348440 -32400 # Sat Jan 09 23:07:20 2016 +0900 # Node ID cda425df1285840b30421dfa1959a6757855137a # Parent 329d4934ca617e7044d1e5be2daa664043a97078 registrar: move cmdutil.command to registrar module (API) cmdutil.command

[PATCH 3 of 8 V2] registrar: switch @command decorator to class

2017-05-19 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1494248920 -32400 # Mon May 08 22:08:40 2017 +0900 # Node ID 3317964fa88c21a59e7181228773f63ac27480eb # Parent cda425df1285840b30421dfa1959a6757855137a registrar: switch @command decorator to class It overrides

[PATCH 2 of 3] revlog: raise WdirRevNotSupportedError when wdirrev is passed

2017-05-19 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1495201326 -19800 # Fri May 19 19:12:06 2017 +0530 # Node ID e2a67243cdbcfef442f53ac8a566c91b9e34a93d # Parent 10bab5388a7f11060a76c10d28d60578b428fdb0 revlog: raise WdirRevNotSupportedError when wdirrev is passed diff

[PATCH 3 of 3] revset: make `hg log -r 'wdir()^'` work (issue4905)

2017-05-19 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1495204605 -19800 # Fri May 19 20:06:45 2017 +0530 # Node ID 9310019e4eb9ae6e7d740da88d89112ce85f7dd0 # Parent e2a67243cdbcfef442f53ac8a566c91b9e34a93d revset: make `hg log -r 'wdir()^'` work (issue4905) diff --git

[PATCH 1 of 3] error: add a new exception named WdirRevNotSupportedError

2017-05-19 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1495201237 -19800 # Fri May 19 19:10:37 2017 +0530 # Node ID 10bab5388a7f11060a76c10d28d60578b428fdb0 # Parent 67026d65a4fcea1a121930b9736469687c095e3e error: add a new exception named WdirRevNotSupportedError This error

Re: [PATCH 1 of 4] match: make _fileroots a @propertycache and rename it to _fileset

2017-05-19 Thread Yuya Nishihara
On Thu, 18 May 2017 11:03:43 -0700, Martin von Zweigbergk via Mercurial-devel wrote: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1495123477 25200 > # Thu May 18 09:04:37 2017 -0700 > # Node ID 48275b23f01283fdf1ae6e630c2c63660528edfc > # Parent

[PATCH 7 of 8] obscache: instantiate the cache and keep it warm

2017-05-19 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1495198006 -7200 # Fri May 19 14:46:46 2017 +0200 # Node ID f41a5dbded63f3c721456187b88c49cd90f5ad53 # Parent 762eaca9a0234992c50b2929a91a0ba24b93bab4 # EXP-Topic obscache # Available At

[PATCH 2 of 8] obsolete: move the 'isenabled' function at the top of the file

2017-05-19 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1495192362 -7200 # Fri May 19 13:12:42 2017 +0200 # Node ID 0aed424624f8c7905951d964579df2088b82abc8 # Parent 1fe18fcc122b4d8e14264a3670d2d5f99f11bd75 # EXP-Topic obscache # Available At

[PATCH 4 of 8] obscache: add an abstract base class for changelog+obstore cache

2017-05-19 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1495194829 -7200 # Fri May 19 13:53:49 2017 +0200 # Node ID b5c984cd0640255b94f22d56a4bfe398b2c5de2e # Parent c67d3438f0d1ee56437ab0cffd49b02f441f876e # EXP-Topic obscache # Available At

  1   2   >