Re: [PATCH 1 of 3] makefile: mkdir is not needed on templatized docker builds

2018-04-15 Thread Anton Shestakov
On Sat, 14 Apr 2018 18:31:24 +0200 Antonio Muci via Mercurial-devel wrote: > # HG changeset patch > # User Antonio Muci > # Date 1523714275 -7200 > # Sat Apr 14 15:57:55 2018 +0200 > # Node ID 3c8463e542db60db1ad234ec80f39e290ed17658 > #

Re: [PATCH 7 of 7] hgweb: convert _siblings to a factory function of mappinggenerator

2018-04-15 Thread Anton Shestakov
On Sat, 14 Apr 2018 21:49:17 +0900 Yuya Nishihara wrote: > -class _siblings(object): > -def __init__(self, siblings=None, hiderev=None): > -if siblings is None: > -siblings = [] > -self.siblings = [s for s in siblings if s.node() != nullid] > -

[PATCH 5 of 6] grep: invoke the file prefetch hook

2018-04-15 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1523756443 14400 # Sat Apr 14 21:40:43 2018 -0400 # Node ID a3702d55eb1ca64fc220827482e9d3a17cbfbb57 # Parent 3b0c3d4939b56ca038dbbba17da424699a6b339d grep: invoke the file prefetch hook Because of the way `grep`

[PATCH 3 of 6] diff: invoke the file prefetch hook

2018-04-15 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1523751087 14400 # Sat Apr 14 20:11:27 2018 -0400 # Node ID 691a7d3f2df80908e52a170897a4492a528c3533 # Parent 1c3654f7ed31e6770cbd97681083bab834554056 diff: invoke the file prefetch hook By invoking it this deep

[PATCH 4 of 6] verify: invoke the file prefetch hook

2018-04-15 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1523752111 14400 # Sat Apr 14 20:28:31 2018 -0400 # Node ID 3b0c3d4939b56ca038dbbba17da424699a6b339d # Parent 691a7d3f2df80908e52a170897a4492a528c3533 verify: invoke the file prefetch hook It's unfortunate that

[PATCH 6 of 6] lfs: enable the final download count status message

2018-04-15 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1523754995 14400 # Sat Apr 14 21:16:35 2018 -0400 # Node ID acd5a25c179269df689b8799aa7cbc52d5451251 # Parent a3702d55eb1ca64fc220827482e9d3a17cbfbb57 lfs: enable the final download count status message At this

[PATCH 2 of 6] export: invoke the file prefetch hook

2018-04-15 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1523749425 14400 # Sat Apr 14 19:43:45 2018 -0400 # Node ID 1c3654f7ed31e6770cbd97681083bab834554056 # Parent de2975df3997148a832ef41425b069fc6f8ff3bc export: invoke the file prefetch hook cmdutil.exportfile() is

[PATCH 1 of 4] tests: hg log shouldn't need --hidden to show whyunstable template keyword

2018-04-15 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1523788069 -28800 # Sun Apr 15 18:27:49 2018 +0800 # Node ID 5b7426809d1df5b486205c87321c9db59e5d1e74 # Parent 24034bcd32fb97d457ef9b9fea3ecc6ac953a09d tests: hg log shouldn't need --hidden to show whyunstable template

[PATCH 4 of 4] templates: adjust white space amount in the output of {whyunstable}

2018-04-15 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1523792494 -28800 # Sun Apr 15 19:41:34 2018 +0800 # Node ID 2efab3bfa60156194390b82a537514445c12ff86 # Parent b79993a8e173820205b21cb5c0821183bf68ed39 templates: adjust white space amount in the output of {whyunstable}

[PATCH 3 of 4] tests: split long templates that use {whyunstable} and put them in hgrc

2018-04-15 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1523791681 -28800 # Sun Apr 15 19:28:01 2018 +0800 # Node ID b79993a8e173820205b21cb5c0821183bf68ed39 # Parent bf715ddd88d1e4b0d3bd72d0f7ab6398662096ed tests: split long templates that use {whyunstable} and put them in

[PATCH 2 of 4] tests: make custom templates that use {whyunstable} terser

2018-04-15 Thread Anton Shestakov
# HG changeset patch # User Anton Shestakov # Date 1523788642 -28800 # Sun Apr 15 18:37:22 2018 +0800 # Node ID bf715ddd88d1e4b0d3bd72d0f7ab6398662096ed # Parent 5b7426809d1df5b486205c87321c9db59e5d1e74 tests: make custom templates that use {whyunstable} terser These

Re: [PATCH] dispatch: add a whitelist map of commands to implicitly loaded extensions

2018-04-15 Thread Yuya Nishihara
On Sat, 14 Apr 2018 14:09:42 -0400, Matt Harbison wrote: > On Sat, 14 Apr 2018 03:09:01 -0400, Yuya Nishihara wrote: > > On Fri, 13 Apr 2018 23:30:43 -0400, Matt Harbison wrote: > >> Assuming the semaphore is persistent, it could be beneficial to load > >> extensions indicated by

D3371: scmutil: make shortesthexnodeidprefix() take a full binary nodeid

2018-04-15 Thread yuja (Yuya Nishihara)
yuja added a comment. Queued thanks. > The shortest() template function depended on the behavior of > revlog._partialmatch() for these types of inputs: I guess some of them would be bug. INLINE COMMENTS > templatefuncs.py:605 > +except (error.LookupError,

D3388: wireprotov2: add support for more response types

2018-04-15 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 8304. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3388?vs=8300=8304 REVISION DETAIL https://phab.mercurial-scm.org/D3388 AFFECTED FILES mercurial/wireprotoframing.py mercurial/wireprototypes.py

Re: [PATCH 7 of 7] hgweb: convert _siblings to a factory function of mappinggenerator

2018-04-15 Thread Yuya Nishihara
On Sun, 15 Apr 2018 14:06:03 +0800, Anton Shestakov wrote: > On Sat, 14 Apr 2018 21:49:17 +0900 > Yuya Nishihara wrote: > > > -class _siblings(object): > > -def __init__(self, siblings=None, hiderev=None): > > -if siblings is None: > > -siblings = [] > > -

Re: [PATCH 1 of 4] tests: hg log shouldn't need --hidden to show whyunstable template keyword

2018-04-15 Thread Yuya Nishihara
On Sun, 15 Apr 2018 20:37:39 +0800, Anton Shestakov wrote: > # HG changeset patch > # User Anton Shestakov > # Date 1523788069 -28800 > # Sun Apr 15 18:27:49 2018 +0800 > # Node ID 5b7426809d1df5b486205c87321c9db59e5d1e74 > # Parent

Re: [PATCH 1 of 3] makefile: mkdir is not needed on templatized docker builds

2018-04-15 Thread Yuya Nishihara
On Sun, 15 Apr 2018 14:59:45 +0800, Anton Shestakov wrote: > On Sat, 14 Apr 2018 18:31:24 +0200 > Antonio Muci via Mercurial-devel > wrote: > > > # HG changeset patch > > # User Antonio Muci > > # Date 1523714275 -7200 > > # Sat Apr 14

Re: [PATCH 1 of 3] makefile: mkdir is not needed on templatized docker builds

2018-04-15 Thread Antonio Muci via Mercurial-devel
Thanks Anton: that's true. If you prefer so, I can send another series, or feel free to directly correct it if it's more practical for you. On a side note: my real pain point yesterday was the way packages are built via Docker, because I feel it could be better. Unfortunately, I have not

D3313: scmutil: make shortesthexnodeidprefix() use unfiltered repo

2018-04-15 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa2c30721743f: scmutil: make shortesthexnodeidprefix() use unfiltered repo (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D3371: scmutil: make shortesthexnodeidprefix() take a full binary nodeid

2018-04-15 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1f473df0dffe: scmutil: make shortesthexnodeidprefix() take a full binary nodeid (authored by martinvonz, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D3371?vs=8286=8303#toc

[PATCH] lfs: add the 'Authorization' property to the Batch API response, if present

2018-04-15 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1523027627 14400 # Fri Apr 06 11:13:47 2018 -0400 # Node ID 6d8c47590030244033d51c2d0b390d2ee6337dea # Parent acd5a25c179269df689b8799aa7cbc52d5451251 lfs: add the 'Authorization' property to the Batch API response,

D2678: help: supporting both help and doc for aliases

2018-04-15 Thread mharbison72 (Matt Harbison)
mharbison72 added a comment. Is there anything that needs to be done to mark this experimental? I toyed with replacing '\n' substrings with LF, but wasn't happy enough with it to submit, and ran out of time. Last time I played with this, I also saw that '.. container:: verbose' is

[PATCH] configitems: register server.zstdlevel

2018-04-15 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1523845683 14400 # Sun Apr 15 22:28:03 2018 -0400 # Node ID 219d6a6bcbc3459ca2af6397346e8af6b80a8951 # Parent 6d8c47590030244033d51c2d0b390d2ee6337dea configitems: register server.zstdlevel Somehow, I managed to