[PATCH 8 of 9 V2] revlog: make _addrevision only accept rawtext

2017-03-30 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490924283 25200 # Thu Mar 30 18:38:03 2017 -0700 # Node ID 3a4dd24ccf078c47722582f00872a88d33042ac3 # Parent 4bc37a3afb8b56b3d124188cc16ea8d83a0ba92d # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 6 of 9 V2] revlog: use raw revisions in revdiff

2017-03-30 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490923407 25200 # Thu Mar 30 18:23:27 2017 -0700 # Node ID 272495735d544f8ab6053752db4e0a648f07415d # Parent 290c65aad38108cc59c7e8fb7f3b37a7c7a7573b # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 7 of 9 V2] revlog: use raw revisions in clone

2017-03-30 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490923463 25200 # Thu Mar 30 18:24:23 2017 -0700 # Node ID 4bc37a3afb8b56b3d124188cc16ea8d83a0ba92d # Parent 272495735d544f8ab6053752db4e0a648f07415d # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 5 of 9 V2] revlog: use raw content when building delta

2017-03-30 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490921883 25200 # Thu Mar 30 17:58:03 2017 -0700 # Node ID 290c65aad38108cc59c7e8fb7f3b37a7c7a7573b # Parent 173d73e93cc25abdcac23fcd858a4e94d29e7461 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 9 of 9 V2] revlog: add a fast path for revision(raw=False)

2017-03-30 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490934075 25200 # Thu Mar 30 21:21:15 2017 -0700 # Node ID 70c6b2eecf4d580d38404f157ef99da237593a68 # Parent 3a4dd24ccf078c47722582f00872a88d33042ac3 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 1 of 9 V2] revlog: add a stronger test for raw processing

2017-03-30 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490932137 25200 # Thu Mar 30 20:48:57 2017 -0700 # Node ID 4a3f09c00a850667225b56d4aa0069e8e8233281 # Parent dea2a17cbfd00bf08ee87b3e44b1c71499189f89 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 3 of 9 V2] revlog: rename some "text"s to "rawtext"

2017-03-30 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490910969 25200 # Thu Mar 30 14:56:09 2017 -0700 # Node ID 3fb26d049c52534835fd397ceb70b0f83068695a # Parent 31aa38709dbd983b87302a0f24f4cf78a138ae83 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 4 of 9 V2] revlog: fix _cache usage in revision()

2017-03-30 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490913248 25200 # Thu Mar 30 15:34:08 2017 -0700 # Node ID 173d73e93cc25abdcac23fcd858a4e94d29e7461 # Parent 3fb26d049c52534835fd397ceb70b0f83068695a # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 2 of 9 V2] revlog: clarify flagprocessor documentation

2017-03-30 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490885988 25200 # Thu Mar 30 07:59:48 2017 -0700 # Node ID 31aa38709dbd983b87302a0f24f4cf78a138ae83 # Parent 4a3f09c00a850667225b56d4aa0069e8e8233281 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

Re: [PATCH V6] hgweb: expose a followlines UI in filerevision view

2017-03-30 Thread Gregory Szorc
On Thu, Mar 30, 2017 at 1:29 AM, Denis Laxalde wrote: > # HG changeset patch > # User Denis Laxalde > # Date 1490819176 -7200 > # Wed Mar 29 22:26:16 2017 +0200 > # Node ID 1c360ab5640bc326dd6ff70bdee78e4da006dcef > # Parent

[PATCH] sslutil: clarify internal documentation

2017-03-30 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1490795674 14400 # Wed Mar 29 09:54:34 2017 -0400 # Node ID 9505a8771bb00e56230e4c4b265e8369e659a54f # Parent 2632df096fc0ac7582382b1f94ea4b9ad0bce8f2 sslutil: clarify internal documentation I ran into this python

Re: [PATCH 2 of 2 V3] serve: make the URL the same for `hg serve` and `hg serve -S`

2017-03-30 Thread Matt Harbison
On Tue, 28 Mar 2017 10:02:34 -0400, Yuya Nishihara wrote: On Sun, 26 Mar 2017 23:04:31 -0400, Matt Harbison wrote: # HG changeset patch # User Matt Harbison # Date 1488146777 18000 # Sun Feb 26 17:06:17 2017 -0500 # Node ID

Re: [PATCH 1 of 2 V3] serve: add support for Mercurial subrepositories

2017-03-30 Thread Matt Harbison
On Tue, 28 Mar 2017 10:11:15 -0400, Yuya Nishihara wrote: On Sun, 26 Mar 2017 23:04:30 -0400, Matt Harbison wrote: # HG changeset patch # User Matt Harbison # Date 1488146743 18000 # Sun Feb 26 17:05:43 2017 -0500 # Node ID

Re: [PATCH 07 of 10 shelve-ext v4] shelve: add shelve type saving and loading

2017-03-30 Thread Kostia Balytskyi
On 21/03/2017 21:55, Augie Fackler wrote: > On Sat, Mar 11, 2017 at 01:00:26PM -0800, Kostia Balytskyi wrote: >> # HG changeset patch >> # User Kostia Balytskyi >> # Date 1489250294 28800 >> # Sat Mar 11 08:38:14 2017 -0800 >> # Node ID

[PATCH 1 of 2 V2] verify: document corner cases

2017-03-30 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490823901 25200 # Wed Mar 29 14:45:01 2017 -0700 # Node ID 17b41390f4912a4c18538d778837bc2cf4a1be92 # Parent dea2a17cbfd00bf08ee87b3e44b1c71499189f89 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

[PATCH 2 of 2 V2] verify: fix length check

2017-03-30 Thread Jun Wu
# HG changeset patch # User Jun Wu # Date 1490824154 25200 # Wed Mar 29 14:49:14 2017 -0700 # Node ID 35902a0e3f38c76a66d0dfbf76ec72091832 # Parent 17b41390f4912a4c18538d778837bc2cf4a1be92 # Available At https://bitbucket.org/quark-zju/hg-draft # hg pull

Re: Unifying sparse and narrow "profiles"

2017-03-30 Thread Durham Goode
On 3/30/17 2:10 PM, Martin von Zweigbergk wrote: On Thu, Mar 30, 2017 at 1:15 PM, Durham Goode wrote: If we make some basic assumptions about the UI (i.e. 'hg sparse' is a good command name, and it will have 'include', 'exclude', 'enable-profile', and 'disable-profile' flags;

Re: Unifying sparse and narrow "profiles"

2017-03-30 Thread Martin von Zweigbergk via Mercurial-devel
On Thu, Mar 30, 2017 at 1:15 PM, Durham Goode wrote: > On 3/29/17 7:47 PM, Augie Fackler wrote: >> >> (+martinvonz, durham) >> >>> On Mar 29, 2017, at 1:05 PM, Gregory Szorc >>> wrote: >>> >>> Mozilla has added tens of thousands of files to the Firefox

Re: [PATCH 7 of 7 shelve-ext v5] shelve: add some forwards compatibility to shelve operations

2017-03-30 Thread Kostia Balytskyi
On 30/03/2017 10:31, Ryan McElroy wrote: > On 3/29/17 2:18 PM, Kostia Balytskyi wrote: >> # HG changeset patch >> # User Kostia Balytskyi >> # Date 1490790691 25200 >> # Wed Mar 29 05:31:31 2017 -0700 >> # Node ID 0953ca0a71a0e1f05078b0f3c255459e1ba56a4e >> # Parent

Re: [PATCH 1 of 4 V2] obsolete: track node versions

2017-03-30 Thread Jun Wu
I think this is a very nice approach to move forward. There are some behavior changes. But I've discussed with Durham and I'm happy about the new behaviors. The "node version" approach achieves "unhide" in a fast and more conservative way. The root-based hidden seems to require some non-trivial

Re: Unifying sparse and narrow "profiles"

2017-03-30 Thread Durham Goode
On 3/29/17 7:47 PM, Augie Fackler wrote: (+martinvonz, durham) On Mar 29, 2017, at 1:05 PM, Gregory Szorc wrote: Mozilla has added tens of thousands of files to the Firefox repo in the past few months and we have plans to add tens of thousands more shortly. Working

Re: [PATCH 1 of 4 V2] obsolete: track node versions

2017-03-30 Thread Durham Goode
On 3/30/17 11:28 AM, Durham Goode wrote: 1. Never hide a commit during hg pull. Only hide commits when the user does an action (strip/rebase/amend/histedit/evolve) 2. Auto rebase uses "visible successors" instead of "latest successor" To elaborate on how I see this obs cycle series affecting

Re: [PATCH 1 of 4 V2] obsolete: track node versions

2017-03-30 Thread Durham Goode
Let's step back a moment and think about what obsmarkers are used for. They are used to hide commits, and to automatically perform rebases. The concerns around obscycles is that allowing cycles (without a perfect version scheme) could affect those two uses. For hiding, it could result in

Re: [PATCH 3 of 7 shelve-ext v5] shelve: add obs-based shelve functionality

2017-03-30 Thread Jun Wu
As long as evolve does not have a way to unhide a commit. I think we do need to use strip on repos that with obsstore enabled. So I'd say the patch probably needs to be deferred until we can unhide a commit. Excerpts from Kostia Balytskyi's message of 2017-03-30 10:11:55 +: > > On 30/03/2017

Re: [PATCH RFC] repo: add an ability to hide nodes in an appropriate way

2017-03-30 Thread Martin von Zweigbergk via Mercurial-devel
On Thu, Mar 30, 2017 at 10:08 AM, Ryan McElroy wrote: > On 3/30/17 3:15 PM, Pierre-Yves David wrote: >> >> On 03/27/2017 07:24 PM, Augie Fackler wrote: >>> >>> On Mon, Mar 27, 2017 at 10:27:33AM +0200, Pierre-Yves David wrote: On 03/27/2017 12:32 AM, Kostia

Re: [PATCH] test-check-code: prevent files being added to the root directory

2017-03-30 Thread Jun Wu
Excerpts from Ryan McElroy's message of 2017-03-30 09:24:38 +0100: > On 3/29/17 8:14 PM, Jun Wu wrote: > > # HG changeset patch > > # User Jun Wu > > # Date 1490814860 25200 > > # Wed Mar 29 12:14:20 2017 -0700 > > # Node ID 4b4345a62fbd9fb0f4610d013c4ee5c9c06287e0 > > #

Re: [PATCH 1 of 2] verify: document corner cases

2017-03-30 Thread Ryan McElroy
On 3/30/17 5:01 PM, Jun Wu wrote: Excerpts from Ryan McElroy's message of 2017-03-30 09:55:50 +0100: On 3/29/17 10:51 PM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1490823901 25200 # Wed Mar 29 14:45:01 2017 -0700 # Node ID

Re: [PATCH 4 of 4 V2] obsolete: allow cycles

2017-03-30 Thread Jun Wu
Excerpts from Augie Fackler's message of 2017-03-30 12:43:31 -0400: > On Thu, Mar 30, 2017 at 12:40 PM, Jun Wu wrote: > > I'll drop it from patchwork and send a new version with better documentation > > and some planned fixes. The next version has a same core idea, but the > >

Re: [PATCH RFC] repo: add an ability to hide nodes in an appropriate way

2017-03-30 Thread Ryan McElroy
On 3/30/17 3:15 PM, Pierre-Yves David wrote: On 03/27/2017 07:24 PM, Augie Fackler wrote: On Mon, Mar 27, 2017 at 10:27:33AM +0200, Pierre-Yves David wrote: On 03/27/2017 12:32 AM, Kostia Balytskyi wrote: # HG changeset patch # User Kostia Balytskyi # Date 1490567500 25200

Re: [PATCH 4 of 4 V2] obsolete: allow cycles

2017-03-30 Thread Augie Fackler
On Thu, Mar 30, 2017 at 12:40 PM, Jun Wu wrote: > I'll drop it from patchwork and send a new version with better documentation > and some planned fixes. The next version has a same core idea, but the > interface is more formalized and is made future proof in mind. The interface >

Re: [PATCH 4 of 4 V2] obsolete: allow cycles

2017-03-30 Thread Jun Wu
Per discussion on IRC with marmoute, this series lacks of documentation. I'll drop it from patchwork and send a new version with better documentation and some planned fixes. The next version has a same core idea, but the interface is more formalized and is made future proof in mind. The interface

Re: [PATCH 1 of 4 V2] obsolete: track node versions

2017-03-30 Thread Jun Wu
Per discussion on IRC. I'll drop this series from patchwork and send a new version with better documentation and some planned fixes. Excerpts from Jun Wu's message of 2017-03-27 01:49:03 -0700: > Thanks for the detailed reply. I have replies on multiple subtopics. But I > deleted topics that I

Re: [PATCH 1 of 2] verify: document corner cases

2017-03-30 Thread Jun Wu
Excerpts from Ryan McElroy's message of 2017-03-30 09:55:50 +0100: > On 3/29/17 10:51 PM, Jun Wu wrote: > > # HG changeset patch > > # User Jun Wu > > # Date 1490823901 25200 > > # Wed Mar 29 14:45:01 2017 -0700 > > # Node ID 1f7890370b5437466534cbd0a313d21671dade03 > > #

Re: [PATCH 2 of 7 V5] hgweb: add a "patch" query parameter to filelog command

2017-03-30 Thread Yuya Nishihara
On Fri, 31 Mar 2017 00:37:22 +0900, Yuya Nishihara wrote: > On Thu, 30 Mar 2017 17:10:28 +0200, Denis Laxalde wrote: > > Yuya Nishihara a écrit : > > > On Sat, 25 Mar 2017 10:20:57 +0100, Denis Laxalde wrote: > > >> # HG changeset patch > > >> # User Denis Laxalde > > >>

Re: [PATCH 2 of 7 V5] hgweb: add a "patch" query parameter to filelog command

2017-03-30 Thread Yuya Nishihara
On Thu, 30 Mar 2017 17:10:28 +0200, Denis Laxalde wrote: > Yuya Nishihara a écrit : > > On Sat, 25 Mar 2017 10:20:57 +0100, Denis Laxalde wrote: > >> # HG changeset patch > >> # User Denis Laxalde > >> # Date 1489398073 -3600 > >> # Mon Mar 13 10:41:13 2017 +0100 >

Re: [PATCH 2 of 7 V5] hgweb: add a "patch" query parameter to filelog command

2017-03-30 Thread Denis Laxalde
Yuya Nishihara a écrit : On Sat, 25 Mar 2017 10:20:57 +0100, Denis Laxalde wrote: # HG changeset patch # User Denis Laxalde # Date 1489398073 -3600 # Mon Mar 13 10:41:13 2017 +0100 # Node ID a7b9bc1af8b81c332cf34960f581359e6942ca17 # Parent

Re: [PATCH 07 of 11] revlog: fix many file handle opens to explicitly use bytes mode

2017-03-30 Thread Yuya Nishihara
On Wed, 29 Mar 2017 19:24:11 -0700, Gregory Szorc wrote: > On Mon, Mar 27, 2017 at 6:54 AM, Yuya Nishihara wrote: > > On Sun, 26 Mar 2017 18:36:41 -0400, Augie Fackler wrote: > > > # HG changeset patch > > > # User Augie Fackler > > > # Date 1490567324 14400 > >

[PATCH 4 of 4 NEW-CONCEPT] track-tags: write all tag changes to a file

2017-03-30 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1490688902 -7200 # Tue Mar 28 10:15:02 2017 +0200 # Node ID 46005886092380991a30c2a02486c2876ecac341 # Parent 2dcaa99d6160561166269f192a89b25f84fd4667 # EXP-Topic tags # Available At

[PATCH 1 of 4 NEW-CONCEPT] tags: introduce a function to return a valid fnodes list from revs

2017-03-30 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1490670416 -7200 # Tue Mar 28 05:06:56 2017 +0200 # Node ID f6e7b8a14f4a94db6742410331db752112c76b82 # Parent dea2a17cbfd00bf08ee87b3e44b1c71499189f89 # EXP-Topic tags # Available At

[PATCH 2 of 4 NEW-CONCEPT] track-tags: introduce first bits of tags tracking during transaction

2017-03-30 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1490675889 -7200 # Tue Mar 28 06:38:09 2017 +0200 # Node ID 25952f350daaae03506991d566c8de170b5db094 # Parent f6e7b8a14f4a94db6742410331db752112c76b82 # EXP-Topic tags # Available At

[PATCH 3 of 4 NEW-CONCEPT] track-tags: compute the actual differences between tags pre/post transaction

2017-03-30 Thread Pierre-Yves David
# HG changeset patch # User Pierre-Yves David # Date 1490688895 -7200 # Tue Mar 28 10:14:55 2017 +0200 # Node ID 2dcaa99d6160561166269f192a89b25f84fd4667 # Parent 25952f350daaae03506991d566c8de170b5db094 # EXP-Topic tags # Available At

Re: [PATCH 1 of 3 V2] hardlink: extract topic text logic of copyfiles

2017-03-30 Thread Yuya Nishihara
On Wed, 29 Mar 2017 12:42:16 -0700, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1490815275 25200 > # Wed Mar 29 12:21:15 2017 -0700 > # Node ID b1ef68e4196e01f723b78746d752f60e46e33cc0 > # Parent cda83a1bfb3ac3a23cfa158c407be93755c1018e > # Available At

Re: [PATCH] hgweb: fix diff hunks filtering by line range in webutil.diffs()

2017-03-30 Thread Gregory Szorc
> On Mar 30, 2017, at 01:27, Denis Laxalde wrote: > > Gregory Szorc a écrit : >>> On Wed, Mar 29, 2017 at 6:10 AM, Denis Laxalde wrote: >>> >>> # HG changeset patch >>> # User Denis Laxalde >>> # Date 1490782027 -7200 >>> #

Re: [PATCH RFC] repo: add an ability to hide nodes in an appropriate way

2017-03-30 Thread Pierre-Yves David
On 03/27/2017 07:24 PM, Augie Fackler wrote: On Mon, Mar 27, 2017 at 10:27:33AM +0200, Pierre-Yves David wrote: On 03/27/2017 12:32 AM, Kostia Balytskyi wrote: # HG changeset patch # User Kostia Balytskyi # Date 1490567500 25200 # Sun Mar 26 15:31:40 2017 -0700 # Node

Re: [PATCH 3 of 3] minirst: remove redundant _admonitions set

2017-03-30 Thread Yuya Nishihara
On Thu, 30 Mar 2017 09:38:31 +0100, Ryan McElroy wrote: > On 3/30/17 4:19 AM, Gregory Szorc wrote: > > # HG changeset patch > > # User Gregory Szorc > > # Date 1490843966 25200 > > # Wed Mar 29 20:19:26 2017 -0700 > > # Node ID

Re: [PATCH 1 of 2 py3] color: replace str() with pycompat.bytestr()

2017-03-30 Thread Yuya Nishihara
On Thu, 30 Mar 2017 01:21:38 +0530, Pulkit Goyal wrote: > # HG changeset patch > # User Pulkit Goyal <7895pul...@gmail.com> > # Date 1490779072 -19800 > # Wed Mar 29 14:47:52 2017 +0530 > # Node ID 7339bf21508131c90a44317ff16214b81ebe62c1 > # Parent 08aeba5bc7c623a700eea9011e0d904e3732134a >

Re: [PATCH py3 V2] diff: slice over bytes to make sure conditions work normally

2017-03-30 Thread Yuya Nishihara
On Thu, 30 Mar 2017 01:16:07 +0530, Pulkit Goyal wrote: > # HG changeset patch > # User Pulkit Goyal <7895pul...@gmail.com> > # Date 1490541771 -19800 > # Sun Mar 26 20:52:51 2017 +0530 > # Node ID 08aeba5bc7c623a700eea9011e0d904e3732134a > # Parent 331cc4433efe0d897bb16ad4ff08a3fbe850869b >

Re: [PATCH 1 of 7 V2] tags: extract fnode retrieval in its own function

2017-03-30 Thread Yuya Nishihara
On Tue, 28 Mar 2017 20:20:05 +0100, Ryan McElroy wrote: > On 3/28/17 1:03 PM, Pierre-Yves David wrote: > > # HG changeset patch > > # User Pierre-Yves David > > # Date 1490673691 -7200 > > # Tue Mar 28 06:01:31 2017 +0200 > > # Node ID

Re: [PATCH] hgweb: fix diff hunks filtering by line range in webutil.diffs()

2017-03-30 Thread Yuya Nishihara
On Wed, 29 Mar 2017 15:10:23 +0200, Denis Laxalde wrote: > # HG changeset patch > # User Denis Laxalde > # Date 1490782027 -7200 > # Wed Mar 29 12:07:07 2017 +0200 > # Node ID 28297d6c3ae842f4c26f878bf5b107619366fbd5 > # Parent

Re: [PATCH 2 of 7 V5] hgweb: add a "patch" query parameter to filelog command

2017-03-30 Thread Yuya Nishihara
On Sat, 25 Mar 2017 10:20:57 +0100, Denis Laxalde wrote: > # HG changeset patch > # User Denis Laxalde > # Date 1489398073 -3600 > # Mon Mar 13 10:41:13 2017 +0100 > # Node ID a7b9bc1af8b81c332cf34960f581359e6942ca17 > # Parent

[PATCH 2 of 5 v2] rebase: test to show brokenness with requiredest

2017-03-30 Thread Ryan McElroy
# HG changeset patch # User Ryan McElroy # Date 1490871010 25200 # Thu Mar 30 03:50:10 2017 -0700 # Node ID 8f154b4f7255427303aed7fff2d78ff84e49bfeb # Parent 9f25299c45b39fbdfc34c0c3ef1c454bcd42ed02 rebase: test to show brokenness with requiredest As shown in issue5513,

[PATCH 1 of 5 v2] rebase: move destination test to new test file

2017-03-30 Thread Ryan McElroy
# HG changeset patch # User Ryan McElroy # Date 1490871010 25200 # Thu Mar 30 03:50:10 2017 -0700 # Node ID 9f25299c45b39fbdfc34c0c3ef1c454bcd42ed02 # Parent 2632df096fc0ac7582382b1f94ea4b9ad0bce8f2 rebase: move destination test to new test file We'll be adding a lot more

[PATCH 4 of 5 v2] rebase: demonstrate behavior with requiredest and pull --rebase

2017-03-30 Thread Ryan McElroy
# HG changeset patch # User Ryan McElroy # Date 1490871010 25200 # Thu Mar 30 03:50:10 2017 -0700 # Node ID 2b8f2a54323459455a1038ca3b5a98a03cf4fe0e # Parent 50219901327938be2f4d6df041b69d7498a7914d rebase: demonstrate behavior with requiredest and pull --rebase diff --git

[PATCH 5 of 5 v2] rebase: abort hg pull --rebase if rebase.requiredest is set (issue5514)

2017-03-30 Thread Ryan McElroy
# HG changeset patch # User Ryan McElroy # Date 1490871010 25200 # Thu Mar 30 03:50:10 2017 -0700 # Node ID 982ea504f855ed143d714e2923332e223b7feef4 # Parent 2b8f2a54323459455a1038ca3b5a98a03cf4fe0e rebase: abort hg pull --rebase if rebase.requiredest is set (issue5514)

[PATCH 3 of 5 v2] rebase: allow destination-free continue and abort (issue5513)

2017-03-30 Thread Ryan McElroy
# HG changeset patch # User Ryan McElroy # Date 1490871010 25200 # Thu Mar 30 03:50:10 2017 -0700 # Node ID 50219901327938be2f4d6df041b69d7498a7914d # Parent 8f154b4f7255427303aed7fff2d78ff84e49bfeb rebase: allow destination-free continue and abort (issue5513) diff --git

Re: [PATCH 3 of 7 shelve-ext v5] shelve: add obs-based shelve functionality

2017-03-30 Thread Kostia Balytskyi
On 30/03/2017 10:15, Ryan McElroy wrote: > > > On 3/29/17 2:18 PM, Kostia Balytskyi wrote: >> # HG changeset patch >> # User Kostia Balytskyi >> # Date 1490790691 25200 >> # Wed Mar 29 05:31:31 2017 -0700 >> # Node ID fc1144e5993a5c85060b913e2d92cd4b1b61772e >> # Parent

Re: [PATCH 7 of 7 shelve-ext v5] shelve: add some forwards compatibility to shelve operations

2017-03-30 Thread Ryan McElroy
On 3/29/17 2:18 PM, Kostia Balytskyi wrote: # HG changeset patch # User Kostia Balytskyi # Date 1490790691 25200 # Wed Mar 29 05:31:31 2017 -0700 # Node ID 0953ca0a71a0e1f05078b0f3c255459e1ba56a4e # Parent 9ce0a366a6316d1cffc2a875e7dc6b4a3227c851 shelve: add some forwards

Re: [PATCH 6 of 7 shelve-ext v5] shelve: add obs-based unshelve functionality

2017-03-30 Thread Ryan McElroy
On 3/29/17 2:18 PM, Kostia Balytskyi wrote: # HG changeset patch # User Kostia Balytskyi # Date 1490790691 25200 # Wed Mar 29 05:31:31 2017 -0700 # Node ID 9ce0a366a6316d1cffc2a875e7dc6b4a3227c851 # Parent 743fea249a852994c5bd3e47cdfb617719f19a0a shelve: add obs-based

Re: [PATCH 2 of 7 shelve-ext v5] shelve: add a function to check whether obs-based shelve is enabled

2017-03-30 Thread Ryan McElroy
On 3/29/17 2:18 PM, Kostia Balytskyi wrote: # HG changeset patch # User Kostia Balytskyi # Date 1490790691 25200 # Wed Mar 29 05:31:31 2017 -0700 # Node ID 0aa864184c9d78c11d18980cf0faa10828445ff5 # Parent b5d6e501621808f330e46295d09526a5d1e9064a shelve: add a function to

Re: [PATCH 3 of 7 shelve-ext v5] shelve: add obs-based shelve functionality

2017-03-30 Thread Ryan McElroy
On 3/29/17 2:18 PM, Kostia Balytskyi wrote: # HG changeset patch # User Kostia Balytskyi # Date 1490790691 25200 # Wed Mar 29 05:31:31 2017 -0700 # Node ID fc1144e5993a5c85060b913e2d92cd4b1b61772e # Parent 0aa864184c9d78c11d18980cf0faa10828445ff5 shelve: add obs-based

Re: [PATCH 5 of 5] perf: workaround check-code

2017-03-30 Thread Ryan McElroy
On 3/30/17 12:57 AM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1490831529 25200 # Wed Mar 29 16:52:09 2017 -0700 # Node ID 5ca313b3da12d145f1d49a85dd8b753e22d51521 # Parent 265ea657d75905fb59a27194a75aaff49be94598 perf: workaround check-code The code int his

Re: [PATCH] test-verify: add a testcase where the file has magic meta header

2017-03-30 Thread Ryan McElroy
On 3/29/17 9:45 PM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1490820077 25200 # Wed Mar 29 13:41:17 2017 -0700 # Node ID e9fda3b8614a8b701bd48041afa8b709e1227f27 # Parent cda83a1bfb3ac3a23cfa158c407be93755c1018e test-verify: add a testcase where the file has

Re: [PATCH 2 of 2] verify: fix length check

2017-03-30 Thread Ryan McElroy
On 3/29/17 10:52 PM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1490824154 25200 # Wed Mar 29 14:49:14 2017 -0700 # Node ID ab735d6798fb133efdc2be8a441b51e7ba4d547b # Parent 1f7890370b5437466534cbd0a313d21671dade03 verify: fix length check According to the

Re: [PATCH 1 of 2] verify: document corner cases

2017-03-30 Thread Ryan McElroy
On 3/29/17 10:51 PM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1490823901 25200 # Wed Mar 29 14:45:01 2017 -0700 # Node ID 1f7890370b5437466534cbd0a313d21671dade03 # Parent e9fda3b8614a8b701bd48041afa8b709e1227f27 verify: document corner cases It seems a good

Re: [PATCH 7 of 7 V5] hgweb: expose a followlines UI in filerevision view (RFC)

2017-03-30 Thread Denis Laxalde
Gregory Szorc a écrit : On Sat, Mar 25, 2017 at 2:21 AM, Denis Laxalde wrote: # HG changeset patch # User Denis Laxalde # Date 1489594320 -3600 # Wed Mar 15 17:12:00 2017 +0100 # Node ID ec77aa4ff2993057b604bdffb449d2d179525a9f # Parent

Re: [PATCH 3 of 3] minirst: remove redundant _admonitions set

2017-03-30 Thread Ryan McElroy
On 3/30/17 4:19 AM, Gregory Szorc wrote: # HG changeset patch # User Gregory Szorc # Date 1490843966 25200 # Wed Mar 29 20:19:26 2017 -0700 # Node ID 191b0b4697cc979464ec5ad9f04ef1ffa0f2a6cb # Parent c4329b811738046b70661f5647df50d7d28b2362 minirst: remove

[PATCH V6] hgweb: expose a followlines UI in filerevision view

2017-03-30 Thread Denis Laxalde
# HG changeset patch # User Denis Laxalde # Date 1490819176 -7200 # Wed Mar 29 22:26:16 2017 +0200 # Node ID 1c360ab5640bc326dd6ff70bdee78e4da006dcef # Parent e540846c67e0f838bcdb1db567a57df28d92491c # Available At http://hg.logilab.org/users/dlaxalde/hg #

Re: [PATCH 4 of 6] rebase: allow destination-free continue and abort (issue5513)

2017-03-30 Thread Ryan McElroy
On 3/29/17 6:15 PM, Martin von Zweigbergk wrote: On Tue, Mar 28, 2017 at 2:31 PM, Ryan McElroy wrote: # HG changeset patch # User Ryan McElroy # Date 1490735056 25200 # Tue Mar 28 14:04:16 2017 -0700 # Node ID ac6634fab80b59ba48958ca03289c4434e9483c4 #

Re: [PATCH] hgweb: fix diff hunks filtering by line range in webutil.diffs()

2017-03-30 Thread Denis Laxalde
Gregory Szorc a écrit : On Wed, Mar 29, 2017 at 6:10 AM, Denis Laxalde wrote: # HG changeset patch # User Denis Laxalde # Date 1490782027 -7200 # Wed Mar 29 12:07:07 2017 +0200 # Node ID 28297d6c3ae842f4c26f878bf5b107619366fbd5 # Parent

Re: [PATCH] test-check-code: prevent files being added to the root directory

2017-03-30 Thread Ryan McElroy
On 3/29/17 8:14 PM, Jun Wu wrote: # HG changeset patch # User Jun Wu # Date 1490814860 25200 # Wed Mar 29 12:14:20 2017 -0700 # Node ID 4b4345a62fbd9fb0f4610d013c4ee5c9c06287e0 # Parent cda83a1bfb3ac3a23cfa158c407be93755c1018e test-check-code: prevent files being added to

Re: [PATCH 1 of 5] repair: use ProgrammingError

2017-03-30 Thread Ryan McElroy
On 3/29/17 4:56 PM, Jun Wu wrote: Excerpts from Pierre-Yves David's message of 2017-03-29 13:24:39 +0200: On 03/28/2017 08:59 PM, Ryan McElroy wrote: On 3/27/17 2:11 PM, Augie Fackler wrote: On Mon, Mar 27, 2017 at 09:18:55AM +0200, Pierre-Yves David wrote: Sure, that seems like a good idea.

Re: [PATCH 4 of 7] revlog: add test to check raw processing is sane

2017-03-30 Thread Ryan McElroy
On 3/29/17 4:34 PM, Jun Wu wrote: Although that's doable, that requires significant time. And the bugs are cancelling each other somehow: When you fix none, test 1 fails. When you fix test 1, test 2 previously passed fails. Since the bugs won't be able to be fixed incrementally (fixing the

Re: Post-pull updates and hooks

2017-03-30 Thread Pierre-Yves David
On 03/29/2017 11:57 PM, Augie Fackler wrote: Howdy folks, Alex (cc'ed) asked me a question on IRC today, and I can't figure out a fix for what is a basically-reasonable and sort-of-obvious feature. In Git, due to implementation details of how 'git pull' works[0], you can get a post-pull