[PATCH 1 of 6] merge: pass wctx to batchremove and batchget

2017-06-25 Thread Phil Cohen
# HG changeset patch # User Phil Cohen # Date 1498435009 25200 # Sun Jun 25 16:56:49 2017 -0700 # Node ID 4153ee913fcbcc4465c09a7b39d0520252b3e0a7 # Parent c6eb0d49ae8fa4ff00859bce37253225d4ecbba7 merge: pass wctx to batchremove and batchget We would like to migrate direct calls of repo.wvf

[PATCH 3 of 6] merge: convert repo.wwrite() calls to wctx[f].write()

2017-06-25 Thread Phil Cohen
# HG changeset patch # User Phil Cohen # Date 1498435215 25200 # Sun Jun 25 17:00:15 2017 -0700 # Node ID 5de156099f329b1296e8cbddd48278d2eab5159e # Parent 27b3d6c945ab47745d89b21e5b4f1bc66f53c4a1 merge: convert repo.wwrite() calls to wctx[f].write() As with the previous patch in this serie

[PATCH 6 of 6] workingfilectx: add audit() as a wrapper for wvfs.audit()

2017-06-25 Thread Phil Cohen
# HG changeset patch # User Phil Cohen # Date 1498455014 25200 # Sun Jun 25 22:30:14 2017 -0700 # Node ID d2f2b5a60476e18e69fdcd76ac296d37bb69b112 # Parent 8ef73d9c80f5be80fbcce7161295a4d6f1eb96f6 workingfilectx: add audit() as a wrapper for wvfs.audit() diff --git a/mercurial/context.py b/

[PATCH 2 of 6] merge: replace repo.wvfs.unlinkpath() with calls to wctx[f].remove()

2017-06-25 Thread Phil Cohen
# HG changeset patch # User Phil Cohen # Date 1498435106 25200 # Sun Jun 25 16:58:26 2017 -0700 # Node ID 27b3d6c945ab47745d89b21e5b4f1bc66f53c4a1 # Parent 4153ee913fcbcc4465c09a7b39d0520252b3e0a7 merge: replace repo.wvfs.unlinkpath() with calls to wctx[f].remove() The code inside workingfi

[PATCH 4 of 6] merge: change repo.wvfs.setflags calls to a new wctx[f].setflags function

2017-06-25 Thread Phil Cohen
# HG changeset patch # User Phil Cohen # Date 1498454949 25200 # Sun Jun 25 22:29:09 2017 -0700 # Node ID 6f9cbb96b39bc21c9685573dfd30f782da3d79b4 # Parent 5de156099f329b1296e8cbddd48278d2eab5159e merge: change repo.wvfs.setflags calls to a new wctx[f].setflags function As with previous cha

[PATCH 5 of 6] workingfilectx: add backgroundclose as a kwarg to write()

2017-06-25 Thread Phil Cohen
# HG changeset patch # User Phil Cohen # Date 1498455014 25200 # Sun Jun 25 22:30:14 2017 -0700 # Node ID 8ef73d9c80f5be80fbcce7161295a4d6f1eb96f6 # Parent 6f9cbb96b39bc21c9685573dfd30f782da3d79b4 workingfilectx: add backgroundclose as a kwarg to write() This is necessary because some calle

[PATCH] show: config option to register aliases for views

2017-06-25 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1498454437 25200 # Sun Jun 25 22:20:37 2017 -0700 # Node ID 6546ab6d7a9aaa4266d1decf3da1501153be796b # Parent ef46d432e2e4cfecafb1faa4765254bf0650d4ef show: config option to register aliases for views As part of using `hg show` in my daily wo

mercurial@33054: new changeset

2017-06-25 Thread Mercurial Commits
New changeset in mercurial: https://www.mercurial-scm.org/repo/hg/rev/a49ab7f5e7e7 changeset: 33054:a49ab7f5e7e7 bookmark:@ tag: tip user:Matt Harbison date:Sun Jun 25 17:46:35 2017 -0400 summary: identify: rename 'changed' keyword -> 'dirty' -- Repository URL:

Re: [PATCH 1 of 6] configitems: extract the logic to build a registrar on any configtable

2017-06-25 Thread Martin von Zweigbergk via Mercurial-devel
On Thu, Jun 22, 2017 at 12:34 AM, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1497699533 -7200 > # Sat Jun 17 13:38:53 2017 +0200 > # Node ID 1b9be14a52e0789ffbaae58252f0b753fe213f86 > # Parent 698542a0f8e8e7270661fbe20d53085d967f5305 > # EXP-Topic co

Re: [PATCH 1 of 3] identify: change p1/p2 to a list of parents

2017-06-25 Thread Matt Harbison
On Sun, 25 Jun 2017 21:48:02 -0400, Yuya Nishihara wrote: # HG changeset patch # User Yuya Nishihara # Date 1498436335 -32400 # Mon Jun 26 09:18:55 2017 +0900 # Node ID 556d2afe74385fe2a6dd7cdff5651080a827813f # Parent a49ab7f5e7e765a94a1dfab2ee3b1da695789eb6 identify: change p1/p2 to a

[PATCH 2 of 3] formatter: proxy fm.context() through converter

2017-06-25 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1498437181 -32400 # Mon Jun 26 09:33:01 2017 +0900 # Node ID 8407931dc104dd45e7c7d6661710e108c59ce001 # Parent 556d2afe74385fe2a6dd7cdff5651080a827813f formatter: proxy fm.context() through converter Otherwise nested template formatter would

[PATCH 1 of 3] identify: change p1/p2 to a list of parents

2017-06-25 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1498436335 -32400 # Mon Jun 26 09:18:55 2017 +0900 # Node ID 556d2afe74385fe2a6dd7cdff5651080a827813f # Parent a49ab7f5e7e765a94a1dfab2ee3b1da695789eb6 identify: change p1/p2 to a list of parents It makes sense because the nested data struct

[PATCH 3 of 3] identify: provide changectx to templater

2017-06-25 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1498437436 -32400 # Mon Jun 26 09:37:16 2017 +0900 # Node ID 6ec9639b1930a6433daac5f5332c494cb5e31917 # Parent 8407931dc104dd45e7c7d6661710e108c59ce001 identify: provide changectx to templater diff --git a/mercurial/commands.py b/mercurial/c

Re: [PATCH] identify: add template support

2017-06-25 Thread Yuya Nishihara
On Sun, 25 Jun 2017 20:47:45 -0400, Matt Harbison wrote: > On Sun, 25 Jun 2017 20:41:21 -0400, Yuya Nishihara wrote: > > > On Sun, 25 Jun 2017 16:20:46 -0400, Matt Harbison wrote: > >> On Sun, 25 Jun 2017 08:19:29 -0400, Yuya Nishihara > >> wrote: > >> > >> > On Sun, 25 Jun 2017 01:23:41 -0400

Re: [PATCH] identify: add template support

2017-06-25 Thread Matt Harbison
On Sun, 25 Jun 2017 20:41:21 -0400, Yuya Nishihara wrote: On Sun, 25 Jun 2017 16:20:46 -0400, Matt Harbison wrote: On Sun, 25 Jun 2017 08:19:29 -0400, Yuya Nishihara wrote: > On Sun, 25 Jun 2017 01:23:41 -0400, Matt Harbison wrote: >> # HG changeset patch >> # User Matt Harbison >> # Date

Re: [PATCH] identify: rename 'changed' keyword -> 'dirty'

2017-06-25 Thread Yuya Nishihara
On Sun, 25 Jun 2017 18:59:38 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1498427195 14400 > # Sun Jun 25 17:46:35 2017 -0400 > # Node ID a49ab7f5e7e765a94a1dfab2ee3b1da695789eb6 > # Parent ef46d432e2e4cfecafb1faa4765254bf0650d4ef > identify: rename 'cha

Re: [PATCH] identify: add template support

2017-06-25 Thread Yuya Nishihara
On Sun, 25 Jun 2017 16:20:46 -0400, Matt Harbison wrote: > On Sun, 25 Jun 2017 08:19:29 -0400, Yuya Nishihara wrote: > > > On Sun, 25 Jun 2017 01:23:41 -0400, Matt Harbison wrote: > >> # HG changeset patch > >> # User Matt Harbison > >> # Date 1498360161 14400 > >> # Sat Jun 24 23:09:21 201

Re: [PATCH 2 of 3] extensions: register functions always at loading extension (issue5601)

2017-06-25 Thread Matt Harbison
On Fri, 23 Jun 2017 13:48:56 -0400, FUJIWARA Katsunori wrote: # HG changeset patch # User FUJIWARA Katsunori # Date 1498239560 -32400 # Sat Jun 24 02:39:20 2017 +0900 # Node ID bd02107d5a20adff17f744a422b2530284215a7a # Parent 5808466886a165460b52de226ab5d3c4c1379692 extensions: regist

mercurial@33053: 11 new changesets

2017-06-25 Thread Mercurial Commits
11 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/18c2489ac96d changeset: 33043:18c2489ac96d user:Martin von Zweigbergk date:Thu Jun 22 15:00:19 2017 -0700 summary: bundle: make applybundle() delegate v1 bundles to applybundle1() https://www.mercuria

[PATCH] identify: rename 'changed' keyword -> 'dirty'

2017-06-25 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1498427195 14400 # Sun Jun 25 17:46:35 2017 -0400 # Node ID a49ab7f5e7e765a94a1dfab2ee3b1da695789eb6 # Parent ef46d432e2e4cfecafb1faa4765254bf0650d4ef identify: rename 'changed' keyword -> 'dirty' I meant to do this before sending the initial

[PATCH 2 of 2] scmutil: add a cleanupnodes method for developers

2017-06-25 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1498422716 25200 # Sun Jun 25 13:31:56 2017 -0700 # Node ID c96acc70ab665ea76c4154b793c4071c4c57da1e # Parent b70ebbb5b3ffb417d8fe13548b39c9196fadda1f # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull https://bitbucket.or

[PATCH 1 of 2] strip: add a delayedstrip method that works in a transaction

2017-06-25 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1498412325 25200 # Sun Jun 25 10:38:45 2017 -0700 # Node ID b70ebbb5b3ffb417d8fe13548b39c9196fadda1f # Parent 87db210d4a5ade8d5d8b288a0c7fa65b79eedc08 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull https://bitbucket.or

Re: [PATCH] identify: add template support

2017-06-25 Thread Matt Harbison
On Sun, 25 Jun 2017 08:19:29 -0400, Yuya Nishihara wrote: On Sun, 25 Jun 2017 01:23:41 -0400, Matt Harbison wrote: # HG changeset patch # User Matt Harbison # Date 1498360161 14400 # Sat Jun 24 23:09:21 2017 -0400 # Node ID 1e917448c8d5c36f19c41bc83793df3e92477ede # Parent 8299eb9b08c79

[Bug 5607] New: revsetlang "-" "+" should be left to right operations

2017-06-25 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5607 Bug ID: 5607 Summary: revsetlang "-" "+" should be left to right operations Product: Mercurial Version: default branch Hardware: All OS: All Status: UNCONFIRMED

[PATCH] rev: C implementation of delta chain resolution

2017-06-25 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1498419694 25200 # Sun Jun 25 12:41:34 2017 -0700 # Node ID 9e98095e4daca1f22c70f5374d1110c81be98cc4 # Parent 8e3021fd1a44e48a4720bb6fa4538fba399ad213 rev: C implementation of delta chain resolution I've seen revlog._deltachain() appear in a

[PATCH 7 of 9] keyword: obtain kwtemplater instance via repository at runtime

2017-06-25 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1498416290 -32400 # Mon Jun 26 03:44:50 2017 +0900 # Node ID ec9915b24ba6de7c5bb4464912a11e46950aad60 # Parent ec02b73c11a5824c23be7fa20834bc1a20eac19e keyword: obtain kwtemplater instance via repository at runtime Wrapper functions of k

[PATCH 5 of 9] keyword: make wrapped repository and kwtemplater refer to each other

2017-06-25 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1498416137 -32400 # Mon Jun 26 03:42:17 2017 +0900 # Node ID 0a1031814123dd19212a48d26130e4b790baf3d1 # Parent 133d12414af420ccfb9c2353877c1efc1903d00e keyword: make wrapped repository and kwtemplater refer to each other Wrapper function

[PATCH 6 of 9] keyword: obtain kwtemplater instance via repository at runtime

2017-06-25 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1498416227 -32400 # Mon Jun 26 03:43:47 2017 +0900 # Node ID ec02b73c11a5824c23be7fa20834bc1a20eac19e # Parent 0a1031814123dd19212a48d26130e4b790baf3d1 keyword: obtain kwtemplater instance via repository at runtime Wrapper functions of k

[PATCH 8 of 9] keyword: use _keywordkwt of repository instead of kwtools['templater']

2017-06-25 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1498416377 -32400 # Mon Jun 26 03:46:17 2017 +0900 # Node ID b534af046ded2dbbb6d537e12cff7c87f1159629 # Parent ec9915b24ba6de7c5bb4464912a11e46950aad60 keyword: use _keywordkwt of repository instead of kwtools['templater'] Now, kwtemplat

[PATCH 1 of 9] keyword: restore kwtemplater.restrict at the end of wrapped patch.diff

2017-06-25 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1498415892 -32400 # Mon Jun 26 03:38:12 2017 +0900 # Node ID d03c6351573ad632e4f54aa269c7487e8f185b8a # Parent ef46d432e2e4cfecafb1faa4765254bf0650d4ef keyword: restore kwtemplater.restrict at the end of wrapped patch.diff Before this pa

[PATCH 9 of 9] keyword: wrap functions only once at loading keyword extension

2017-06-25 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1498416431 -32400 # Mon Jun 26 03:47:11 2017 +0900 # Node ID 36525ddf2b384ceb4e84607408b80d3d3065449f # Parent b534af046ded2dbbb6d537e12cff7c87f1159629 keyword: wrap functions only once at loading keyword extension Before this patch, som

[PATCH 3 of 9] keyword: make comparison webcommand suppress keyword expansion

2017-06-25 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1498416012 -32400 # Mon Jun 26 03:40:12 2017 +0900 # Node ID 9422af09fb1ad4ccbd0132c4796eef2fcb83e002 # Parent 0d030855f6427dcb13e0deefe84de6181b692a29 keyword: make comparison webcommand suppress keyword expansion Before this patch, dif

[PATCH 2 of 9] keyword: restore kwtemplater.match at the end of wrapped webcommands

2017-06-25 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1498416006 -32400 # Mon Jun 26 03:40:06 2017 +0900 # Node ID 0d030855f6427dcb13e0deefe84de6181b692a29 # Parent d03c6351573ad632e4f54aa269c7487e8f185b8a keyword: restore kwtemplater.match at the end of wrapped webcommands Before this patc

[PATCH 4 of 9] keyword: add test for keyword expansion at serving multiple repositories

2017-06-25 Thread FUJIWARA Katsunori
# HG changeset patch # User FUJIWARA Katsunori # Date 1498416057 -32400 # Mon Jun 26 03:40:57 2017 +0900 # Node ID 133d12414af420ccfb9c2353877c1efc1903d00e # Parent 9422af09fb1ad4ccbd0132c4796eef2fcb83e002 keyword: add test for keyword expansion at serving multiple repositories This is safe

Re: [PATCH 09 of 10] bundle: make applybundle() delegate v1 bundles to applybundle1()

2017-06-25 Thread Martin von Zweigbergk via Mercurial-devel
On Sun, Jun 25, 2017 at 8:11 AM, Martin von Zweigbergk wrote: > On Sun, Jun 25, 2017 at 5:56 AM, Yuya Nishihara wrote: >> On Sat, 24 Jun 2017 08:38:37 -0700, Martin von Zweigbergk via >> Mercurial-devel wrote: >>> # HG changeset patch >>> # User Martin von Zweigbergk >>> # Date 1498168819 25200

[PATCH 3 of 4] config: use '_config' within 'configbytes'

2017-06-25 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1498394472 -7200 # Sun Jun 25 14:41:12 2017 +0200 # Node ID 4f1a916eadf928fc5e674339b9c43250ee507674 # Parent 561dc45d7a7f23a1f085682bdcc5604cbde963fb # EXP-Topic config.register # Available At https://www.mercurial-scm.org/repo/users/marm

[PATCH 2 of 4] config: use '_config' within 'configbool'

2017-06-25 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1498394336 -7200 # Sun Jun 25 14:38:56 2017 +0200 # Node ID 561dc45d7a7f23a1f085682bdcc5604cbde963fb # Parent 290508394c236b288e1b2ebf3d60a28843f9fa00 # EXP-Topic config.register # Available At https://www.mercurial-scm.org/repo/users/marm

[PATCH 4 of 4] configitems: register 'ui.interactive'

2017-06-25 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1498231169 -7200 # Fri Jun 23 17:19:29 2017 +0200 # Node ID b5ee725c63e5933afba92797b997878739fdb1f3 # Parent 4f1a916eadf928fc5e674339b9c43250ee507674 # EXP-Topic config.register # Available At https://www.mercurial-scm.org/repo/users/marm

[PATCH 1 of 4] config: extra the core config logic into a private method

2017-06-25 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1498394074 -7200 # Sun Jun 25 14:34:34 2017 +0200 # Node ID 290508394c236b288e1b2ebf3d60a28843f9fa00 # Parent 181ca34883e67e99bf6340b5931ac6d5a894092f # EXP-Topic config.register # Available At https://www.mercurial-scm.org/repo/users/marm

Re: [PATCH 1 of 2] split: new extension to split changesets

2017-06-25 Thread Jun Wu
Thanks for prompt review! I'll wait for more comments before sending V3 on Tuesday. Excerpts from Martin von Zweigbergk's message of 2017-06-25 00:26:32 -0700: > > +@command('^split', > > +[('r', 'rev', '', _("revision to split"), _('REV')), > > + ('', 'no-rebase', False, _('do not rebase

Re: [PATCH 09 of 10] bundle: make applybundle() delegate v1 bundles to applybundle1()

2017-06-25 Thread Martin von Zweigbergk via Mercurial-devel
On Sun, Jun 25, 2017 at 5:56 AM, Yuya Nishihara wrote: > On Sat, 24 Jun 2017 08:38:37 -0700, Martin von Zweigbergk via Mercurial-devel > wrote: >> # HG changeset patch >> # User Martin von Zweigbergk >> # Date 1498168819 25200 >> # Thu Jun 22 15:00:19 2017 -0700 >> # Node ID a5adc63a7b001cc

mercurial@33042: 8 new changesets

2017-06-25 Thread Mercurial Commits
8 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/6e3a6774d998 changeset: 33035:6e3a6774d998 user:Martin von Zweigbergk date:Wed Jun 21 14:42:04 2017 -0700 summary: bundle: remove 'op' argument from applybundle() https://www.mercurial-scm.org/repo/hg/

Re: [PATCH 09 of 10] bundle: make applybundle() delegate v1 bundles to applybundle1()

2017-06-25 Thread Yuya Nishihara
On Sat, 24 Jun 2017 08:38:37 -0700, Martin von Zweigbergk via Mercurial-devel wrote: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1498168819 25200 > # Thu Jun 22 15:00:19 2017 -0700 > # Node ID a5adc63a7b001cc4c489e7ea4d574e71adccafe7 > # Parent 15326b3ffdaf861d6c7dd9dad85

[PATCH] debugrevlog: also display the largest delta chain span

2017-06-25 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1498174690 -7200 # Fri Jun 23 01:38:10 2017 +0200 # Node ID 97720b4842c41e21c94302bba10c256530e17281 # Parent a3a36bcf122e2ea4edbbe4ac44da59446cf0ee07 # EXP-Topic manifest # Available At https://www.mercurial-scm.org/repo/users/marmoute/me

Re: [PATCH] identify: add template support

2017-06-25 Thread Yuya Nishihara
On Sun, 25 Jun 2017 01:23:41 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1498360161 14400 > # Sat Jun 24 23:09:21 2017 -0400 > # Node ID 1e917448c8d5c36f19c41bc83793df3e92477ede > # Parent 8299eb9b08c79699f496717d626842b72fa5ca4f > identify: add templat

Re: [PATCH 4 of 6] namespaces: record and expose whether namespace is built-in

2017-06-25 Thread Yuya Nishihara
On Sat, 24 Jun 2017 15:13:50 -0700, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1498341135 25200 > # Sat Jun 24 14:52:15 2017 -0700 > # Node ID 009938bcc518c07b8a077b28e6df01bae66de4fa > # Parent 3839334c22d631b956b036130387585c04f3b747 > namespaces: record an

Re: [PATCH 6 of 6] show: show all namespaces in "work" view

2017-06-25 Thread Yuya Nishihara
On Sat, 24 Jun 2017 15:13:52 -0700, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1498342265 25200 > # Sat Jun 24 15:11:05 2017 -0700 > # Node ID 1992c1fd8f8babe1ea4b91dab7ae7b81977c94c5 > # Parent fca3aaf4880d79672d6301e3d40a94ec284dc548 > show: show all namesp

Re: [PATCH 1 of 2] split: new extension to split changesets

2017-06-25 Thread Martin von Zweigbergk via Mercurial-devel
On Sat, Jun 24, 2017 at 10:45 PM, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1498360490 25200 > # Sat Jun 24 20:14:50 2017 -0700 > # Node ID c5c2d312b8293e9488344b39c0889faa3c4442eb > # Parent bec821f3bb744a7d13e33436433005654a263bc3 > # Available At https://bitbucket.org