Re: [PATCH] bundle2: only emit compressed chunks if they have data

2016-10-16 Thread Pierre-Yves David
On 10/16/2016 02:19 AM, Gregory Szorc wrote: # HG changeset patch # User Gregory Szorc # Date 1476576653 25200 # Sat Oct 15 17:10:53 2016 -0700 # Node ID adac553f5fced14a7393e11c71e642eabbc82073 # Parent 5cb830801855dbb63e98b948e355bc995d295bf3 bundle2: only emit compressed chunks if the

Re: [PATCH] color: add some documentation for custom terminfo codes

2016-10-16 Thread Pierre-Yves David
On 10/16/2016 12:08 AM, danek.duv...@oracle.com wrote: # HG changeset patch # User Danek Duvall # Date 1476568874 25200 # Sat Oct 15 15:01:14 2016 -0700 # Node ID 42f5a2db9e7f9d66058a7d77bc8c0c263272a8de # Parent c59334b806a8f10c80c2ea196eba5f4b1b86b229 color: add some documentation for

Re: [PATCH] checkhash: merge subfunctions

2016-10-16 Thread Pierre-Yves David
On 10/08/2016 03:46 PM, Remi Chaintron wrote: # HG changeset patch # User Remi Chaintron # Date 1475932840 25200 # Sat Oct 08 06:20:40 2016 -0700 # Node ID a7f89275e96e0e8fe594f99120034d3345130dcc # Parent 3741a8f86e88702595c29f8ed824a28da0cfa961 checkhash: merge subfunctions The fact

Re: [PATCH 1 of 9 V6] exchange: add `_getbookmarks()` function

2016-10-16 Thread Pierre-Yves David
On 10/11/2016 06:25 PM, Stanislau Hlebik wrote: # HG changeset patch # User Stanislau Hlebik # Date 1476195835 25200 # Tue Oct 11 07:23:55 2016 -0700 # Node ID 55e997127023d7208488c593adb933a1bfb23312 # Parent b85fa6bf298be07804a74d8fdec0d19fdbc6d740 exchange: add `_getbookmarks()` funct

Re: [PATCH evolve-ext] tests: adjust tests to respect cmd flag negation from core

2016-10-16 Thread Pierre-Yves David
On 10/04/2016 12:05 PM, Kostia Balytskyi wrote: # HG changeset patch # User Kostia Balytskyi # Date 1475575213 25200 # Tue Oct 04 03:00:13 2016 -0700 # Branch stable # Node ID 322d537de6654e211c2f10e5c55d974fdc0c90b2 # Parent 8f902ec9ed9a296d92c2c2df1536af8c44b5321c tests: adjust tests t

Re: [PATCH 3 of 3] color: debugcolor should emit the user-defined colors

2016-10-16 Thread Yuya Nishihara
On Sat, 15 Oct 2016 15:07:08 -0700, Danek Duvall wrote: > Yuya Nishihara wrote: > > On Thu, 13 Oct 2016 13:27:35 -0700, danek.duv...@oracle.com wrote: > > > # HG changeset patch > > > # User Danek Duvall > > > # Date 1476389401 25200 > > > # Thu Oct 13 13:10:01 2016 -0700 > > > # Node ID c593

Re: [PATCH 2 of 2] evolve: lock the working copy early in next and prev (issue5244)

2016-10-16 Thread Pierre-Yves David
On 10/08/2016 05:18 PM, Simon Farnsworth wrote: # HG changeset patch # User Simon Farnsworth # Date 1475939634 25200 # Sat Oct 08 08:13:54 2016 -0700 # Node ID 8a0c9c0158b3e9574a4571af3dce9978844b825d # Parent ee284d7c5faa5d9f17853f51c17883844b985c58 evolve: lock the working copy early i

Re: [PATCH 2 of 2] changegroup: skip delta when the underlying revlog do not use them

2016-10-16 Thread Pierre-Yves David
On 10/14/2016 09:01 AM, Gregory Szorc wrote: Cool. I was going to author this patch when I got back home! This patch will result in CPU regression for old clients having to re-deltify. It would be nice to have numbers for that. I'm optimistic it is roughly the same as the server gains and it

Re: [PATCH] osutil: implement listdir for linux

2016-10-16 Thread Pierre-Yves David
On 10/14/2016 09:02 AM, Maciej Fijalkowski wrote: # HG changeset patch # User Maciej Fijalkowski # Date 1476428549 -7200 # Fri Oct 14 09:02:29 2016 +0200 # Node ID 4e80a66124279e235dec7ae8f58c0a14b0b137bf # Parent c770219dc4c253d7cd82519ce3c74438bb2829d3 osutil: implement listdir for lin

Re: [PATCH] revset: for x^2, do not take null as a valid p2 revision

2016-10-16 Thread Pierre-Yves David
On 10/15/2016 09:06 AM, Yuya Nishihara wrote: On Fri, 14 Oct 2016 18:42:12 +0200, Pierre-Yves David wrote: On 10/14/2016 05:35 PM, Yuya Nishihara wrote: # HG changeset patch # User Yuya Nishihara # Date 1476455580 -32400 # Fri Oct 14 23:33:00 2016 +0900 # Node ID 18ba0036dd81db9e45fd1a4

Re: [PATCH] revset: make follow() reject more than one start revisions

2016-10-16 Thread Pierre-Yves David
On 10/12/2016 03:07 PM, Yuya Nishihara wrote: # HG changeset patch # User Yuya Nishihara # Date 1476131409 -7200 # Mon Oct 10 22:30:09 2016 +0200 # Node ID 4960509763a61ae3710346131f218cf3bf3f3d32 # Parent 30b2ca4bcf3588de9d949b3eefb2669cb6f8a18a revset: make follow() reject more than on

Re: [PATCH 1 of 2] eol: do not wait on lack when writing cache

2016-10-16 Thread Pierre-Yves David
On 10/13/2016 05:39 PM, Pierre-Yves David wrote: On 10/13/2016 05:34 PM, Yuya Nishihara wrote: On Thu, 13 Oct 2016 17:28:02 +0200, Mads Kiilerich wrote: On 10/13/2016 05:07 PM, Pierre-Yves David wrote: On 10/13/2016 03:21 PM, Mads Kiilerich wrote: On 10/13/2016 01:53 PM, Pierre-Yves David wro

Re: [PATCH 1 of 3] templatekw: use a "?" to represent troubled changesets in graph

2016-10-16 Thread Pierre-Yves David
On 10/15/2016 02:25 PM, Yuya Nishihara wrote: On Mon, 10 Oct 2016 14:33:17 +0200, Denis Laxalde wrote: # HG changeset patch # User Denis Laxalde # Date 1475933106 -7200 # Sat Oct 08 15:25:06 2016 +0200 # Node ID 6c916ce602f5c92c5a5a4de954629670b8c7ca8c # Parent dbcef8918bbdd8a64d9f79a37

Re: [PATCH 2 of 3] cmdutil: add support for evolution "troubles" display in changeset_printer

2016-10-16 Thread Pierre-Yves David
On 10/15/2016 02:36 PM, Yuya Nishihara wrote: On Mon, 10 Oct 2016 14:33:18 +0200, Denis Laxalde wrote: # HG changeset patch # User Denis Laxalde # Date 1476094018 -7200 # Mon Oct 10 12:06:58 2016 +0200 # Node ID d9f7776c40b8c82bf438322f2442d99c4e116161 # Parent 6c916ce602f5c92c5a5a4de95

Re: [PATCH 2 of 2 v2] util: increase filechunkiter size to 128k

2016-10-16 Thread Pierre-Yves David
On 10/14/2016 03:08 AM, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich # Date 1476402795 -7200 # Fri Oct 14 01:53:15 2016 +0200 # Node ID 8909ce1593659bce0563cc66ca3fa34525daed65 # Parent b7889580507c3d1d40e61904c7a2c2aba335c6cd util: increase filechunkiter size to 128k

Re: [PATCH 2 of 2 v2] util: increase filechunkiter size to 128k

2016-10-16 Thread Yuya Nishihara
On Fri, 14 Oct 2016 03:08:25 +0200, Mads Kiilerich wrote: > # HG changeset patch > # User Mads Kiilerich > # Date 1476402795 -7200 > # Fri Oct 14 01:53:15 2016 +0200 > # Node ID 8909ce1593659bce0563cc66ca3fa34525daed65 > # Parent b7889580507c3d1d40e61904c7a2c2aba335c6cd > util: increase file

Re: [PATCH 1 of 3 v2] cmdutil: satisfy expections in dirstateguard.__del__, even if __init__ fails

2016-10-16 Thread Pierre-Yves David
On 10/13/2016 02:39 AM, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich # Date 1476317981 -7200 # Thu Oct 13 02:19:41 2016 +0200 # Node ID 8db96226f748ff80003c0964bc4ece3b6c3e6d12 # Parent b85fa6bf298be07804a74d8fdec0d19fdbc6d740 cmdutil: satisfy expections in dirstategu

Re: [PATCH] match: adding non-recursive directory matching

2016-10-16 Thread Pierre-Yves David
On 10/08/2016 06:58 PM, 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 545efe5a72efdce925a6a3fd3774b350c90b5c55 # Parent dbcef8918bbdd8a64d9f79a37bcfa284a26f3a39

Re: [PATCH 3 of 3 v2] repos: introduce '-R readonly:PATH' for doing local operations "read only"

2016-10-16 Thread Yuya Nishihara
On Fri, 14 Oct 2016 03:17:30 +0200, Mads Kiilerich wrote: > # HG changeset patch > # User Mads Kiilerich > # Date 1476402795 -7200 > # Fri Oct 14 01:53:15 2016 +0200 > # Node ID 491da143c2f310da732c2e1005e7f8394134a51d > # Parent 24a7ccfb932b134da24e58817991943c8bbd63fa > repos: introduce '-

Re: [PATCH 2 of 2] evolve: lock the working copy early in next and prev (issue5244)

2016-10-16 Thread Simon Farnsworth
On 16/10/2016 12:43, Pierre-Yves David wrote: On 10/08/2016 05:18 PM, Simon Farnsworth wrote: # HG changeset patch # User Simon Farnsworth # Date 1475939634 25200 # Sat Oct 08 08:13:54 2016 -0700 # Node ID 8a0c9c0158b3e9574a4571af3dce9978844b825d # Parent ee284d7c5faa5d9f17853f51c178838

Re: [PATCH 2 of 2] evolve: lock the working copy early in next and prev (issue5244)

2016-10-16 Thread Pierre-Yves David
On 10/16/2016 04:03 PM, Simon Farnsworth wrote: On 16/10/2016 12:43, Pierre-Yves David wrote: On 10/08/2016 05:18 PM, Simon Farnsworth wrote: # HG changeset patch # User Simon Farnsworth # Date 1475939634 25200 # Sat Oct 08 08:13:54 2016 -0700 # Node ID 8a0c9c0158b3e9574a4571af3dce997

[PATCH 1 of 2 v2] evolve: indent cmdnext and cmdprev ready for locking change (issue5244)

2016-10-16 Thread Simon Farnsworth
# HG changeset patch # User Simon Farnsworth # Date 1475939661 25200 # Sat Oct 08 08:14:21 2016 -0700 # Node ID ee284d7c5faa5d9f17853f51c17883844b985c58 # Parent 5383671ef612a1764bbbed13a7ef2d339d0a9c2d evolve: indent cmdnext and cmdprev ready for locking change (issue5244) The locking chan

[PATCH 2 of 2 v2] evolve: lock the working copy early in next and prev (issue5244)

2016-10-16 Thread Simon Farnsworth
# HG changeset patch # User Simon Farnsworth # Date 1476627823 25200 # Sun Oct 16 07:23:43 2016 -0700 # Node ID 99c560f7d07d3d08b83f5f1802fc329d67e5de2e # Parent ee284d7c5faa5d9f17853f51c17883844b985c58 evolve: lock the working copy early in next and prev (issue5244) Both next and prev depe

[PATCH 1 of 2] evolve: indent cmdnext and cmdprev ready for locking change (issue5244)

2016-10-16 Thread Simon Farnsworth
# HG changeset patch # User Simon Farnsworth # Date 1475939661 25200 # Sat Oct 08 08:14:21 2016 -0700 # Node ID ee284d7c5faa5d9f17853f51c17883844b985c58 # Parent 5383671ef612a1764bbbed13a7ef2d339d0a9c2d evolve: indent cmdnext and cmdprev ready for locking change (issue5244) The locking chan

[PATCH 01 of 16] checkcopies: move 'movewithdir' initialisation right before its usage

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Pierre-Yves David # Date 1476144923 -7200 # Tue Oct 11 02:15:23 2016 +0200 # Node ID c2b7ab2954aecc3030a4c401390031513712d360 # Parent 5cb830801855dbb63e98b948e355bc995d295bf3 checkcopies: move 'movewithdir' initialisation right before its usage The 'movewithdir'

[PATCH 06 of 16] tests: introduce tests for grafting through renames

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 147626 -7200 # Wed Oct 12 12:41:28 2016 +0200 # Node ID 7f9a6f30730074c869e5cf9b77c53929b06c4fb3 # Parent e8e15a687df328f37b2d5e97e67f1a2071b35134 tests: introduce tests for grafting through renames These cover all currently known cases

[PATCH 08 of 16] copies: compute a suitable TCA if base turns out to be unsuitable

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1476317029 -7200 # Thu Oct 13 02:03:49 2016 +0200 # Node ID 2284ef0bd7df9b83f10f91f79f74f5b44b6ffde0 # Parent b3631f615bc2fff5cbce4cde7373dde052197a0e copies: compute a suitable TCA if base turns out to be unsuitable This will be used later

[PATCH 09 of 16] copies: make _checkcopies handle simple renames in a rotated DAG

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1476317034 -7200 # Thu Oct 13 02:03:54 2016 +0200 # Node ID 1420cffe78a3ef2d0a2d3f125ce780754745ead8 # Parent 2284ef0bd7df9b83f10f91f79f74f5b44b6ffde0 copies: make _checkcopies handle simple renames in a rotated DAG This introduces a distinc

[PATCH 07 of 16] copies: detect graft-like merges penis

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1476316053 -7200 # Thu Oct 13 01:47:33 2016 +0200 # Node ID b3631f615bc2fff5cbce4cde7373dde052197a0e # Parent 7f9a6f30730074c869e5cf9b77c53929b06c4fb3 copies: detect graft-like merges penis Right now, nothing changes as a result of this, but

[PATCH 13 of 16] mergecopies: add logic to process incomplete data

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1475578314 -7200 # Tue Oct 04 12:51:54 2016 +0200 # Node ID a1c80b2f6896c7c77c660d15344f2c50845aee84 # Parent 905ceb1509480f912ece7c5622e151f80581782f mergecopies: add logic to process incomplete data We first combine incomplete copies on th

[PATCH 11 of 16] mergecopies: invoke _computenonoverlap for both base and tca during merges

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1476317983 -7200 # Thu Oct 13 02:19:43 2016 +0200 # Node ID a53f65d8127e9db95350ed67e4fa71bed8a2a549 # Parent 4bb6c6ac3db22c3c4f947dd69496d895ad083efd mergecopies: invoke _computenonoverlap for both base and tca during merges The algorithm o

Re: [PATCH 2 of 2 V3] py3: use namedtuple._replace to produce new tokens

2016-10-16 Thread Pierre-Yves David
On 10/14/2016 06:55 PM, Martijn Pieters wrote: # HG changeset patch # User Martijn Pieters # Date 1476347257 -3600 # Thu Oct 13 09:27:37 2016 +0100 # Node ID d20dd7db86044bdca79825499b913840d726d841 # Parent 9031460519503abe5dc430c8ece29d198121cd65 py3: use namedtuple._replace to produce

[PATCH 04 of 16] mergecopies: rename 'ca' to 'base'

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Pierre-Yves David # Date 1476315014 -7200 # Thu Oct 13 01:30:14 2016 +0200 # Node ID bfb99ef3749757161bf439cc0ec678de46e24672 # Parent 92dfc856c6cc25366eb8a7fb9b59d992ad5efc36 mergecopies: rename 'ca' to 'base' This variable was named after the common ancestor. I

[PATCH 03 of 16] copies: move variable document from checkcopies to mergecopies

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Pierre-Yves David # Date 1476314793 -7200 # Thu Oct 13 01:26:33 2016 +0200 # Node ID 92dfc856c6cc25366eb8a7fb9b59d992ad5efc36 # Parent 52fcb1d6cf58c18d63c6e63f3bc1d39194271707 copies: move variable document from checkcopies to mergecopies It appears that 'mergeco

[PATCH 02 of 16] checkcopies: pass data as a dictionary of dictionaries

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Pierre-Yves David # Date 1476145302 -7200 # Tue Oct 11 02:21:42 2016 +0200 # Node ID 52fcb1d6cf58c18d63c6e63f3bc1d39194271707 # Parent c2b7ab2954aecc3030a4c401390031513712d360 checkcopies: pass data as a dictionary of dictionaries New dictionaries will be introdu

[PATCH 12 of 16] checkcopies: handle divergences contained entirely in tca::ctx

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1476266043 -7200 # Wed Oct 12 11:54:03 2016 +0200 # Node ID 905ceb1509480f912ece7c5622e151f80581782f # Parent a53f65d8127e9db95350ed67e4fa71bed8a2a549 checkcopies: handle divergences contained entirely in tca::ctx During a graftlike merge, _

[PATCH 05 of 16] checkcopies: add a sanity check against false-positive copies

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1476300825 -7200 # Wed Oct 12 21:33:45 2016 +0200 # Node ID e8e15a687df328f37b2d5e97e67f1a2071b35134 # Parent bfb99ef3749757161bf439cc0ec678de46e24672 checkcopies: add a sanity check against false-positive copies When grafting a copy backwar

[PATCH 10 of 16] copies: make it possible to distinguish betwen _computenonoverlap invocations

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Pierre-Yves David # Date 1476372109 -7200 # Thu Oct 13 17:21:49 2016 +0200 # Node ID 4bb6c6ac3db22c3c4f947dd69496d895ad083efd # Parent 1420cffe78a3ef2d0a2d3f125ce780754745ead8 copies: make it possible to distinguish betwen _computenonoverlap invocations _computen

[PATCH 01 of 16] checkcopies: move 'movewithdir' initialisation right before its usage

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Pierre-Yves David # Date 1476144923 -7200 # Tue Oct 11 02:15:23 2016 +0200 # Node ID c2b7ab2954aecc3030a4c401390031513712d360 # Parent 5cb830801855dbb63e98b948e355bc995d295bf3 checkcopies: move 'movewithdir' initialisation right before its usage The 'movewithdir'

[PATCH 02 of 16] checkcopies: pass data as a dictionary of dictionaries

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Pierre-Yves David # Date 1476145302 -7200 # Tue Oct 11 02:21:42 2016 +0200 # Node ID 52fcb1d6cf58c18d63c6e63f3bc1d39194271707 # Parent c2b7ab2954aecc3030a4c401390031513712d360 checkcopies: pass data as a dictionary of dictionaries New dictionaries will be introdu

[PATCH 05 of 16] checkcopies: add a sanity check against false-positive copies

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1476300825 -7200 # Wed Oct 12 21:33:45 2016 +0200 # Node ID e8e15a687df328f37b2d5e97e67f1a2071b35134 # Parent bfb99ef3749757161bf439cc0ec678de46e24672 checkcopies: add a sanity check against false-positive copies When grafting a copy backwar

[PATCH 03 of 16] copies: move variable document from checkcopies to mergecopies

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Pierre-Yves David # Date 1476314793 -7200 # Thu Oct 13 01:26:33 2016 +0200 # Node ID 92dfc856c6cc25366eb8a7fb9b59d992ad5efc36 # Parent 52fcb1d6cf58c18d63c6e63f3bc1d39194271707 copies: move variable document from checkcopies to mergecopies It appears that 'mergeco

[PATCH 16 of 16] update: enable copy tracing for backwards and non-linear updates

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1472155346 -7200 # Thu Aug 25 22:02:26 2016 +0200 # Node ID 066dc1a5c8f4c9dfb582543bff5df8bbeba9cc31 # Parent a3a36d782f4d4252adb9069eb3714f946881 update: enable copy tracing for backwards and non-linear updates As a followup to the issu

[PATCH 12 of 16] checkcopies: handle divergences contained entirely in tca::ctx

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1476266043 -7200 # Wed Oct 12 11:54:03 2016 +0200 # Node ID 73b55839aca7019d88cc9885e43244fb1e6d68ab # Parent e61355cb337ab5328e4cf5d0f153821600c53e72 checkcopies: handle divergences contained entirely in tca::ctx During a graftlike merge, _

[PATCH 10 of 16] copies: make it possible to distinguish betwen _computenonoverlap invocations

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Pierre-Yves David # Date 1476372109 -7200 # Thu Oct 13 17:21:49 2016 +0200 # Node ID 72b4f2514efd9decffb1115c0f7b8e8f004bdf44 # Parent 48dba8d1f7fab137418bfbb833c3096969eec934 copies: make it possible to distinguish betwen _computenonoverlap invocations _computen

[PATCH 09 of 16] copies: make _checkcopies handle simple renames in a rotated DAG

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1476317034 -7200 # Thu Oct 13 02:03:54 2016 +0200 # Node ID 48dba8d1f7fab137418bfbb833c3096969eec934 # Parent 1f91343556e7cef7a71edf512b02f7e0f09d5e9b copies: make _checkcopies handle simple renames in a rotated DAG This introduces a distinc

[PATCH 07 of 16] copies: detect graft-like merges

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1476316053 -7200 # Thu Oct 13 01:47:33 2016 +0200 # Node ID 981a622717343796f65b5858f4d4b89f81cb437a # Parent 7f9a6f30730074c869e5cf9b77c53929b06c4fb3 copies: detect graft-like merges Right now, nothing changes as a result of this, but we wa

[PATCH 04 of 16] mergecopies: rename 'ca' to 'base'

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Pierre-Yves David # Date 1476315014 -7200 # Thu Oct 13 01:30:14 2016 +0200 # Node ID bfb99ef3749757161bf439cc0ec678de46e24672 # Parent 92dfc856c6cc25366eb8a7fb9b59d992ad5efc36 mergecopies: rename 'ca' to 'base' This variable was named after the common ancestor. I

[PATCH 14 of 16] checkcopies: add logic to handle remotebase

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1476152759 -7200 # Tue Oct 11 04:25:59 2016 +0200 # Node ID 2bf601f8e1d3569fdef9ab9f3fefa354acce8669 # Parent 9fc636d9950feb76af774f881ea179037231e697 checkcopies: add logic to handle remotebase As the two _checkcopies passes' ranges are sep

[PATCH 08 of 16] copies: compute a suitable TCA if base turns out to be unsuitable

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1476317029 -7200 # Thu Oct 13 02:03:49 2016 +0200 # Node ID 1f91343556e7cef7a71edf512b02f7e0f09d5e9b # Parent 981a622717343796f65b5858f4d4b89f81cb437a copies: compute a suitable TCA if base turns out to be unsuitable This will be used later

[PATCH 06 of 16] tests: introduce tests for grafting through renames

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 147626 -7200 # Wed Oct 12 12:41:28 2016 +0200 # Node ID 7f9a6f30730074c869e5cf9b77c53929b06c4fb3 # Parent e8e15a687df328f37b2d5e97e67f1a2071b35134 tests: introduce tests for grafting through renames These cover all currently known cases

[PATCH 15 of 16] copies: make _checkcopies handle copy sequences spanning the TCA (issue4028)

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1476153587 -7200 # Tue Oct 11 04:39:47 2016 +0200 # Node ID a3a36d782f4d4252adb9069eb3714f946881 # Parent 2bf601f8e1d3569fdef9ab9f3fefa354acce8669 copies: make _checkcopies handle copy sequences spanning the TCA (issue4028) When working

[PATCH 11 of 16] mergecopies: invoke _computenonoverlap for both base and tca during merges

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1476317983 -7200 # Thu Oct 13 02:19:43 2016 +0200 # Node ID e61355cb337ab5328e4cf5d0f153821600c53e72 # Parent 72b4f2514efd9decffb1115c0f7b8e8f004bdf44 mergecopies: invoke _computenonoverlap for both base and tca during merges The algorithm o

[PATCH 13 of 16] mergecopies: add logic to process incomplete data

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1475578314 -7200 # Tue Oct 04 12:51:54 2016 +0200 # Node ID 9fc636d9950feb76af774f881ea179037231e697 # Parent 73b55839aca7019d88cc9885e43244fb1e6d68ab mergecopies: add logic to process incomplete data We first combine incomplete copies on th

RE: [PATCH 07 of 16] copies: detect graft-like merges penis

2016-10-16 Thread Gábor STEFANIK
> -- This message, including its attachments, is confidential. For more information please read NNG's email policy here: http://www.nng.com/emailpolicy/ By responding to this email you accept the email policy. -Origina

Re: [PATCH 04 of 16] mergecopies: rename 'ca' to 'base'

2016-10-16 Thread Pierre-Yves David
On 10/16/2016 04:32 PM, Gábor Stefanik wrote: # HG changeset patch # User Pierre-Yves David # Date 1476315014 -7200 # Thu Oct 13 01:30:14 2016 +0200 # Node ID bfb99ef3749757161bf439cc0ec678de46e24672 # Parent 92dfc856c6cc25366eb8a7fb9b59d992ad5efc36 mergecopies: rename 'ca' to 'base' Th

Re: [PATCH 07 of 16] copies: detect graft-like merges penis

2016-10-16 Thread Pierre-Yves David
On 10/16/2016 04:34 PM, Gábor STEFANIK wrote: -- This message, including its attachments, is confidential. For more information please read NNG's email policy here: http://www.nng.com/emailpolicy/ By responding to this

Re: [PATCH 1 of 2] evolve: indent cmdnext and cmdprev ready for locking change (issue5244)

2016-10-16 Thread Pierre-Yves David
On 10/16/2016 04:25 PM, Simon Farnsworth wrote: # HG changeset patch # User Simon Farnsworth # Date 1475939661 25200 # Sat Oct 08 08:14:21 2016 -0700 # Node ID ee284d7c5faa5d9f17853f51c17883844b985c58 # Parent 5383671ef612a1764bbbed13a7ef2d339d0a9c2d evolve: indent cmdnext and cmdprev re

[PATCH 1 of 4] checkcopies: move 'movewithdir' initialisation right before its usage

2016-10-16 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1476144923 -7200 # Tue Oct 11 02:15:23 2016 +0200 # Node ID ea295754eb9a275b61a17e60aa4384dea2544d86 # Parent 0f0f99922ea75695d6044001aa82c31792386e9a # EXP-Topic checkcopies checkcopies: move 'movewithdir' initialisation right before its

[PATCH 2 of 4] checkcopies: pass data as a dictionary of dictionaries

2016-10-16 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1476145302 -7200 # Tue Oct 11 02:21:42 2016 +0200 # Node ID 823b3ea33d263ae3179cbbcf39e0ddfc7a938ce5 # Parent ea295754eb9a275b61a17e60aa4384dea2544d86 # EXP-Topic checkcopies checkcopies: pass data as a dictionary of dictionaries more are

[PATCH 3 of 4] copies: move variable document from checkcopies to mergecopies

2016-10-16 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1476314793 -7200 # Thu Oct 13 01:26:33 2016 +0200 # Node ID 6f0dc570c4383ad42c572158af200d2142bbef4f # Parent 823b3ea33d263ae3179cbbcf39e0ddfc7a938ce5 # EXP-Topic checkcopies copies: move variable document from checkcopies to mergecopies

[PATCH 4 of 4] mergecopies: rename 'ca' to 'base'

2016-10-16 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1476315014 -7200 # Thu Oct 13 01:30:14 2016 +0200 # Node ID b8bb58f87a94f5b78beaa1db710c5ef69967dd4c # Parent 6f0dc570c4383ad42c572158af200d2142bbef4f # EXP-Topic checkcopies mergecopies: rename 'ca' to 'base' This variable was named afte

Re: [PATCH 2 of 2 v2] evolve: lock the working copy early in next and prev (issue5244)

2016-10-16 Thread Pierre-Yves David
On 10/16/2016 04:25 PM, Simon Farnsworth wrote: # HG changeset patch # User Simon Farnsworth # Date 1476627823 25200 # Sun Oct 16 07:23:43 2016 -0700 # Node ID 99c560f7d07d3d08b83f5f1802fc329d67e5de2e # Parent ee284d7c5faa5d9f17853f51c17883844b985c58 evolve: lock the working copy early i

Re: [PATCH python-hglib] Add feature to allow hglib user to get call backs for prompts and output

2016-10-16 Thread Yuya Nishihara
On Thu, 06 Oct 2016 17:52:38 +0100, Barry A. Scott wrote: > # HG changeset patch > # User Barry A. Scott > # Date 1475772736 -3600 > # Thu Oct 06 17:52:16 2016 +0100 > # Branch hglib-gui-features > # Node ID 1ac3819a61527836d47f7cd6a113b194c307ffeb > # Parent efc527cc43d7394a5bd0deb1d29c4307

Re: [PATCH 2 of 2 V3] py3: use namedtuple._replace to produce new tokens

2016-10-16 Thread Yuya Nishihara
On Sun, 16 Oct 2016 16:30:04 +0200, Pierre-Yves David wrote: > On 10/14/2016 06:55 PM, Martijn Pieters wrote: > > # HG changeset patch > > # User Martijn Pieters > > # Date 1476347257 -3600 > > # Thu Oct 13 09:27:37 2016 +0100 > > # Node ID d20dd7db86044bdca79825499b913840d726d841 > > # Paren

Re: [PATCH python-hglib] Add the abilty to trace the protocol between the client and server

2016-10-16 Thread Yuya Nishihara
On Thu, 06 Oct 2016 18:04:47 +0100, Barry A. Scott wrote: > # HG changeset patch > # User Barry A. Scott > # Date 1475770955 -3600 > # Thu Oct 06 17:22:35 2016 +0100 > # Branch hglib-protocol-trace > # Node ID efc527cc43d7394a5bd0deb1d29c4307592f7528 > # Parent 6f15cb7cc9cb4427f35c60080f85db

Re: [PATCH 2 of 2 V3] py3: use namedtuple._replace to produce new tokens

2016-10-16 Thread Pierre-Yves David
On 10/16/2016 04:48 PM, Yuya Nishihara wrote: On Sun, 16 Oct 2016 16:30:04 +0200, Pierre-Yves David wrote: On 10/14/2016 06:55 PM, Martijn Pieters wrote: # HG changeset patch # User Martijn Pieters # Date 1476347257 -3600 # Thu Oct 13 09:27:37 2016 +0100 # Node ID d20dd7db86044bdca79825

[PATCH 04 of 12 v2] copies: compute a suitable TCA if base turns out to be unsuitable

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1476317029 -7200 # Thu Oct 13 02:03:49 2016 +0200 # Node ID 1f91343556e7cef7a71edf512b02f7e0f09d5e9b # Parent 981a622717343796f65b5858f4d4b89f81cb437a copies: compute a suitable TCA if base turns out to be unsuitable This will be used later

[PATCH 06 of 12 v2] copies: make it possible to distinguish betwen _computenonoverlap invocations

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Pierre-Yves David # Date 1476372109 -7200 # Thu Oct 13 17:21:49 2016 +0200 # Node ID 72b4f2514efd9decffb1115c0f7b8e8f004bdf44 # Parent 48dba8d1f7fab137418bfbb833c3096969eec934 copies: make it possible to distinguish betwen _computenonoverlap invocations _computen

[PATCH 10 of 12 v2] checkcopies: add logic to handle remotebase

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1476152759 -7200 # Tue Oct 11 04:25:59 2016 +0200 # Node ID 2bf601f8e1d3569fdef9ab9f3fefa354acce8669 # Parent 9fc636d9950feb76af774f881ea179037231e697 checkcopies: add logic to handle remotebase As the two _checkcopies passes' ranges are sep

[PATCH 07 of 12 v2] mergecopies: invoke _computenonoverlap for both base and tca during merges

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1476317983 -7200 # Thu Oct 13 02:19:43 2016 +0200 # Node ID e61355cb337ab5328e4cf5d0f153821600c53e72 # Parent 72b4f2514efd9decffb1115c0f7b8e8f004bdf44 mergecopies: invoke _computenonoverlap for both base and tca during merges The algorithm o

[PATCH 08 of 12 v2] checkcopies: handle divergences contained entirely in tca::ctx

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1476266043 -7200 # Wed Oct 12 11:54:03 2016 +0200 # Node ID 73b55839aca7019d88cc9885e43244fb1e6d68ab # Parent e61355cb337ab5328e4cf5d0f153821600c53e72 checkcopies: handle divergences contained entirely in tca::ctx During a graftlike merge, _

[PATCH 09 of 12 v2] mergecopies: add logic to process incomplete data

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1475578314 -7200 # Tue Oct 04 12:51:54 2016 +0200 # Node ID 9fc636d9950feb76af774f881ea179037231e697 # Parent 73b55839aca7019d88cc9885e43244fb1e6d68ab mergecopies: add logic to process incomplete data We first combine incomplete copies on th

[PATCH 03 of 12 v2] copies: detect graft-like merges

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1476316053 -7200 # Thu Oct 13 01:47:33 2016 +0200 # Node ID 981a622717343796f65b5858f4d4b89f81cb437a # Parent 7f9a6f30730074c869e5cf9b77c53929b06c4fb3 copies: detect graft-like merges Right now, nothing changes as a result of this, but we wa

[PATCH 01 of 12 v2] checkcopies: add a sanity check against false-positive copies

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1476300825 -7200 # Wed Oct 12 21:33:45 2016 +0200 # Node ID e8e15a687df328f37b2d5e97e67f1a2071b35134 # Parent bfb99ef3749757161bf439cc0ec678de46e24672 checkcopies: add a sanity check against false-positive copies When grafting a copy backwar

[PATCH 02 of 12 v2] tests: introduce tests for grafting through renames

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 147626 -7200 # Wed Oct 12 12:41:28 2016 +0200 # Node ID 7f9a6f30730074c869e5cf9b77c53929b06c4fb3 # Parent e8e15a687df328f37b2d5e97e67f1a2071b35134 tests: introduce tests for grafting through renames These cover all currently known cases

[PATCH 11 of 12 v2] copies: make _checkcopies handle copy sequences spanning the TCA (issue4028)

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1476153587 -7200 # Tue Oct 11 04:39:47 2016 +0200 # Node ID a3a36d782f4d4252adb9069eb3714f946881 # Parent 2bf601f8e1d3569fdef9ab9f3fefa354acce8669 copies: make _checkcopies handle copy sequences spanning the TCA (issue4028) When working

[PATCH 05 of 12 v2] copies: make _checkcopies handle simple renames in a rotated DAG

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1476317034 -7200 # Thu Oct 13 02:03:54 2016 +0200 # Node ID 48dba8d1f7fab137418bfbb833c3096969eec934 # Parent 1f91343556e7cef7a71edf512b02f7e0f09d5e9b copies: make _checkcopies handle simple renames in a rotated DAG This introduces a distinc

mercurial@30163: new changeset

2016-10-16 Thread Mercurial Commits
New changeset in mercurial: http://selenic.com/repo/hg//rev/f5607b6253da changeset: 30163:f5607b6253da bookmark:@ tag: tip user:Gregory Szorc date:Thu Oct 13 21:42:11 2016 +0200 summary: pathencode: use assert() for PyBytes_Check() -- Repository URL: http://sel

[PATCH 12 of 12 v2] update: enable copy tracing for backwards and non-linear updates

2016-10-16 Thread Gábor Stefanik
# HG changeset patch # User Gábor Stefanik # Date 1472155346 -7200 # Thu Aug 25 22:02:26 2016 +0200 # Node ID 066dc1a5c8f4c9dfb582543bff5df8bbeba9cc31 # Parent a3a36d782f4d4252adb9069eb3714f946881 update: enable copy tracing for backwards and non-linear updates As a followup to the issu

RE: [PATCH 07 of 16] copies: detect graft-like merges penis

2016-10-16 Thread Gábor STEFANIK
> -- This message, including its attachments, is confidential. For more information please read NNG's email policy here: http://www.nng.com/emailpolicy/ By responding to this email you accept the email policy. -Origina

Re: [PATCH 4 of 4] mergecopies: rename 'ca' to 'base'

2016-10-16 Thread Yuya Nishihara
On Sun, 16 Oct 2016 16:47:23 +0200, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1476315014 -7200 > # Thu Oct 13 01:30:14 2016 +0200 > # Node ID b8bb58f87a94f5b78beaa1db710c5ef69967dd4c > # Parent 6f0dc570c4383ad42c572158af200d2142bbef4f > # EXP-Topic c

RE: [PATCH 05 of 12 v2] copies: make _checkcopies handle simple renames in a rotated DAG

2016-10-16 Thread Gábor STEFANIK
> -- This message, including its attachments, is confidential. For more information please read NNG's email policy here: http://www.nng.com/emailpolicy/ By responding to this email you accept the email policy. -Origi

Re: [PATCH 1 of 2] evolve: indent cmdnext and cmdprev ready for locking change (issue5244)

2016-10-16 Thread Simon Farnsworth
On 16/10/2016 15:46, Pierre-Yves David wrote: On 10/16/2016 04:25 PM, Simon Farnsworth wrote: # HG changeset patch # User Simon Farnsworth # Date 1475939661 25200 # Sat Oct 08 08:14:21 2016 -0700 # Node ID ee284d7c5faa5d9f17853f51c17883844b985c58 # Parent 5383671ef612a1764bbbed13a7ef2d3

[PATCH 1 of 2 v3] evolve: indent cmdnext and cmdprev ready for locking change (issue5244)

2016-10-16 Thread Simon Farnsworth
# HG changeset patch # User Simon Farnsworth # Date 1475939661 25200 # Sat Oct 08 08:14:21 2016 -0700 # Node ID ee284d7c5faa5d9f17853f51c17883844b985c58 # Parent 5383671ef612a1764bbbed13a7ef2d339d0a9c2d evolve: indent cmdnext and cmdprev ready for locking change (issue5244) The locking chan

[PATCH 2 of 2 v3] evolve: lock the working copy early in next and prev (issue5244)

2016-10-16 Thread Simon Farnsworth
# HG changeset patch # User Simon Farnsworth # Date 1476636773 25200 # Sun Oct 16 09:52:53 2016 -0700 # Node ID 778468237ecf195c4eb1d87bc4f7b5d30e538c63 # Parent ee284d7c5faa5d9f17853f51c17883844b985c58 evolve: lock the working copy early in next and prev (issue5244) Both next and prev depe

Re: [PATCH] osutil: implement listdir for linux

2016-10-16 Thread Gregory Szorc
On Fri, Oct 14, 2016 at 12:02 AM, Maciej Fijalkowski wrote: > # HG changeset patch > # User Maciej Fijalkowski > # Date 1476428549 -7200 > # Fri Oct 14 09:02:29 2016 +0200 > # Node ID 4e80a66124279e235dec7ae8f58c0a14b0b137bf > # Parent c770219dc4c253d7cd82519ce3c74438bb2829d3 > osutil: imp

Re: history at diff blocks level

2016-10-16 Thread Gregory Szorc
On Mon, Oct 3, 2016 at 7:38 AM, Denis Laxalde wrote: > Hi all, > > I've been recently thinking about adding some support in Mercurial to > query repository history based on changes within a given line range in a > file. I think that would be useful in at least two commands: > > * log, to restrict

[PATCH 1 of 2 V2] exchange: refactor APIs to obtain bundle data (API)

2016-10-16 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1476639532 25200 # Sun Oct 16 10:38:52 2016 -0700 # Node ID 3f18f7464e651128a5f8d9c9312805adbc22f547 # Parent 757d25d2bbe63fc560e92b6bb25fbfbf09b09342 exchange: refactor APIs to obtain bundle data (API) Currently, exchange.getbundle() returns

[PATCH 2 of 2 V2] wireproto: compress data from a generator

2016-10-16 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1476641421 25200 # Sun Oct 16 11:10:21 2016 -0700 # Node ID 23457f8910d43bd637b945ced2f963ab71255844 # Parent 3f18f7464e651128a5f8d9c9312805adbc22f547 wireproto: compress data from a generator Currently, the "getbundle" wire protocol command

Re: [PATCH 2 of 2 v3] evolve: lock the working copy early in next and prev (issue5244)

2016-10-16 Thread Pierre-Yves David
On 10/16/2016 06:53 PM, Simon Farnsworth wrote: # HG changeset patch # User Simon Farnsworth # Date 1476636773 25200 # Sun Oct 16 09:52:53 2016 -0700 # Node ID 778468237ecf195c4eb1d87bc4f7b5d30e538c63 # Parent ee284d7c5faa5d9f17853f51c17883844b985c58 evolve: lock the working copy early i

Re: [PATCH 1 of 2 V2] exchange: refactor APIs to obtain bundle data (API)

2016-10-16 Thread Pierre-Yves David
On 10/16/2016 08:14 PM, Gregory Szorc wrote: # HG changeset patch # User Gregory Szorc # Date 1476639532 25200 # Sun Oct 16 10:38:52 2016 -0700 # Node ID 3f18f7464e651128a5f8d9c9312805adbc22f547 # Parent 757d25d2bbe63fc560e92b6bb25fbfbf09b09342 exchange: refactor APIs to obtain bundle da

Re: history at diff blocks level

2016-10-16 Thread Jun Wu
Excerpts from Denis Laxalde's message of 2016-10-03 16:38:17 +0200: > Hi all, > > I've been recently thinking about adding some support in Mercurial to > query repository history based on changes within a given line range in a > file. I think that would be useful in at least two commands: > > * l

[PATCH 2 of 4] changegroup: reuse revlog file handle when generating group

2016-10-16 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1476648175 25200 # Sun Oct 16 13:02:55 2016 -0700 # Node ID ee7144d686de700d60cb2a78adac3aab43f2a71d # Parent 735adf139447190fe52c65ec6e9b4e5e0c81d6aa changegroup: reuse revlog file handle when generating group Previously, every time we neede

[PATCH 4 of 4] changegroup: increase write buffer size to 128k

2016-10-16 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1476650123 25200 # Sun Oct 16 13:35:23 2016 -0700 # Node ID 4582f12754622ae049afefee05176ef107d99a7e # Parent 9e2f957b05ac5c76595280a6084ba01d7b369a05 changegroup: increase write buffer size to 128k By default, Python defers to the operating

[PATCH 1 of 4] revlog: add a context manager to allow file handle reuse

2016-10-16 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1476649322 25200 # Sun Oct 16 13:22:02 2016 -0700 # Node ID 735adf139447190fe52c65ec6e9b4e5e0c81d6aa # Parent 757d25d2bbe63fc560e92b6bb25fbfbf09b09342 revlog: add a context manager to allow file handle reuse Currently, read-only operations tr

[PATCH 3 of 4] perf: cache revlog file handle during perfrevlog

2016-10-16 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1476649617 25200 # Sun Oct 16 13:26:57 2016 -0700 # Node ID 9e2f957b05ac5c76595280a6084ba01d7b369a05 # Parent ee7144d686de700d60cb2a78adac3aab43f2a71d perf: cache revlog file handle during perfrevlog The aim of perfrevlog is to measure how fa

Re: [PATCH 2 of 2 V3] py3: use namedtuple._replace to produce new tokens

2016-10-16 Thread Martijn Pieters
On 16 Oct 2016, at 15:30, Pierre-Yves David wrote: > >> py3: use namedtuple._replace to produce new tokens > > We seems to be using a private function of some stdlib type? > Can you elaborate on why this is a good move? It is not private. This is one of the exceptions to the Python style guide

[PATCH] py3: update test output

2016-10-16 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1476557196 -19800 # Sun Oct 16 00:16:36 2016 +0530 # Node ID d49781829eafd0ee4917c7792aaa8987170ffe78 # Parent c1134c39ff3ad961af17a4130623f87e0a42d392 py3: update test output A lot of patches have been pushed related to

Re: [PATCH] py3: update test output

2016-10-16 Thread Gregory Szorc
On Sun, Oct 16, 2016 at 3:03 PM, Pulkit Goyal <7895pul...@gmail.com> wrote: > # HG changeset patch > # User Pulkit Goyal <7895pul...@gmail.com> > # Date 1476557196 -19800 > # Sun Oct 16 00:16:36 2016 +0530 > # Node ID d49781829eafd0ee4917c7792aaa8987170ffe78 > # Parent c1134c39ff3ad961af17a4

  1   2   >