Re: [PATCH V5] revset: support ranges in #generations relation

2019-01-18 Thread Anton Shestakov
On Thu, 17 Jan 2019 23:28:22 +0900 Yuya Nishihara wrote: > On Thu, 17 Jan 2019 21:17:26 +0800, Anton Shestakov wrote: > > # HG changeset patch > > # User Anton Shestakov > > # Date 1547564229 -28800 > > # Tue Jan 15 22:57:09 2019 +0800 > > # Node ID d1e7a57

[PATCH V6] revset: support ranges in #generations relation

2019-01-18 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1547564229 -28800 # Tue Jan 15 22:57:09 2019 +0800 # Node ID 6069a3fcef9b0f9e80cd884c38f6a9e2a35e757a # Parent 8aca89a694d4bd7d25877b3652fb83e187ea1802 revset: support ranges in #generations relation diff --git a/mercurial/revset.py b

[PATCH V5] revset: support ranges in #generations relation

2019-01-17 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1547564229 -28800 # Tue Jan 15 22:57:09 2019 +0800 # Node ID d1e7a57a62ca4dd99a11659148baf672bc9cab38 # Parent 8aca89a694d4bd7d25877b3652fb83e187ea1802 revset: support ranges in #generations relation diff --git a/mercurial/revset.py b

Re: [PATCH V2] revset: support ranges in #generations relation

2019-01-17 Thread Anton Shestakov
On Wed, 16 Jan 2019 23:18:38 +0900 Yuya Nishihara wrote: > On Wed, 16 Jan 2019 18:29:57 +0800, Anton Shestakov wrote: > > # HG changeset patch > > # User Anton Shestakov > > # Date 1547564229 -28800 > > # Tue Jan 15 22:57:09 2019 +0800 > > # Node ID 039a0d0

[PATCH V4] revset: support ranges in #generations relation

2019-01-17 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1547564229 -28800 # Tue Jan 15 22:57:09 2019 +0800 # Node ID 3238fcf91b3a8d234287054b79920743e44a3058 # Parent 8aca89a694d4bd7d25877b3652fb83e187ea1802 revset: support ranges in #generations relation diff --git a/mercurial/revset.py b

[PATCH V3] revset: support ranges in #generations relation

2019-01-17 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1547564229 -28800 # Tue Jan 15 22:57:09 2019 +0800 # Node ID c9536405f03c1db9547a33f88ba76d672742cb38 # Parent 8aca89a694d4bd7d25877b3652fb83e187ea1802 revset: support ranges in #generations relation diff --git a/mercurial/revset.py b

[PATCH V2] revset: support ranges in #generations relation

2019-01-16 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1547564229 -28800 # Tue Jan 15 22:57:09 2019 +0800 # Node ID 039a0d0d913afac1464bfc1ea8a49b22e803b081 # Parent 8aca89a694d4bd7d25877b3652fb83e187ea1802 revset: support ranges in #generations relation diff --git a/mercurial/revset.py b

[PATCH] revset: support ranges in #generations relation

2019-01-15 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1547564229 -28800 # Tue Jan 15 22:57:09 2019 +0800 # Node ID c5157bffb822af4d48922d03440c013cd1253789 # Parent 8aca89a694d4bd7d25877b3652fb83e187ea1802 revset: support ranges in #generations relation diff --git a/mercurial/revset.py b

D5538: hgweb: add /obsgraph page that shows obsolescence history of a changeset (PoC)

2019-01-09 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Feel free to ask questions, I suspect some chunks would need a comment (either in review or in code) to explain what's going on there. I'll start

D5537: obsutil: add a simplified obshistorywalker() (PoC)

2019-01-09 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This code is taken from evolve extension, namely from obslog command implementation, and somewhat simplified to be easier to review. No tests and no

Re: [PATCH 1 of 2 evolve-ext] tests: specify a path to the evolve and topic extensions

2019-01-04 Thread Anton Shestakov
On Fri, 04 Jan 2019 00:13:56 -0500 Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1546576030 18000 > # Thu Jan 03 23:27:10 2019 -0500 > # Node ID 1c6f2cc21682164dde57f581f55e2affb0c1d709 > # Parent 708bf337a93e8e136fdf25aabf927ee44f3460ad > tests: specify a

D5474: obsutil: fix the issue5686

2018-12-22 Thread av6 (Anton Shestakov)
av6 added inline comments. INLINE COMMENTS > test-obsmarker-template.t:2511 >| @ 471597cad322 > - |/ Obsfate: pruned; > + |/ Obsfate: rewritten as 2:617adc3a144c by test (at 1970-01-01 00:00 > +); >o ea207398892e The new output looks somewhat more correct, but not

D5455: help: hide default value for default-off flags

2018-12-20 Thread av6 (Anton Shestakov)
av6 accepted this revision. av6 added a comment. This revision is now accepted and ready to land. These look good. One more thing I want to mention: hg help evolve looks like this: --phase-divergent solves only phase-divergent changesets --content-divergent solves only

D5444: help: use "yes" and "no" for boolean defaults instead of "on" and "off"

2018-12-15 Thread av6 (Anton Shestakov)
av6 added a comment. The point of https://phab.mercurial-scm.org/D5430 was to make hg help output more human friendly by replacing `True` and `False` with something less Python-related. In other words, more human-friendly. "Yes" and "no" are way more human-friendly: - they are one of

D5444: help: use "yes" and "no" for boolean defaults instead of "on" and "off"

2018-12-15 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: durin42. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5444 AFFECTED FILES mercurial/help.py tests/test-extension.t

[PATCH] revset: move subscript relation functions to its own dict

2018-12-13 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1544692737 -28800 # Thu Dec 13 17:18:57 2018 +0800 # Node ID ae0a18541e4354201303032cd37ccc819d64c5a0 # Parent 008f3491dc5377e9e6f210e0a3f161323049db5d revset: move subscript relation functions to its own dict This will help adding more

Re: [PATCH] push: config option to control behavior when pushing to a publishing server

2018-11-30 Thread Anton Shestakov
On Fri, 30 Nov 2018 19:36:28 +0800 Anton Shestakov wrote: > On Sun, 25 Nov 2018 12:35:17 +0900 > Yuya Nishihara wrote: > > > On Fri, 23 Nov 2018 13:23:43 +0800, Anton Shestakov wrote: > > > # HG changeset patch > > > # User Anton Shestakov > > > # D

[PATCH V3] push: config option to control behavior when pushing to a publishing server

2018-11-30 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1541397139 -28800 # Mon Nov 05 13:52:19 2018 +0800 # Node ID e73bee557bdbde51316a310ee9e9510586190da7 # Parent efd0f79246e3e6633dfd06226464a48584f69b19 # EXP-Topic push-publish push: config option to control behavior when pushing

Re: [PATCH] push: config option to control behavior when pushing to a publishing server

2018-11-30 Thread Anton Shestakov
On Sun, 25 Nov 2018 12:35:17 +0900 Yuya Nishihara wrote: > On Fri, 23 Nov 2018 13:23:43 +0800, Anton Shestakov wrote: > > # HG changeset patch > > # User Anton Shestakov > > # Date 1541397139 -28800 > > # Mon Nov 05 13:52:19 2018 +0800 > > # Node ID ea18d94

[PATCH V2] push: config option to control behavior when pushing to a publishing server

2018-11-30 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1541397139 -28800 # Mon Nov 05 13:52:19 2018 +0800 # Node ID 081773196c85870990e9c438023c7665b1e73469 # Parent efd0f79246e3e6633dfd06226464a48584f69b19 # EXP-Topic push-publish push: config option to control behavior when pushing

Re: Auto-formatting code with black - object now if you have a strong opinion

2018-11-29 Thread Anton Shestakov
On Thu, 29 Nov 2018 16:29:30 -0500 Augie Fackler wrote: > On Wed, Nov 28, 2018 at 7:13 AM Yuya Nishihara wrote: > > Can we somehow reject patches automatically if they disagree with the > > formatter? I'm not interested in fixing test-check-* failure in flight. > > Two possibilities here: > >

Re: Auto-formatting code with black - object now if you have a strong opinion

2018-11-29 Thread Anton Shestakov
On Tue, 27 Nov 2018 10:52:56 -0500 Augie Fackler wrote: > In https://phab.mercurial-scm.org/D5064 we're talking about using the `black` > formatter from Ɓukasz Langa on hg. This will imply a few style changes to our > codebase, notably: > > * We'll use " everywhere instead of ' > * Import

[PATCH] push: config option to control behavior when pushing to a publishing server

2018-11-22 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1541397139 -28800 # Mon Nov 05 13:52:19 2018 +0800 # Node ID ea18d94ac7006faff7148cb2eca3b970655955b9 # Parent efd0f79246e3e6633dfd06226464a48584f69b19 # EXP-Topic push-publish push: config option to control behavior when pushing

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

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

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

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

[PATCH] branch: allow changing branch of merge commits with --rev

2018-11-17 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1541743033 -28800 # Fri Nov 09 13:57:13 2018 +0800 # Node ID 353bb16507d9824888ba0abb4d35a4ed75189303 # Parent b93157f69f46a1359726be32bde4afb1e5af4384 # EXP-Topic branch-rev branch: allow changing branch of merge commits with --rev Tests

[PATCH] rewriteutil: move publicrevs closer to where it's used

2018-11-14 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1542179138 -28800 # Wed Nov 14 15:05:38 2018 +0800 # Node ID f1e3f2baa3c222a256c2bb91b95a8368c8d10366 # Parent b93157f69f46a1359726be32bde4afb1e5af4384 # EXP-Topic misc rewriteutil: move publicrevs closer to where it's used diff --git

[PATCH 2 of 2 stable] copystore: provide unit to ui.makeprogress()

2018-11-14 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1542179181 -28800 # Wed Nov 14 15:06:21 2018 +0800 # Branch stable # Node ID 572a96cd6c5bec39be348097c14b1402ce7ed8b7 # Parent d19f768a91641e8a30a6dc862ae44ef0abbe224f # EXP-Topic progress-unit copystore: provide unit to ui.makeprogress

[PATCH 1 of 2 stable] verify: provide unit to ui.makeprogress()

2018-11-14 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1542179222 -28800 # Wed Nov 14 15:07:02 2018 +0800 # Branch stable # Node ID d19f768a91641e8a30a6dc862ae44ef0abbe224f # Parent 8239d4e5d05f5452d66e4ae1ffc2f58e0d0fbd0d # EXP-Topic progress-unit verify: provide unit to ui.makeprogress

D5064: style: run black on a subset of mercurial

2018-11-13 Thread av6 (Anton Shestakov)
av6 added a comment. I look at the changes and see nitpicks at best. On the one hand, black proved better than any linter that we can already write consistent code. On the other, if black were a linter... I'd switch to flake8, which at least is configurable

Re: RFC: expire all reviews older than Sept. 1st from Phabricator

2018-11-05 Thread Anton Shestakov
On Mon, 5 Nov 2018 11:17:59 -0500 Augie Fackler wrote: > Howdy folks, > > I think I'd like to expire all reviews from Phabricator that haven't been > updated since September 1st of this year. That's a lot of reviews, but they > all seem pretty dormant at this point. Obviously people can

D4362: zsh_completion: complete merge tools for -t/--tool

2018-11-02 Thread av6 (Anton Shestakov)
av6 added projects: hg, hg-reviewers. av6 added a comment. Changing project tags, please ignore. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4362 To: av6, #hg-reviewers, spectral Cc: spectral, mercurial-devel, namenlos, dsp, pulkit, durham, akushner

[PATCH] relnotes: various tweaks for release notes

2018-11-02 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1539958193 -28800 # Fri Oct 19 22:09:53 2018 +0800 # Node ID 4db7723d4f4c9a90fe917787cc1afe7e3db74ee3 # Parent 8c124d10ae02790e0e33fbc2a5af463e97f2d5b3 # EXP-Topic relnotes relnotes: various tweaks for release notes Stop filtering out

Re: [PATCH 2 of 2 V2] streamclone: abort when client needs to handle obsmarkers, but doesn't

2018-10-31 Thread Anton Shestakov
On Wed, 31 Oct 2018 12:48:49 -0700 Gregory Szorc wrote: > On Thu, Oct 18, 2018 at 6:53 AM Anton Shestakov wrote: > > > # HG changeset patch > > # User Anton Shestakov > > # Date 1538754012 -28800 > > # Fri Oct 05 23:40:12 2018 +0800 > > # Node ID 7827

[PATCH STABLE] crecord: make nextsametype() check that parent item exists (issue6009)

2018-10-25 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1540474423 -28800 # Thu Oct 25 21:33:43 2018 +0800 # Branch stable # Node ID 7e4ffe2719e4af2a9e56c9ee097ed6720f5c3906 # Parent e928bedf0919c7bd851bb4481dfff61c653bd5f9 crecord: make nextsametype() check that parent item exists (issue6009

[PATCH PoC] relnotes: various tweaks for release notes (PoC)

2018-10-19 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1539958193 -28800 # Fri Oct 19 22:09:53 2018 +0800 # Node ID a9decc4cc129f53082c5bc4b1bc3597cf2ab167f # Parent a9838dfc27b81bc3618b187c172d55e102b4faa8 # EXP-Topic stream-obsmarkers relnotes: various tweaks for release notes (PoC

[PATCH 2 of 2 V2] streamclone: abort when client needs to handle obsmarkers, but doesn't

2018-10-18 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1538754012 -28800 # Fri Oct 05 23:40:12 2018 +0800 # Node ID 7827e8870afe4a1505767a748dd07e94569196ac # Parent 212b1f69138c7d1fa166356448305219259f34f9 # EXP-Topic stream-obsmarkers streamclone: abort when client needs to handle obsmarkers

[PATCH 1 of 2 V2] streamclone: include obsstore file into stream bundle if client can read it

2018-10-18 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1538753237 -28800 # Fri Oct 05 23:27:17 2018 +0800 # Node ID 212b1f69138c7d1fa166356448305219259f34f9 # Parent 89cba88e95ed84b6e5e49ecc51ebf7119cfaa6b4 # EXP-Topic stream-obsmarkers streamclone: include obsstore file into stream bundle

D5142: zsh_completion: add -l/--list flag for hg bookmarks completion

2018-10-17 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd365e2b7aa2a: zsh_completion: add -l/--list flag for hg bookmarks completion (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5141: zsh_completion: fix a couple of flags still not being perfect

2018-10-17 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG01bdf7294274: zsh_completion: fix a couple of flags still not being perfect (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5140: zsh_completion: use $_hg_remote_opts after it is defined

2018-10-17 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG4c9418e3a7d3: zsh_completion: use $_hg_remote_opts after it is defined (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D5142: zsh_completion: add -l/--list flag for hg bookmarks completion

2018-10-17 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Flags in parentheses are mutually exclusive. Logic is taken from commands.py: selactions = [k for k in ['delete', 'rename', 'list'] if opts.get(k)] if

D5141: zsh_completion: fix a couple of flags still not being perfect

2018-10-17 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5141 AFFECTED FILES contrib/zsh_completion CHANGE DETAILS diff --git a/contrib/zsh_completion

D5140: zsh_completion: use $_hg_remote_opts after it is defined

2018-10-17 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Before this patch, zsh wouldn't complete --ssh, --remotecmd or --insecure for hg clone. While at it, replace --uncompressed by --stream. REPOSITORY rHG

[PATCH] commands: adjust metavariables as appropriate

2018-10-17 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1539781236 -28800 # Wed Oct 17 21:00:36 2018 +0800 # Node ID 02ad74c4abc1b66e63f118f1247ccc7c97acc786 # Parent ef0baff11aeaaa8424294982235a18c476728264 commands: adjust metavariables as appropriate Apart from looking better in hg help

[PATCH 2 of 2 evolve-ext] evolvecmd: use modern vocabulary in help text for evolve

2018-10-14 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1539517031 -7200 # Sun Oct 14 13:37:11 2018 +0200 # Node ID fc9eb357bca259cab49e7665bc5ab72e26914e6f # Parent f3d9033c08be3b97861f490a62619887def287f8 evolvecmd: use modern vocabulary in help text for evolve diff --git a/hgext3rd/evolve

[PATCH 1 of 2 evolve-ext] evolvecmd: mark flags with old instability names as deprecated

2018-10-14 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1539516913 -7200 # Sun Oct 14 13:35:13 2018 +0200 # Node ID f3d9033c08be3b97861f490a62619887def287f8 # Parent 3c28f8a3a5a5773952ea58e9098c8d1ff4234002 evolvecmd: mark flags with old instability names as deprecated diff --git a/hgext3rd

[PATCH] crecord: make enter move cursor down to the next item of the same type

2018-10-13 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1539424350 -7200 # Sat Oct 13 11:52:30 2018 +0200 # Node ID 652b73cc2aa892cf2c2a5988a339ee242d2e1696 # Parent 8278491d01838a2062ba7202be9b79cc6b243c83 crecord: make enter move cursor down to the next item of the same type Let's replace

[PATCH 2 of 2] streamclone: abort when client needs to handle obsmarkers, but doesn't

2018-10-10 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1538754012 -28800 # Fri Oct 05 23:40:12 2018 +0800 # Node ID 916e5b41f1749c6bc842e8db2c0affe04d86bf59 # Parent f4183e8094c8f06ebb007b5e0b03a618f288c8d6 # EXP-Topic stream-obsmarkers streamclone: abort when client needs to handle obsmarkers

[PATCH 1 of 2] streamclone: include obsstore file into stream bundle if client can read it

2018-10-10 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1538753237 -28800 # Fri Oct 05 23:27:17 2018 +0800 # Node ID f4183e8094c8f06ebb007b5e0b03a618f288c8d6 # Parent 7a347d362a455d84bccf34347171d89724b9c9df # EXP-Topic stream-obsmarkers streamclone: include obsstore file into stream bundle

Re: hg clone --uncompressed do not clone obsmarkers so all obsoleted changesets are back to life (public phase)

2018-10-03 Thread Anton Shestakov
On Mon, 1 Oct 2018 10:40:19 -0400 Long Vu wrote: > Hi, > > Is there a draft version of 4.8 that transfer phase properly during clone > --uncompressed that I can test? You can just clone https://www.mercurial-scm.org/repo/hg and run `make local`, that should be enough to try out the current

Re: [PATCH 6 of 7] formatter: remove experimental marker from -T option

2018-10-01 Thread Anton Shestakov
On Sun, 30 Sep 2018 22:43:50 +0900 Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1538290416 -32400 > # Sun Sep 30 15:53:36 2018 +0900 > # Node ID d954a8babb5886ee0331265d3994fdcd52983f50 > # Parent 6b1a87ee8753534543236e3a64e66e8f0382b5eb > formatter:

Re: [PATCH 2 of 7] annotate: rename {lines}/{line} to {texts}/{text} respectively (BC)

2018-10-01 Thread Anton Shestakov
On Sun, 30 Sep 2018 22:43:46 +0900 Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1538288821 -32400 > # Sun Sep 30 15:27:01 2018 +0900 > # Node ID 4ee07da344653b4bcfea8214c20e713cfd307d86 > # Parent 66d94b8a5526475ae523e1cca3bfd8c1cf3ec9ca > annotate: rename

Re: [PATCH 5 of 7] templatefilters: alias element of {_|splitlines} to {text}

2018-10-01 Thread Anton Shestakov
On Sun, 30 Sep 2018 22:43:49 +0900 Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1538289985 -32400 > # Sun Sep 30 15:46:25 2018 +0900 > # Node ID 6b1a87ee8753534543236e3a64e66e8f0382b5eb > # Parent 22f0acc9d2d80ae870d92636d9023b7849b616bb > templatefilters:

Re: [PATCH 2 of 2] hgweb: register web.static to the config table

2018-09-24 Thread Anton Shestakov
On Sun, 23 Sep 2018 22:24:11 +0900 Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1537686948 -32400 > # Sun Sep 23 16:15:48 2018 +0900 > # Node ID d25a329a22d1521efa61fcfec7530b7f99d10a95 > # Parent 021347195627de0eed504c548cb4e629000a4726 > hgweb: register

Re: Socket timeout

2018-09-24 Thread Anton Shestakov
> But could someone confirm how the socket > timeout or server hanging are managed in mercurial? That depends on your server setup. There are many ways to set up hgweb, e.g. front server (apache httpd, nginx, lighttpd) and upstream (uwsgi, gunicorn) or server module (mod_wsgi, mod_scgi), and most

D4680: bundle2: make server.bundle2.stream default to True

2018-09-20 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG4bd6e444c76f: bundle2: make server.bundle2.stream default to True (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4679: bundle2: graduate bundle2.stream option from experimental to server section

2018-09-20 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1b5880352314: bundle2: graduate bundle2.stream option from experimental to server section (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4678: tests: split capabilities into separate lines while searching for "narrow"

2018-09-20 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG7d9b1b50cad5: tests: split capabilities into separate lines while searching for narrow (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4680: bundle2: make server.bundle2.stream default to True

2018-09-20 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Support for bundle2 streaming clones has been shipped in Mercurial 4.5 (https://phab.mercurial-scm.org/rHG7eedbd5d4880f6c0518e5ff706450a7389acb70d), but was never

D4679: bundle2: graduate bundle2.stream option from experimental to server section

2018-09-20 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4679 AFFECTED FILES mercurial/bundle2.py mercurial/configitems.py mercurial/help/config.txt

D4678: tests: split capabilities into separate lines while searching for "narrow"

2018-09-20 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a reviewer: durin42. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This test is interested only in capabilities that are related to narrow, so let's omit everything else. Makes it easier to update

D4665: meld: enable auto-merge

2018-09-20 Thread av6 (Anton Shestakov)
av6 added a comment. Although I must say that EPEL 6 (it's for RHEL/CentOS 6) still has meld 1.3.1, which may be too old for this option: https://repology.org/metapackage/meld/versions REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4665 To: martinvonz,

D4612: zsh_completion: add -b/--branch and -B/--bookmark(s) flags properly

2018-09-18 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG3f11cb1aeb90: zsh_completion: add -b/--branch and -B/--bookmark(s) flags properly (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4612: zsh_completion: add -b/--branch and -B/--bookmark(s) flags properly

2018-09-17 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY _hg_branch_bmark_opts used to add these two flags, but had the same descriptions for the flags regardless of what command took them and didn't allow specifying

D4519: zsh_completion: add new and remove deprecated flags

2018-09-12 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa2d17b699628: zsh_completion: add new and remove deprecated flags (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4518: zsh_completion: update various arguments, descriptions, metavariables

2018-09-12 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG5f06c21d37de: zsh_completion: update various arguments, descriptions, metavariables (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4519: zsh_completion: add new and remove deprecated flags

2018-09-10 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4519 AFFECTED FILES contrib/zsh_completion CHANGE DETAILS diff --git a/contrib/zsh_completion

D4518: zsh_completion: update various arguments, descriptions, metavariables

2018-09-10 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Addition of "=" means the flag must have an argument after it. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4518 AFFECTED FILES

[PATCH 2 of 2] httppeer: use util.readexactly() to abort on incomplete responses

2018-09-09 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1536415131 -28800 # Sat Sep 08 21:58:51 2018 +0800 # Node ID 91dd8310bca9f336290e883b0d03d1521f259165 # Parent f3293d747c49a77677fcb00554eecb09fe5502cb httppeer: use util.readexactly() to abort on incomplete responses Plain resp.read(n

[PATCH 1 of 2] httppeer: calculate total expected bytes correctly

2018-09-09 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 153647 -28800 # Sat Sep 08 23:57:07 2018 +0800 # Node ID f3293d747c49a77677fcb00554eecb09fe5502cb # Parent 83dd656586b14a06b1b7e0fa57ab2a801eab3da5 httppeer: calculate total expected bytes correctly User-facing error messages

D4428: zsh_completion: complete shelve and unshelve

2018-09-05 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG45d12c49c3f3: zsh_completion: complete shelve and unshelve (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4428?vs=10717=10781

D4426: zsh_completion: use revsets to exclude this rev from suggestions to hg merge

2018-09-05 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG2815e0db4c54: zsh_completion: use revsets to exclude this rev from suggestions to hg merge (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4426: zsh_completion: use revsets to exclude this rev from suggestions to hg merge

2018-09-03 Thread av6 (Anton Shestakov)
av6 added a comment. Now it's only one call to hg. All possible branches included, even if hg merge that-branch would complain (see my comment above), because in completions it's better to give extra suggestions than to miss some. But this "revision numbers + branch names" got me

D4428: zsh_completion: complete shelve and unshelve

2018-09-03 Thread av6 (Anton Shestakov)
av6 added a comment. Ah, and now the comments are grayed out. I shouldn't have re-phabsend-ed this, since there are no changes from the previous version. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4428 To: av6, #hg-reviewers Cc: spectral, mercurial-devel

D4428: zsh_completion: complete shelve and unshelve

2018-09-03 Thread av6 (Anton Shestakov)
av6 updated this revision to Diff 10717. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4428?vs=10684=10717 REVISION DETAIL https://phab.mercurial-scm.org/D4428 AFFECTED FILES contrib/zsh_completion CHANGE DETAILS diff --git

D4426: zsh_completion: use revsets to exclude this rev from suggestions to hg merge

2018-09-03 Thread av6 (Anton Shestakov)
av6 updated this revision to Diff 10716. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4426?vs=10682=10716 REVISION DETAIL https://phab.mercurial-scm.org/D4426 AFFECTED FILES contrib/zsh_completion CHANGE DETAILS diff --git

[PATCH 1 of 2] bash_completion: add more global options that receive an argument

2018-09-01 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1535848757 -28800 # Sun Sep 02 08:39:17 2018 +0800 # Node ID 14eaf06a028a010ca829084acfb866823ad5714a # Parent 57b2a02420cd3b42c757dc91df98435811603e3e bash_completion: add more global options that receive an argument diff --git a/contrib

[PATCH 2 of 2] bash_completion: complete arguments for --color and --pager

2018-09-01 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1535848857 -28800 # Sun Sep 02 08:40:57 2018 +0800 # Node ID 2a342d7f75f02808bebbb811ed3998b65e7b2aad # Parent 14eaf06a028a010ca829084acfb866823ad5714a bash_completion: complete arguments for --color and --pager diff --git a/contrib

D4427: zsh_completion: handle --rev as well as -r for diff and revert

2018-09-01 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG09f23b4f1be3: zsh_completion: handle --rev as well as -r for diff and revert (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

Re: [PATCH STABLE] hgweb: load revcount + 1 entries to fill nextentry in log page (issue5972)

2018-08-31 Thread Anton Shestakov
On Fri, 31 Aug 2018 21:52:08 +0900 Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1535719464 -32400 > # Fri Aug 31 21:44:24 2018 +0900 > # Branch stable > # Node ID ede3bf31fe63677fdf5bd8db687977d4e3d792ed > # Parent d750a6c9248d9dd97de089f7d7e8da7dd99a0ebf

D4426: zsh_completion: use revsets to exclude this rev from suggestions to hg merge

2018-08-31 Thread av6 (Anton Shestakov)
av6 added a comment. It probably would make sense, but you don't need to exclude current branch, because `hg merge mybranch` works when you have more than one branch head (except when you stand on the newest head, unfortunately: "abort: merging with a working directory ancestor has no

D4428: zsh_completion: complete shelve and unshelve

2018-08-31 Thread av6 (Anton Shestakov)
av6 added inline comments. INLINE COMMENTS > spectral wrote in zsh_completion:1272 > Mine has a --cleanup flag. Not sure where that came from, and I think it's > dangerous as heck and I don't like it, but ... should we list it? (I'm 100% > fine with the answer being "no, it's too scary" :))

D4428: zsh_completion: complete shelve and unshelve

2018-08-30 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4428 AFFECTED FILES contrib/zsh_completion CHANGE DETAILS diff --git a/contrib/zsh_completion

D4427: zsh_completion: handle --rev as well as -r for diff and revert

2018-08-30 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Completion for hg diff and revert should suggest all files in context of a non-current revision. The script used to look only for `-r foo`, and now it also

D4426: zsh_completion: use revsets to exclude this rev from suggestions to hg merge

2018-08-30 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REVISION SUMMARY One of the most important aspects of a completion system is its speed, so 2 calls to hg is definitely better than 4. Sorting by rev (descending) is to

D4362: zsh_completion: complete merge tools for -t/--tool

2018-08-30 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb4e7e1f09c09: zsh_completion: complete merge tools for -t/--tool (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4361: zsh_completion: complete hg files

2018-08-29 Thread av6 (Anton Shestakov)
av6 added inline comments. INLINE COMMENTS > pulkit wrote in zsh_completion:636 > I changed "revision" to "REV" in flight. What is REV? It's a metavariable used in hg help output. It makes sense if you look at the help output while typing up hg files, but zsh's completion is supposed to help

D4362: zsh_completion: complete merge tools for -t/--tool

2018-08-29 Thread av6 (Anton Shestakov)
av6 added inline comments. INLINE COMMENTS > spectral wrote in zsh_completion:292 > I'm slightly concerned this might give a false impression of what's > available, listing things that I don't have installed, but I think this might > be the best we can do at the moment - there doesn't appear

D4361: zsh_completion: complete hg files

2018-08-29 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGad1c6bd3c676: zsh_completion: complete hg files (authored by av6, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D4361?vs=10536=10650#toc REPOSITORY rHG Mercurial CHANGES

D4360: zsh_completion: adjust usage of common options

2018-08-29 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd0dfdf263a20: zsh_completion: adjust usage of common options (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4360?vs=10535=10649

[PATCH] context: use new names for unstable changesets in docstrings

2018-08-27 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1535387530 -28800 # Tue Aug 28 00:32:10 2018 +0800 # Node ID 3e3b9ae9771f965611633ff21b168ac0f7b4bb06 # Parent bb2b462f81daae07d5400aee7db794857959979c context: use new names for unstable changesets in docstrings Plus slight corrections

D4362: zsh_completion: complete merge tools for -t/--tool

2018-08-23 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4362 AFFECTED FILES contrib/zsh_completion CHANGE DETAILS diff --git a/contrib/zsh_completion

D4361: zsh_completion: complete hg files

2018-08-23 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D4361 AFFECTED FILES contrib/zsh_completion CHANGE DETAILS diff --git a/contrib/zsh_completion

D4360: zsh_completion: adjust usage of common options

2018-08-23 Thread av6 (Anton Shestakov)
av6 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY addremove, remove and serve accept -S/--subrepos, and purge actually doesn't. qnew accepts -I/--include and -X/--exclude. qrefresh accepts -D/--currentdate,

D4267: zsh_completion: update all options

2018-08-20 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG362c4603602d: zsh_completion: update all options (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4267?vs=10333=10468 REVISION

D4264: zsh_completion: declare appropriate local parameters for ->string form

2018-08-20 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG69876534caf2: zsh_completion: declare appropriate local parameters for -string form (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4262: zsh_completion: drop -w, add -S to _arguments

2018-08-20 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGfd17590655cf: zsh_completion: drop -w, add -S to _arguments (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4262?vs=10328=10463

D4266: zsh_completion: run hg with HGPLAINEXCEPT=alias to list commands

2018-08-20 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf625e457f43a: zsh_completion: run hg with HGPLAINEXCEPT=alias to list commands (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D4263: zsh_completion: complete files from `hg st -mar` for commit and diff

2018-08-20 Thread av6 (Anton Shestakov)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8ff14f8fe2d3: zsh_completion: complete files from `hg st -mar` for commit and diff (authored by av6, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

<    1   2   3   4   5   6   >