Re: [PATCH 07 of 10 V9] exchange: getbundle `bookmarks` part generator

2016-11-15 Thread Gregory Szorc
On Sun, Nov 13, 2016 at 2:30 AM, Stanislau Hlebik wrote: > # HG changeset patch > # User Stanislau Hlebik > # Date 1479032456 28800 > # Sun Nov 13 02:20:56 2016 -0800 > # Branch stable > # Node ID 606bb4a7fb818f24d52e764828ba0d0a7921f999 > # Parent

Re: [PATCH 04 of 10 V9] bookmarks: introduce binary encoding

2016-11-15 Thread Gregory Szorc
On Sun, Nov 13, 2016 at 2:30 AM, Stanislau Hlebik wrote: > # HG changeset patch > # User Stanislau Hlebik > # Date 1479032456 28800 > # Sun Nov 13 02:20:56 2016 -0800 > # Branch stable > # Node ID 8b6ab3b8df3aae90ac72d7fa4603e7d5b4ab55e9 > # Parent

Re: [PATCH 5 of 7 v2] bdiff: give slight preference to longest matches in the middle of the B side

2016-11-15 Thread Gregory Szorc
On Tue, Nov 15, 2016 at 1:13 PM, Mads Kiilerich wrote: > On 11/15/2016 09:57 PM, Mads Kiilerich wrote: > >> # HG changeset patch >> # User Mads Kiilerich >> # Date 1478626653 -3600 >> # Tue Nov 08 18:37:33 2016 +0100 >> # Node ID

Re: [PATCH 5 of 5 rfc] bdiff: make sure we append to repeated lines instead of inserting into range

2016-11-15 Thread Gregory Szorc
On Tue, Nov 15, 2016 at 1:06 PM, Mads Kiilerich wrote: > On 11/12/2016 03:58 PM, Jun Wu wrote: > >> Excerpts from Mads Kiilerich's message of 2016-11-03 22:34:15 +0100: >> >>> # HG changeset patch >>> # User Mads Kiilerich >>> # Date 1478208837 -3600 >>>

Re: [PATCH 2 of 2] commands: introduce `hg display`

2016-11-15 Thread Gregory Szorc
On Thu, Nov 10, 2016 at 9:44 AM, Pierre-Yves David < pierre-yves.da...@ens-lyon.org> wrote: > > > On 11/08/2016 03:50 AM, Gregory Szorc wrote: > >> On Mon, Nov 7, 2016 at 4:41 AM, Pierre-Yves David >> > >> wrote: >> >> On

Re: [PATCH 2 of 2 V3] perf: add asv benchmarks

2016-11-15 Thread Gregory Szorc
On Tue, Nov 15, 2016 at 7:55 AM, Philippe Pepiot wrote: > # HG changeset patch > # User Philippe Pepiot > # Date 1475136994 -7200 > # Thu Sep 29 10:16:34 2016 +0200 > # Node ID 94e48d7dc9630543e0f4179b2ca96f3c66967f6a > # Parent

Re: [PATCH 5 of 5 rfc] bdiff: make sure we append to repeated lines instead of inserting into range

2016-11-15 Thread Mads Kiilerich
On 11/12/2016 03:58 PM, Jun Wu wrote: Excerpts from Mads Kiilerich's message of 2016-11-03 22:34:15 +0100: # HG changeset patch # User Mads Kiilerich # Date 1478208837 -3600 # Thu Nov 03 22:33:57 2016 +0100 # Node ID be83c5f4ec8931cb7e771a80a3ef5e2042a005c1 # Parent

[PATCH 2 of 7 v2] tests: explore some bdiff cases

2016-11-15 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1478626653 -3600 # Tue Nov 08 18:37:33 2016 +0100 # Node ID 0f97aaa1b3f5c25e02296c73e6e93d77a197910c # Parent b7354208678098580f6e5f975d734c1e8dd9d846 tests: explore some bdiff cases diff --git a/tests/test-bdiff.py

Re: [PATCH 1 of 2] manifest: make revlog verification optional

2016-11-15 Thread Martin von Zweigbergk via Mercurial-devel
On Tue, Nov 15, 2016 at 9:59 AM, Gregory Szorc wrote: > On Mon, Nov 14, 2016 at 3:27 PM, Durham Goode wrote: >> >> # HG changeset patch >> # User Durham Goode >> # Date 1479165447 28800 >> # Mon Nov 14 15:17:27 2016 -0800 >> # Node ID

[PATCH 1 of 7 v2] tests: make test-bdiff.py easier to maintain

2016-11-15 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1479243409 -3600 # Tue Nov 15 21:56:49 2016 +0100 # Node ID b7354208678098580f6e5f975d734c1e8dd9d846 # Parent e1d6aa0e4c3aed73e0dc523b8a8fd5f9fe23510a tests: make test-bdiff.py easier to maintain Add more stdout logging

[PATCH 5 of 7 v2] bdiff: give slight preference to longest matches in the middle of the B side

2016-11-15 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1478626653 -3600 # Tue Nov 08 18:37:33 2016 +0100 # Node ID 5ae7e8061a9671e8941a7a17e316254d228acf59 # Parent 5bb26f29b1509520ca3af4c540775cab50b4d6c0 bdiff: give slight preference to longest matches in the middle of the

[PATCH 4 of 7 v2] bdiff: rearrange the "better longest match" code

2016-11-15 Thread Mads Kiilerich
# HG changeset patch # User Mads Kiilerich # Date 1478626653 -3600 # Tue Nov 08 18:37:33 2016 +0100 # Node ID 5bb26f29b1509520ca3af4c540775cab50b4d6c0 # Parent fbce612c9be26860338f6ba4ab5df819b6d79521 bdiff: rearrange the "better longest match" code This is primarily to

[PATCH V2] util: improve iterfile so it chooses code path wisely

2016-11-15 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1479241551 0 # Tue Nov 15 20:25:51 2016 + # Node ID f3d2f4ebc4006043684db52e4487756dd4e2d238 # Parent d1a0a64f6e16432333bea0476098c46a61222b9b # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

Re: [PATCH] util: improve iterfile so it impacts little on performance

2016-11-15 Thread Jun Wu
Excerpts from Jun Wu's message of 2016-11-15 16:04:13 +: > # HG changeset patch > # User Jun Wu > # Date 1479225350 0 > # Tue Nov 15 15:55:50 2016 + > # Node ID 3cd2e9873bc1d565300b629e72100800075d12bb > # Parent d1a0a64f6e16432333bea0476098c46a61222b9b > # Available

Re: [PATCH 2 of 2 narrowhg-ext] manifest: fix narrowmanifest to be narrowmanifestlog

2016-11-15 Thread Martin von Zweigbergk via Mercurial-devel
queued these with some minor changes (dropped unused import and changed an "add" to "write"). Thanks! On Mon, Nov 14, 2016 at 3:30 PM, Durham Goode wrote: > # HG changeset patch > # User Durham Goode > # Date 1479166205 28800 > # Mon Nov 14 15:30:05 2016 -0800

Re: [PATCH V2] perf: add asv benchmarks

2016-11-15 Thread Philippe Pepiot
On 11/14/2016 11:02 AM, Jun Wu wrote: Generally looks good to me. Some inline comments about small issues. I wonder if it is possible to get rid of the dependencies on virtualenv and hglib as installing them could be troublesome in some environments. I think "virtualenv" could be replaced by

[PATCH 1 of 2 V3] perf: omit copying ui and redirect to ferr if buffer API is in use

2016-11-15 Thread Philippe Pepiot
# HG changeset patch # User Philippe Pepiot # Date 1479222657 -3600 # Tue Nov 15 16:10:57 2016 +0100 # Node ID ab6e50ddc2c56dcf170991293005be6d6f80a232 # Parent e1d6aa0e4c3aed73e0dc523b8a8fd5f9fe23510a perf: omit copying ui and redirect to ferr if buffer API is

[PATCH 2 of 2 V3] perf: add asv benchmarks

2016-11-15 Thread Philippe Pepiot
# HG changeset patch # User Philippe Pepiot # Date 1475136994 -7200 # Thu Sep 29 10:16:34 2016 +0200 # Node ID 94e48d7dc9630543e0f4179b2ca96f3c66967f6a # Parent ab6e50ddc2c56dcf170991293005be6d6f80a232 perf: add asv benchmarks Airspeed velocity (ASV) is a python

Re: [PATCH 3 of 6] patch: migrate to util.iterfile

2016-11-15 Thread Yuya Nishihara
On Tue, 15 Nov 2016 15:14:09 +, Jun Wu wrote: > Excerpts from Jun Wu's message of 2016-11-15 15:11:52 +: > > Excerpts from Pierre-Yves David's message of 2016-11-15 14:07:15 +: > > > > > > On 11/15/2016 01:38 PM, Jun Wu wrote: > > > > Excerpts from Yuya Nishihara's message of

Re: Vendoring zstd

2016-11-15 Thread Gregory Szorc
> On Nov 15, 2016, at 06:31, Pierre-Yves David > wrote: > > > >> On 11/10/2016 10:22 PM, Augie Fackler wrote: >>> On Thu, Nov 10, 2016 at 10:07:32AM -0800, Gregory Szorc wrote: >>> I plan to add support for zstd to Mercurial this release cycle. I don't >>>

Re: [PATCH 3 of 6] patch: migrate to util.iterfile

2016-11-15 Thread Jun Wu
Excerpts from Jun Wu's message of 2016-11-15 15:11:52 +: > Excerpts from Pierre-Yves David's message of 2016-11-15 14:07:15 +: > > > > On 11/15/2016 01:38 PM, Jun Wu wrote: > > > Excerpts from Yuya Nishihara's message of 2016-11-15 21:14:10 +0900: > > >> On Mon, 14 Nov 2016 23:35:55

Re: [PATCH 3 of 6] patch: migrate to util.iterfile

2016-11-15 Thread Jun Wu
Excerpts from Pierre-Yves David's message of 2016-11-15 14:07:15 +: > > On 11/15/2016 01:38 PM, Jun Wu wrote: > > Excerpts from Yuya Nishihara's message of 2016-11-15 21:14:10 +0900: > >> On Mon, 14 Nov 2016 23:35:55 +, Jun Wu wrote: > >>> # HG changeset patch > >>> # User Jun Wu

Re: [PATCH 3 of 6] patch: migrate to util.iterfile

2016-11-15 Thread Martijn Pieters
On 15 November 2016 at 12:14, Yuya Nishihara wrote: > Not all read()s are interruptible by signals. I don't remember the detail, > but > signal(7) of Linux says "read(2) ... calls on "slow" devices. ... Note > that a > (local) disk is not a slow device according to this

Re: Vendoring zstd

2016-11-15 Thread Pierre-Yves David
On 11/10/2016 10:22 PM, Augie Fackler wrote: On Thu, Nov 10, 2016 at 10:07:32AM -0800, Gregory Szorc wrote: I plan to add support for zstd to Mercurial this release cycle. I don't think support itself is too controversial. (There will be bikeshedding over implementation details, of course.)

Re: [PATCH 02 of 10 V8] bookmarks: introduce listbookmarks()

2016-11-15 Thread Pierre-Yves David
On 11/12/2016 11:41 PM, Gregory Szorc wrote: On Sat, Nov 12, 2016 at 12:19 PM, Stanislau Hlebik > wrote: # HG changeset patch # User Stanislau Hlebik > # Date 1478980589 28800 # Sat Nov 12 11:56:29 2016

Re: [PATCH] match: adding support for repository-root-based globs

2016-11-15 Thread Pierre-Yves David
On 11/15/2016 04:59 AM, Rodrigo Damazio Bovendorp via Mercurial-devel wrote: # HG changeset patch # User Rodrigo Damazio Bovendorp # Date 1475944120 25200 # Sat Oct 08 09:28:40 2016 -0700 # Node ID 93434cce258a797fcc3997c0af994a524695e273 # Parent

Re: [PATCH 1 of 3 STABLE] util: add utility function to skip avoiding file stat ambiguity if EPERM

2016-11-15 Thread Yuya Nishihara
On Tue, 15 Nov 2016 22:33:31 +0900, FUJIWARA Katsunori wrote: > At Mon, 14 Nov 2016 22:43:04 +0900, > Yuya Nishihara wrote: > > > > On Sun, 13 Nov 2016 06:16:08 +0900, FUJIWARA Katsunori wrote: > > > # HG changeset patch > > > # User FUJIWARA Katsunori > > > # Date

Re: [PATCH 3 of 6] patch: migrate to util.iterfile

2016-11-15 Thread Pierre-Yves David
On 11/15/2016 01:38 PM, Jun Wu wrote: Excerpts from Yuya Nishihara's message of 2016-11-15 21:14:10 +0900: On Mon, 14 Nov 2016 23:35:55 +, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1479165246 0 # Mon Nov 14 23:14:06 2016 + # Node ID

Re: [PATCH 6 of 8 V5] worker: make sure killworkers runs at most once

2016-11-15 Thread Yuya Nishihara
On Tue, 15 Nov 2016 02:39:09 +, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1479176697 0 > # Tue Nov 15 02:24:57 2016 + > # Node ID 8402c91c250a9dd369296dcdf00f7b50110ff6ae > # Parent 9dbb3532b173a980f341e41d9e96338a386364e5 > # Available At

Re: [PATCH 1 of 3 STABLE] util: add utility function to skip avoiding file stat ambiguity if EPERM

2016-11-15 Thread FUJIWARA Katsunori
At Mon, 14 Nov 2016 22:43:04 +0900, Yuya Nishihara wrote: > > On Sun, 13 Nov 2016 06:16:08 +0900, FUJIWARA Katsunori wrote: > > # HG changeset patch > > # User FUJIWARA Katsunori > > # Date 1478984783 -32400 > > # Sun Nov 13 06:06:23 2016 +0900 > > # Branch stable > >

Re: [PATCH 2 of 2 V4] osutil: implement setprocname to set process title for some platforms

2016-11-15 Thread Yuya Nishihara
On Mon, 14 Nov 2016 16:35:42 +, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1478898677 0 > # Fri Nov 11 21:11:17 2016 + > # Node ID 695fa432ce250fdc40d5871a0009907262fe7949 > # Parent 98761d64eaaf67f3bdb99f3f80a57910e2624b78 > # Available At

Re: [PATCH RESEND] revert: do not reverse hunks in interactive when REV is not parent (issue5096)

2016-11-15 Thread Denis Laxalde
Pierre-Yves David a écrit : We can extract two main points in the section you reply to and I'm not sure which one you address in your reply. I'm going to re-emit them in a simplified/modified form to clarify First important point = In the following case: * `hg revert -i` *