[PATCH 4 of 5] help: explain what the term "revset" means

2017-01-11 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1484203567 28800 # Wed Jan 11 22:46:07 2017 -0800 # Node ID f4f54de30261c007dd9565c5b0007d2d6a9c3665 # Parent 03f51cd7c078e769a8db3c4fceebd2e24a7fbc69 help: explain what the term "revset" means We refer to revsets in a few places (e.g

[PATCH 5 of 5] help: explain that revsets can be used where 1 or 2 revs are wanted

2017-01-11 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1484205180 28800 # Wed Jan 11 23:13:00 2017 -0800 # Node ID a997378ca98dad8fd8daed6cc4e73b5c2badcef6 # Parent f4f54de30261c007dd9565c5b0007d2d6a9c3665 help: explain that revsets can be used where 1 or 2 revs are wanted We did not seem

[PATCH 2 of 5] tests: use `hg help dates` instead of `hg help revs` in test

2017-01-11 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1484163640 28800 # Wed Jan 11 11:40:40 2017 -0800 # Node ID e57922b04e9004bd580888148b4cb898b629b7b2 # Parent b75ebd3e375f85852b81aabc64639457ff796328 tests: use `hg help dates` instead of `hg help revs` in test The revisions help is

[PATCH 3 of 5] help: merge revsets.txt into revisions.txt

2017-01-11 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1484163458 28800 # Wed Jan 11 11:37:38 2017 -0800 # Node ID 03f51cd7c078e769a8db3c4fceebd2e24a7fbc69 # Parent e57922b04e9004bd580888148b4cb898b629b7b2 help: merge revsets.txt into revisions.txt Selecting single and multiple revisions

[PATCH 1 of 5] help: use a single paragraph to describe full and abbreviated nodeids

2017-01-11 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1484162934 28800 # Wed Jan 11 11:28:54 2017 -0800 # Node ID b75ebd3e375f85852b81aabc64639457ff796328 # Parent 493935e0327a2dca0987a702bf06fa89b62e6a5c help: use a single paragraph to describe full and abbreviated nodeids The texts des

[Bug 5464] New: notification email of subscribed wiki page still uses "selenic.com" domain in some headers

2017-01-11 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5464 Bug ID: 5464 Summary: notification email of subscribed wiki page still uses "selenic.com" domain in some headers Product: Mercurial Version: unspecified Hardware: All

Re: [PATCH] rebase: provide detailed hint to abort message if working dir is not clean

2017-01-11 Thread Gregory Szorc
> On Jan 10, 2017, at 07:42, Augie Fackler wrote: > >> On Tue, Jan 10, 2017 at 12:48:34PM +0100, Valters Vingolds wrote: >> # HG changeset patch >> # User Valters Vingolds >> # Date 1484037147 -3600 >> # Tue Jan 10 09:32:27 2017 +0100 >> # Node ID 90b94e9a35acd2f8b7ec74211a0b3e01fe70215b

Re: [PATCH] hgweb: call process_dates() via DOM event listener

2017-01-11 Thread Gregory Szorc
> On Jan 11, 2017, at 21:43, Anton Shestakov wrote: > > On Wed, 11 Jan 2017 19:38:17 -0800 > Gregory Szorc wrote: > >> # HG changeset patch >> # User Gregory Szorc >> # Date 1484110068 28800 >> # Tue Jan 10 20:47:48 2017 -0800 >> # Node ID 79314c9a79b3aa033b6f79d066b97d7157ecac33 >> # P

[PATCH 3 of 3] revset: point to 'grep' in the 'keyword' help for regex searches

2017-01-11 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1484194431 18000 # Wed Jan 11 23:13:51 2017 -0500 # Node ID 1d88ac8809e20256e3702f25c77a411a53367474 # Parent 41eac69037f03733374ea658a6a13de3973860bc revset: point to 'grep' in the 'keyword' help for regex searches The help for 'grep' alread

[PATCH 2 of 3] revset: stop lowercasing the regex pattern for 'author'

2017-01-11 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1484192530 18000 # Wed Jan 11 22:42:10 2017 -0500 # Node ID 41eac69037f03733374ea658a6a13de3973860bc # Parent 73c65ceadc057eab288061b44e18254f674e88c6 revset: stop lowercasing the regex pattern for 'author' It was probably unintentional for r

Re: [PATCH] hgweb: call process_dates() via DOM event listener

2017-01-11 Thread Anton Shestakov
On Wed, 11 Jan 2017 19:38:17 -0800 Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1484110068 28800 > # Tue Jan 10 20:47:48 2017 -0800 > # Node ID 79314c9a79b3aa033b6f79d066b97d7157ecac33 > # Parent 9cb0bb0f29f06fa88ac4f41d8743871b33c48548 > hgweb: call process_

[PATCH 1 of 3] util: teach stringmatcher to handle forced case insensitive matches

2017-01-11 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1484189239 18000 # Wed Jan 11 21:47:19 2017 -0500 # Node ID 73c65ceadc057eab288061b44e18254f674e88c6 # Parent 493935e0327a2dca0987a702bf06fa89b62e6a5c util: teach stringmatcher to handle forced case insensitive matches The 'author' and 'desc'

Re: [PATCH] revset: introduce the summary predicate

2017-01-11 Thread Matt Harbison
On Wed, 11 Jan 2017 09:15:28 -0500, Yuya Nishihara wrote: On Tue, 10 Jan 2017 20:09:45 -0500, Matt Harbison wrote: On Mon, 09 Jan 2017 23:33:17 -0500, Matt Harbison wrote: > On Mon, 09 Jan 2017 05:49:23 -0500, Pierre-Yves David >> * predicate >> * default behavior >> * support 'rich' string

mercurial@30751: 11 new changesets

2017-01-11 Thread Mercurial Commits
11 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/fde9692a02c0 changeset: 30741:fde9692a02c0 user:Jun Wu date:Tue Jan 10 06:59:39 2017 +0800 summary: chg: remove getpager support https://www.mercurial-scm.org/repo/hg/rev/d3e2d39b97ea changeset: 307

Re: [PATCH] hgweb: call process_dates() via DOM event listener

2017-01-11 Thread Augie Fackler
On Wed, Jan 11, 2017 at 07:38:17PM -0800, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1484110068 28800 > # Tue Jan 10 20:47:48 2017 -0800 > # Node ID 79314c9a79b3aa033b6f79d066b97d7157ecac33 > # Parent 9cb0bb0f29f06fa88ac4f41d8743871b33c48548 > hgweb: call pro

Re: [PATCH 1 of 3] parser: make buildargsdict() precompute position where keyword args start

2017-01-11 Thread Augie Fackler
On Mon, Jan 09, 2017 at 11:38:13PM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1483942521 -32400 > # Mon Jan 09 15:15:21 2017 +0900 > # Node ID 95725b2c0e04033fbe0a54e1884fd347fdff18b2 > # Parent c2bd2f77965b7d23d05575596e4b30c04d5d5adf > parser: make

Re: [PATCH] hgweb: support Content Security Policy

2017-01-11 Thread Augie Fackler
On Jan 11, 2017 10:38 PM, "Gregory Szorc" wrote: I forgot to send a patch I made before this that refactored that process_dates() line. Will patchbomb in a few seconds. Please queue before the CSP patch if accepted. Can do. I'll likely handle that in the morning. Thanks! Otherwise, drop the CS

[PATCH] hgweb: call process_dates() via DOM event listener

2017-01-11 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1484110068 28800 # Tue Jan 10 20:47:48 2017 -0800 # Node ID 79314c9a79b3aa033b6f79d066b97d7157ecac33 # Parent 9cb0bb0f29f06fa88ac4f41d8743871b33c48548 hgweb: call process_dates() via DOM event listener All the hgweb templates include mercuria

Re: [PATCH] hgweb: support Content Security Policy

2017-01-11 Thread Gregory Szorc
I forgot to send a patch I made before this that refactored that process_dates() line. Will patchbomb in a few seconds. Please queue before the CSP patch if accepted. Otherwise, drop the CSP patch and have me send a V2. On Wed, Jan 11, 2017 at 7:11 PM, Augie Fackler wrote: > On Wed, Jan 11, 2017

Re: [PATCH] hgweb: support Content Security Policy

2017-01-11 Thread Augie Fackler
On Wed, Jan 11, 2017 at 10:05:05PM -0500, Augie Fackler wrote: > On Tue, Jan 10, 2017 at 11:41:10PM -0800, Gregory Szorc wrote: > > # HG changeset patch > > # User Gregory Szorc > > # Date 1484120228 28800 > > # Tue Jan 10 23:37:08 2017 -0800 > > # Node ID 113293954736e020d29e8e48aa3e01657ec8

Re: [PATCH] hgweb: support Content Security Policy

2017-01-11 Thread Augie Fackler
On Tue, Jan 10, 2017 at 11:41:10PM -0800, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1484120228 28800 > # Tue Jan 10 23:37:08 2017 -0800 > # Node ID 113293954736e020d29e8e48aa3e01657ec853f3 > # Parent 79314c9a79b3aa033b6f79d066b97d7157ecac33 > hgweb: support

Re: [PATCH 2 of 2] commands: config option to control bundle compression level

2017-01-11 Thread Augie Fackler
On Wed, Jan 11, 2017 at 10:46:36AM -0800, Sean Farley wrote: > Gregory Szorc writes: > > > # HG changeset patch > > # User Gregory Szorc > > # Date 1484076032 28800 > > # Tue Jan 10 11:20:32 2017 -0800 > > # Node ID 5afa8b0ba877fd8602b0f8bd3b5949f98d56e90b > > # Parent 82e5f4db873e2e4e01bb5

Re: [PATCH] chg: check snprintf result strictly

2017-01-11 Thread Augie Fackler
On Wed, Jan 11, 2017 at 11:42:57PM +0800, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1484149164 -28800 > # Wed Jan 11 23:39:24 2017 +0800 > # Node ID 5cbdc769201b22cbc4f698c7bc9235984c7cf427 > # Parent e882c7bb5a0ba2589a44108c9a87b300a13e08df > # Available At https://bitbu

Re: [PATCH] tests: fix import order in test-bdiff

2017-01-11 Thread Martin von Zweigbergk via Mercurial-devel
On Wed, Jan 11, 2017 at 4:48 PM, Gregory Szorc wrote: > On Wed, Jan 11, 2017 at 12:58 PM, Martin von Zweigbergk via Mercurial-devel > wrote: >> >> # HG changeset patch >> # User Martin von Zweigbergk >> # Date 1484168228 28800 >> # Wed Jan 11 12:57:08 2017 -0800 >> # Node ID 193e2d6cba6f294

Re: [PATCH] tests: fix import order in test-bdiff

2017-01-11 Thread Gregory Szorc
On Wed, Jan 11, 2017 at 12:58 PM, Martin von Zweigbergk via Mercurial-devel wrote: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1484168228 28800 > # Wed Jan 11 12:57:08 2017 -0800 > # Node ID 193e2d6cba6f294dca88b939a2a1afa5874a9794 > # Parent 9823e2f50a935f6170e01235b65b

Re: [PATCH] hgweb: support Content Security Policy

2017-01-11 Thread Gregory Szorc
On Wed, Jan 11, 2017 at 10:53 AM, Sean Farley wrote: > Gregory Szorc writes: > > > # HG changeset patch > > # User Gregory Szorc > > # Date 1484120228 28800 > > # Tue Jan 10 23:37:08 2017 -0800 > > # Node ID 113293954736e020d29e8e48aa3e01657ec853f3 > > # Parent 79314c9a79b3aa033b6f79d066b

Re: [LAST CALL] Picking a date for Mercurial 4.2 sprint (California, February-March)

2017-01-11 Thread Martin von Zweigbergk via Mercurial-devel
On Mon, Jan 9, 2017 at 7:39 AM, Pierre-Yves David wrote: > On 01/08/2017 09:45 PM, Gregory Szorc wrote: >> >> On Sun, Jan 8, 2017 at 10:01 AM, Martin von Zweigbergk >> mailto:martinv...@google.com>> wrote: >> >> >> >> On Sun, Jan 8, 2017, 05:19 Pierre-Yves David >> >

[PATCH] tests: fix import order in test-bdiff

2017-01-11 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1484168228 28800 # Wed Jan 11 12:57:08 2017 -0800 # Node ID 193e2d6cba6f294dca88b939a2a1afa5874a9794 # Parent 9823e2f50a935f6170e01235b65b5282680ebdab tests: fix import order in test-bdiff Without this, I see the following failure in

Re: [PATCH] chg: check snprintf result strictly

2017-01-11 Thread Sean Farley
Jun Wu writes: > # HG changeset patch > # User Jun Wu > # Date 1484149164 -28800 > # Wed Jan 11 23:39:24 2017 +0800 > # Node ID 5cbdc769201b22cbc4f698c7bc9235984c7cf427 > # Parent e882c7bb5a0ba2589a44108c9a87b300a13e08df > # Available At https://bitbucket.org/quark-zju/hg-draft > #

Re: [PATCH] hgweb: support Content Security Policy

2017-01-11 Thread Sean Farley
Gregory Szorc writes: > # HG changeset patch > # User Gregory Szorc > # Date 1484120228 28800 > # Tue Jan 10 23:37:08 2017 -0800 > # Node ID 113293954736e020d29e8e48aa3e01657ec853f3 > # Parent 79314c9a79b3aa033b6f79d066b97d7157ecac33 > hgweb: support Content Security Policy > > Content-Sec

Re: Deltas, compression, and zstd

2017-01-11 Thread Yann Collet
You made many excellent points Gregory, backed by great investigations. Let me try to answer some of your questions: > Optimizing read performance. - In my tests, decompression time of small assets (<=300 bytes) tend to be dominated by Huffman table

Re: [PATCH 2 of 2] commands: config option to control bundle compression level

2017-01-11 Thread Sean Farley
Gregory Szorc writes: > # HG changeset patch > # User Gregory Szorc > # Date 1484076032 28800 > # Tue Jan 10 11:20:32 2017 -0800 > # Node ID 5afa8b0ba877fd8602b0f8bd3b5949f98d56e90b > # Parent 82e5f4db873e2e4e01bb5264a5b2cc22781fc4b3 > commands: config option to control bundle compression

Re: [PATCH RFC] crecord: make an option for space key to move cursor down (issue5159) (RFC)

2017-01-11 Thread Sean Farley
Pierre-Yves David writes: > On 01/08/2017 03:19 AM, Anton Shestakov wrote: >> # HG changeset patch >> # User Anton Shestakov >> # Date 1483841309 -28800 >> # Sun Jan 08 10:08:29 2017 +0800 >> # Node ID 1afa1ffe6984bfe0027336ce0c83486e82ba2b50 >> # Parent cfd14b0508ddf8edf156d202e2c5d07b259

Re: [PATCH 2 of 2] chg: change server's process title

2017-01-11 Thread Jun Wu
Excerpts from Yuya Nishihara's message of 2017-01-12 00:03:35 +0900: > On Wed, 11 Jan 2017 09:13:10 +0800, Jun Wu wrote: > > # HG changeset patch > > # User Jun Wu > > # Date 1484091652 -28800 > > # Wed Jan 11 07:40:52 2017 +0800 > > # Node ID b68bec41a5562c8fa0ed9ac0e94f0c2d6906a2e8 > > # Pa

[PATCH] chg: check snprintf result strictly

2017-01-11 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1484149164 -28800 # Wed Jan 11 23:39:24 2017 +0800 # Node ID 5cbdc769201b22cbc4f698c7bc9235984c7cf427 # Parent e882c7bb5a0ba2589a44108c9a87b300a13e08df # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull https://bitbucket.o

Re: [PATCH 2 of 2] chg: change server's process title

2017-01-11 Thread Yuya Nishihara
On Wed, 11 Jan 2017 09:13:10 +0800, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1484091652 -28800 > # Wed Jan 11 07:40:52 2017 +0800 > # Node ID b68bec41a5562c8fa0ed9ac0e94f0c2d6906a2e8 > # Parent a82e9f172feff7ca2380b3db8833ddc64cd35429 > # Available At https://bitbucket.o

Re: [PATCH] revset: introduce the summary predicate

2017-01-11 Thread Yuya Nishihara
On Tue, 10 Jan 2017 20:09:45 -0500, Matt Harbison wrote: > On Mon, 09 Jan 2017 23:33:17 -0500, Matt Harbison > wrote: > > On Mon, 09 Jan 2017 05:49:23 -0500, Pierre-Yves David > >> * predicate > >> * default behavior > >> * support 'rich' stringmatcher ? > >> * are 'literal:' case sensitive ?

Re: ideas: chg repo preloading, and new changelog index

2017-01-11 Thread Pierre-Yves David
On 12/30/2016 09:58 PM, Jun Wu wrote: Excerpts from Gregory Szorc's message of 2016-12-30 12:18:32 -0800: On Tue, Dec 27, 2016 at 8:35 AM, Jun Wu wrote: chg repo preloading I have been thinking about speeding up repo loading for a long time. Previous ideas are persistent radix tree, hi

Re: ideas: chg repo preloading, and new changelog index

2017-01-11 Thread Pierre-Yves David
On 12/30/2016 09:47 PM, Sean Farley wrote: Jun Wu writes: chg repo preloading I have been thinking about speeding up repo loading for a long time. Previous ideas are persistent radix tree, hidden bitmap, mmap changelog.i. Recently I realized that chg (after the uisetup refactoring) c

Re: [PATCH 2 of 2] chg: change server's process title

2017-01-11 Thread Pierre-Yves David
On 01/11/2017 08:57 AM, Pierre-Yves David wrote: On 01/11/2017 02:13 AM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1484091652 -28800 # Wed Jan 11 07:40:52 2017 +0800 # Node ID b68bec41a5562c8fa0ed9ac0e94f0c2d6906a2e8 # Parent a82e9f172feff7ca2380b3db8833ddc64cd35429 # Avai

Re: Future of copy metadata

2017-01-11 Thread Pierre-Yves David
It is probably useful to mention the experimental automv extensions: https://www.mercurial-scm.org/wiki/AutomvExtension (not directly related to changing the storage, but still related to copy detection). On 12/18/2016 10:31 PM, Gregory Szorc wrote: Mercurial currently stores file copy/ren