[PATCH 07 of 10 V2] util: add a stream compression API to compression engines

2016-11-07 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1478573827 28800 # Mon Nov 07 18:57:07 2016 -0800 # Node ID fa24595b79b603ff7be6f32b849c07ddfdee3da4 # Parent 8672777162085c92b836ce1e97ca254734b0fae0 util: add a stream compression API to compression engines It is a

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

2016-11-07 Thread Gregory Szorc
On Mon, Nov 7, 2016 at 2:03 AM, Denis Laxalde wrote: > Gregory Szorc a écrit : > >> For the command name, we would have preferred `hg show` because it is >> shorter and not ambigious with any other core command. However, a >> number of people have created `hg show` as

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

2016-11-07 Thread Gregory Szorc
On Sun, Nov 6, 2016 at 1:52 AM, timeless wrote: > Gregory Szorc wrote: > > @@ -2019,6 +2026,13 @@ Dish up an empty repo; serve it cold. > >diff repository (or selected files) > > > > > > + > > + display > > + > > + > > + show various repository information

[PATCH 04 of 10 V2] bundle2: use compression engines API to obtain decompressor

2016-11-07 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1478572608 28800 # Mon Nov 07 18:36:48 2016 -0800 # Node ID 439b96dc6e896d9875ae24fae4a59e41b00b63c6 # Parent 8b1e72914d246af5703ea5bad9bd3cb051463164 bundle2: use compression engines API to obtain decompressor Like

[PATCH 05 of 10 V2] changegroup: use compression engines API

2016-11-07 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1478572693 28800 # Mon Nov 07 18:38:13 2016 -0800 # Node ID 5642a2b769a73befd6c3e3539e7e373a20392f3a # Parent 439b96dc6e896d9875ae24fae4a59e41b00b63c6 changegroup: use compression engines API The new API doesn't have

[PATCH 02 of 10 V2] bundle2: use new compression engine API for compression

2016-11-07 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1478572543 28800 # Mon Nov 07 18:35:43 2016 -0800 # Node ID 9c4c59fa0b44412bd59170f850463c68497b43da # Parent f3c9da54ff5e23becaa4d0e90a20c9de704a70ba bundle2: use new compression engine API for compression Now that

[PATCH 01 of 10 V2] util: create new abstraction for compression engines

2016-11-07 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1478572299 28800 # Mon Nov 07 18:31:39 2016 -0800 # Node ID f3c9da54ff5e23becaa4d0e90a20c9de704a70ba # Parent 0911191dc4c97cbc8334c8b83782e8134bf621f0 util: create new abstraction for compression engines Currently,

[PATCH 08 of 10 V2] bundle2: use compressstream compression engine API

2016-11-07 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1478573197 28800 # Mon Nov 07 18:46:37 2016 -0800 # Node ID fc931794a250e605717cc066f26512c0dcc81224 # Parent fa24595b79b603ff7be6f32b849c07ddfdee3da4 bundle2: use compressstream compression engine API Compression

Re: [PATCH 09 of 11] bundle2: use compressstream compression engine API

2016-11-07 Thread Gregory Szorc
On Mon, Nov 7, 2016 at 6:13 AM, Pierre-Yves David < pierre-yves.da...@ens-lyon.org> wrote: > > > On 11/02/2016 01:08 AM, Gregory Szorc wrote: > >> # HG changeset patch >> # User Gregory Szorc >> # Date 1477160145 25200 >> # Sat Oct 22 11:15:45 2016 -0700 >> # Node

Re: [PATCH 02 of 11] util: create new abstraction for compression engines

2016-11-07 Thread Gregory Szorc
On Mon, Nov 7, 2016 at 5:36 AM, Pierre-Yves David < pierre-yves.da...@ens-lyon.org> wrote: > > > On 11/02/2016 01:08 AM, Gregory Szorc wrote: > >> # HG changeset patch >> # User Gregory Szorc >> # Date 1477966026 25200 >> # Mon Oct 31 19:07:06 2016 -0700 >> # Node

[Bug 5420] New: rebase -b should calculate ancestors seperately

2016-11-07 Thread bugzilla
https://bz.mercurial-scm.org/show_bug.cgi?id=5420 Bug ID: 5420 Summary: rebase -b should calculate ancestors seperately Product: Mercurial Version: default branch Hardware: All OS: All Status: UNCONFIRMED

[PATCH] keyword: handle filectx _customcmp

2016-11-07 Thread Christian Ebert
# HG changeset patch # User Christian Ebert # Date 1476718966 -7200 # Mon Oct 17 17:42:46 2016 +0200 # Node ID 94e42c8808cdd96891a9f375f02a0760670e33d8 # Parent d06c049695e6ad3219e7479c65ce98a2f123e878 keyword: handle filectx _customcmp Suggested by Yuya Nishihara:

[Bug 5419] New: hg revert crashes with multiple renames and --rev

2016-11-07 Thread bugzilla
https://bz.mercurial-scm.org/show_bug.cgi?id=5419 Bug ID: 5419 Summary: hg revert crashes with multiple renames and --rev Product: Mercurial Version: default branch Hardware: All OS: All Status: UNCONFIRMED

Re: [PATCH 10 of 11] hgweb: use compression engine API for zlib compression

2016-11-07 Thread Gregory Szorc
On Mon, Nov 7, 2016 at 6:25 AM, Pierre-Yves David < pierre-yves.da...@ens-lyon.org> wrote: > > > On 11/02/2016 01:08 AM, Gregory Szorc wrote: > >> # HG changeset patch >> # User Gregory Szorc >> # Date 1477160356 25200 >> # Sat Oct 22 11:19:16 2016 -0700 >> # Node

Re: [PATCH STABLE V2] hgweb: cache fctx.parents() in annotate command (issue5414)

2016-11-07 Thread Jun Wu
Excerpts from Gregory Szorc's message of 2016-11-07 09:29:40 -0800: > Could we change basefilectx.annotate() to return a rich data structure > instead of a list of tuples? That data structure could have the cached > parents and other reusable cache data (which could be passed into > subsequent

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

2016-11-07 Thread Denis Laxalde
# HG changeset patch # User Denis Laxalde # Date 1475237490 -7200 # Fri Sep 30 14:11:30 2016 +0200 # Node ID 4f7b7750403ce48e78d0f361236f65ac03584c3c # Parent d06c049695e6ad3219e7479c65ce98a2f123e878 revert: do not reverse hunks in interactive when REV is not

[Bug 5418] New: Operation not permitted for utime

2016-11-07 Thread bugzilla
https://bz.mercurial-scm.org/show_bug.cgi?id=5418 Bug ID: 5418 Summary: Operation not permitted for utime Product: Mercurial Version: 3.9 Hardware: PC OS: Linux Status: UNCONFIRMED Severity: feature

Re: [PATCH 6 of 7] py3: use try/except to check for basestring

2016-11-07 Thread Pulkit Goyal
On Mon, Nov 7, 2016 at 5:55 PM, Yuya Nishihara wrote: > On Mon, 7 Nov 2016 00:15:21 +0530, Pulkit Goyal wrote: >> This >> https://www.mercurial-scm.org/pipermail/mercurial-devel/2016-October/089099.html >> is a better version of what I want to do, since this didn't went >> through

Re: hglib uses distutils that is being deprecated

2016-11-07 Thread Pierre-Yves David
that uninstalling a distutils project will only partially uninstall the project. Uninstalling python-hglib-2.0: Successfully uninstalled python-hglib-2.0 Successfully installed python-hglib-2.2-6-0f81ed8e147b-20161107 Do you have a plan to update to setuputils? I'm guessing that you want

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

2016-11-07 Thread Pierre-Yves David
On 11/03/2016 10:34 PM, Mads Kiilerich wrote: # HG changeset patch # User Mads Kiilerich # Date 1478208837 -3600 # Thu Nov 03 22:33:57 2016 +0100 # Node ID be83c5f4ec8931cb7e771a80a3ef5e2042a005c1 # Parent 3e0216b2a0995cb21946bc13fb21391013332c57 bdiff: make sure we

Re: hglib uses distutils that is being deprecated

2016-11-07 Thread Barry Scott
N: Uninstalling a distutils installed project (python-hglib) > > has > > > > been deprecated and will be removed in a future version. This is due to > > the > > fact that uninstalling a distutils project will only partially uninstall > > the project. > > >

Re: [PATCH 11 of 11] util: remove compressorobj API from compression engines

2016-11-07 Thread Pierre-Yves David
On 11/02/2016 01:08 AM, Gregory Szorc wrote: # HG changeset patch # User Gregory Szorc # Date 1477160459 25200 # Sat Oct 22 11:20:59 2016 -0700 # Node ID 4f491f7958229b370c5929d2e2599b9ed69d8254 # Parent fc426af4f25c3403703e913ccb4a6865865fcb02 util: remove

hglib uses distutils that is being deprecated

2016-11-07 Thread Barry Scott
Successfully installed python-hglib-2.2-6-0f81ed8e147b-20161107 Do you have a plan to update to setuputils? I'm guessing that you want to use distutils to support verion old python versions. If that is true then I'd guess that the setup.py would need to do something like: try: from

Re: [PATCH 08 of 11] util: add a stream compression API to compression engines

2016-11-07 Thread Pierre-Yves David
On 11/02/2016 01:08 AM, Gregory Szorc wrote: # HG changeset patch # User Gregory Szorc # Date 1477159930 25200 # Sat Oct 22 11:12:10 2016 -0700 # Node ID 1d4d111b644453acc4893478528a5f2ecd7ca023 # Parent 289da69280d95f1b983fdf9216739411a9953fb6 util: add a

Re: [PATCH 02 of 11] util: create new abstraction for compression engines

2016-11-07 Thread Pierre-Yves David
On 11/02/2016 01:08 AM, Gregory Szorc wrote: # HG changeset patch # User Gregory Szorc # Date 1477966026 25200 # Mon Oct 31 19:07:06 2016 -0700 # Node ID 4015d575d311cd7ebc923d1320e55a76c655c485 # Parent 60f180c9a030ebcee6c6f4f8584fdb94c73ac337 util: create new

Re: [PATCH STABLE V2] hgweb: cache fctx.parents() in annotate command (issue5414)

2016-11-07 Thread Yuya Nishihara
On Sun, 6 Nov 2016 17:01:05 +, Jun Wu wrote: > Excerpts from Yuya Nishihara's message of 2016-11-06 11:31:04 +0900: > > Perhaps fctx.parents() can be property-cached, but we'll need to drop > > uninteresting chains of parents in fctx.annotate(). > > If we go the property-cache approach, I

Re: [PATCH 8 of 8] py3: have bytes version of sys.argv

2016-11-07 Thread Yuya Nishihara
On Sun, 6 Nov 2016 23:55:50 +0530, Pulkit Goyal wrote: > On Sun, Nov 6, 2016 at 9:04 AM, Yuya Nishihara wrote: > > On Sun, 06 Nov 2016 04:46:25 +0530, Pulkit Goyal wrote: > >> # HG changeset patch > >> # User Pulkit Goyal <7895pul...@gmail.com> > >> # Date 1478387186 -19800 > >> #

Re: [PATCH 1 of 6 RFC] manifest: introduce an accessor class for manifests

2016-11-07 Thread Pierre-Yves David
On 11/05/2016 02:05 PM, Yuya Nishihara wrote: On Thu, 3 Nov 2016 15:27:37 -0700, Durham Goode wrote: # HG changeset patch # User Durham Goode # Date 1478208817 25200 # Thu Nov 03 14:33:37 2016 -0700 # Branch stable # Node ID 1788ee9e1df92ac94b9be84eac6d16e3bad903a9 #

Re: [PATCH 3 of 4] tests: merge 'test-push-validation.t' into 'test-push.t'

2016-11-07 Thread Pierre-Yves David
On 11/04/2016 08:15 PM, timeless wrote: Pierre-Yves David wrote: tests: merge 'test-push-validation.t' into 'test-push.t' That test file is very small and is merge with the new 'test-push.t'. No logic is changed but repository name are update to avoid collision. We don't register this as a

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

2016-11-07 Thread Denis Laxalde
Gregory Szorc a écrit : For the command name, we would have preferred `hg show` because it is shorter and not ambigious with any other core command. However, a number of people have created `hg show` as effectively an alias to `hg export`. And, some were concerned that Git users used to `git

Re: [PATCH 1 of 2] commands: add "di" alias for "diff"

2016-11-07 Thread Denis Laxalde
Jun Wu a écrit : Therefore I'm very sensitive about this. I think we should always make sure "d" = "diff" (although the complaint was only about "di"). I'm also quite used to `hg d`, for what it's worth. ___ Mercurial-devel mailing list

Re: [PATCH] bdiff: replace hash algorithm

2016-11-07 Thread Gregory Szorc
> On Nov 6, 2016, at 19:06, Gregory Szorc wrote: > > # HG changeset patch > # User Gregory Szorc > # Date 1478487117 28800 > # Sun Nov 06 18:51:57 2016 -0800 > # Node ID bb7c6d6f4a10e80ff4bdf88919692f08497d2d66 > # Parent