[PATCH STABLE] status: don't crash if a lookup file disappears

2017-06-02 Thread Siddharth Agarwal
# HG changeset patch # User Siddharth Agarwal # Date 1496467672 25200 # Fri Jun 02 22:27:52 2017 -0700 # Branch stable # Node ID d39f934da0c80a568486cd8645eb6bbe513f1f03 # Parent 62e42e2897502bcbaa3a57d3301c789309596391 status: don't crash if a lookup file disappears This can

Re: [PATCH 1 of 3 ctx-cleanup] context: inline makememctx (API)

2017-06-02 Thread Martin von Zweigbergk via Mercurial-devel
On Wed, May 31, 2017 at 5:22 PM, Sean Farley wrote: > # HG changeset patch > # User Sean Farley > # Date 1494536055 25200 > # Thu May 11 13:54:15 2017 -0700 > # Branch wctxds > # Node ID 9879720e90cf13e445d17fc22f53c071a22322d9 > # Parent

Re: [PATCH 1 of 3 ctx-cleanup] context: inline makememctx (API)

2017-06-02 Thread Martin von Zweigbergk via Mercurial-devel
On Wed, May 31, 2017 at 5:22 PM, Sean Farley wrote: > # HG changeset patch > # User Sean Farley > # Date 1494536055 25200 > # Thu May 11 13:54:15 2017 -0700 > # Branch wctxds > # Node ID 9879720e90cf13e445d17fc22f53c071a22322d9 > # Parent

Re: [PATCH] committablectx: extra is already normalized

2017-06-02 Thread Martin von Zweigbergk via Mercurial-devel
On Fri, Jun 2, 2017 at 7:35 PM, Yuya Nishihara wrote: > On Wed, 31 May 2017 17:11:57 -0700, Jun Wu wrote: >> Looks good to me. I'd mention extra is normalized by "changelog.add" in >> commit message. > > Perhaps this should say "normalized by committablectx.__init__". changelog.py

Re: [PATCH 2 of 2] annotate: restructure formatter output to be nested list (BC)

2017-06-02 Thread Augie Fackler
On Sat, Jun 03, 2017 at 01:02:27AM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1496417124 -32400 > # Sat Jun 03 00:25:24 2017 +0900 > # Node ID b6eb65cbc42b8c3b3a6e4a21827732fc8b56f1cf > # Parent

Re: [PATCH] help: clarify the choice of pager

2017-06-02 Thread Augie Fackler
On Fri, Jun 02, 2017 at 10:28:38AM -0700, Sean Farley wrote: > Xavier Lepaul via Mercurial-devel > writes: > > > # HG changeset patch > > # User Xavier Lepaul > > # Date 1496393080 -7200 > > # Fri Jun 02 10:44:40 2017 +0200 > > # Node ID

Re: [PATCH] help: clarify the choice of pager

2017-06-02 Thread Augie Fackler
On Sat, Jun 03, 2017 at 12:09:21PM +0900, Yuya Nishihara wrote: > On Fri, 02 Jun 2017 10:28:38 -0700, Sean Farley wrote: > > Xavier Lepaul via Mercurial-devel > > writes: > > > # HG changeset patch > > > # User Xavier Lepaul > > > # Date

Re: [PATCH V2] setup: prevent setuptools from laying an egg

2017-06-02 Thread Augie Fackler
On Sat, Jun 03, 2017 at 12:25:31PM +0900, Yuya Nishihara wrote: > On Sun, 28 May 2017 22:32:28 -0400, Matt Harbison wrote: > > # HG changeset patch > > # User Matt Harbison > > # Date 1494214143 14400 > > # Sun May 07 23:29:03 2017 -0400 > > # Node ID

Re: [PATCH] solaris: solaris grep doesn't have -A; reimplement with awk

2017-06-02 Thread Yuya Nishihara
On Fri, 02 Jun 2017 16:20:06 -0700, danek.duv...@oracle.com wrote: > # HG changeset patch > # User Danek Duvall > # Date 1496445527 25200 > # Fri Jun 02 16:18:47 2017 -0700 > # Node ID d41ec8a079648101eae94a25e05c6d7a7b26b653 > # Parent

Re: [PATCH V2] setup: prevent setuptools from laying an egg

2017-06-02 Thread Yuya Nishihara
On Sun, 28 May 2017 22:32:28 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1494214143 14400 > # Sun May 07 23:29:03 2017 -0400 > # Node ID b81e017073fbb68a878610377484c5d4d32f683c > # Parent

mercurial@32607: 2 new changesets (2 on stable)

2017-06-02 Thread Mercurial Commits
2 new changesets (2 on stable) in mercurial: https://www.mercurial-scm.org/repo/hg/rev/7cecf18d3308 changeset: 32606:7cecf18d3308 branch: stable parent: 32578:8825de36e74a user:Wagner Bruna date:Thu Jun 01 20:06:02 2017 -0300 summary:

Re: [PATCH v2] patchbomb: add -B option to select a bookmark

2017-06-02 Thread Yuya Nishihara
On Fri, 02 Jun 2017 10:34:40 -0700, Sean Farley wrote: > Yuya Nishihara writes: > > On Tue, 30 May 2017 11:14:11 +0200, David Demelier wrote: > >> # HG changeset patch > >> # User David Demelier > >> # Date 1486130547 -3600 > >> # Fri Feb 03 15:02:27

Re: [PATCH] help: clarify the choice of pager

2017-06-02 Thread Yuya Nishihara
On Fri, 02 Jun 2017 10:28:38 -0700, Sean Farley wrote: > Xavier Lepaul via Mercurial-devel > writes: > > # HG changeset patch > > # User Xavier Lepaul > > # Date 1496393080 -7200 > > # Fri Jun 02 10:44:40 2017 +0200 > > # Node ID

Re: [PATCH] committablectx: extra is already normalized

2017-06-02 Thread Yuya Nishihara
On Wed, 31 May 2017 17:11:57 -0700, Jun Wu wrote: > Looks good to me. I'd mention extra is normalized by "changelog.add" in > commit message. Perhaps this should say "normalized by committablectx.__init__". changelog.py normalizes extra in inverse direction. > Excerpts from Sean Farley's message

Re: [PATCH stable] i18n-pt_BR: fix syntax error on translation

2017-06-02 Thread Augie Fackler
On Fri, Jun 02, 2017 at 08:55:46PM -0300, Wagner Bruna wrote: > # HG changeset patch > # User Wagner Bruna > # Date 1496447446 10800 > # Fri Jun 02 20:50:46 2017 -0300 > # Branch stable > # Node ID 642354dc9711ce1b9319eee3e83a9c81a217c706 > # Parent

Re: [PATCH stable] i18n-pt_BR: fix syntax error on translation

2017-06-02 Thread Wagner Bruna
Em 02-06-2017 20:55, Wagner Bruna escreveu: # HG changeset patch # User Wagner Bruna # Date 1496447446 10800 # Fri Jun 02 20:50:46 2017 -0300 # Branch stable # Node ID 642354dc9711ce1b9319eee3e83a9c81a217c706 # Parent 8825de36e74a0c5e9ccf5419b2c217e5042a97cf

[PATCH] solaris: solaris grep doesn't have -A; reimplement with awk

2017-06-02 Thread danek . duvall
# HG changeset patch # User Danek Duvall # Date 1496445527 25200 # Fri Jun 02 16:18:47 2017 -0700 # Node ID d41ec8a079648101eae94a25e05c6d7a7b26b653 # Parent e6ff007e107e434b35eb881711f459c7a75c91b2 solaris: solaris grep doesn't have -A; reimplement with awk diff

[PATCH stable] i18n-pt_BR: fix syntax error on translation

2017-06-02 Thread Wagner Bruna
# HG changeset patch # User Wagner Bruna # Date 1496447446 10800 # Fri Jun 02 20:50:46 2017 -0300 # Branch stable # Node ID 642354dc9711ce1b9319eee3e83a9c81a217c706 # Parent 8825de36e74a0c5e9ccf5419b2c217e5042a97cf i18n-pt_BR: fix syntax error on translation

[PATCH 2 of 2] keepalive: set buffering=True to do more efficient reads of headers

2017-06-02 Thread Kyle Lippincott via Mercurial-devel
# HG changeset patch # User Kyle Lippincott # Date 1496437706 25200 # Fri Jun 02 14:08:26 2017 -0700 # Node ID daeaaad7839bb72ab48a09638ee4f1e8a089ca9d # Parent 80511f08c101eae26b774a9759da271807e4bf0b keepalive: set buffering=True to do more efficient reads of headers

[PATCH 1 of 2] keepalive: pass the correct arguments to HTTPResponse

2017-06-02 Thread Kyle Lippincott via Mercurial-devel
# HG changeset patch # User Kyle Lippincott # Date 1496366600 25200 # Thu Jun 01 18:23:20 2017 -0700 # Node ID 80511f08c101eae26b774a9759da271807e4bf0b # Parent 5d44d7d4076e5a96001b0f88c730fa7ea24a9e02 keepalive: pass the correct arguments to HTTPResponse python2.7's

Re: Test failure in i18n

2017-06-02 Thread Kevin Bullock
> On Jun 2, 2017, at 17:12, Kevin Bullock > wrote: > > We have a test failure related to i18n/pt_BR.po that's blocking the 4.2.1 > stable release: > > --- /srv/buildbot/linuxtests/hg_tests__stable_/build/tests/test-gendoc-pt_BR.t > +++ >

Re: [PATCH 1 of 6 RFC] radixlink: introduce a new data structure

2017-06-02 Thread Jun Wu
Excerpts from Martin von Zweigbergk's message of 2017-06-02 10:38:08 -0700: > [...] > Would good to say here what the radix/base is (16, IIUC). Will do. > > +@property > > +def truthoffset(self): > > +"""position of the append-only source of truth the index > > contains""" > > +

Re: [PATCH] bitmanipulation: add missing include of string.h

2017-06-02 Thread Sean Farley
Martin von Zweigbergk via Mercurial-devel writes: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1496424759 25200 > # Fri Jun 02 10:32:39 2017 -0700 > # Node ID adcedfacf15920a7ac4b5c2b2ab57f65857b8340 > # Parent

Re: [PATCH 1 of 6 RFC] radixlink: introduce a new data structure

2017-06-02 Thread Martin von Zweigbergk via Mercurial-devel
A few comments from a very partial review. On Sun, May 21, 2017 at 6:31 PM, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1495396237 25200 > # Sun May 21 12:50:37 2017 -0700 > # Node ID fec85b1af16b0360e7bd78cd26d4d21edf678962 > # Parent

Re: [PATCH v2] patchbomb: add -B option to select a bookmark

2017-06-02 Thread Sean Farley
Yuya Nishihara writes: > On Tue, 30 May 2017 11:14:11 +0200, David Demelier wrote: >> # HG changeset patch >> # User David Demelier >> # Date 1486130547 -3600 >> # Fri Feb 03 15:02:27 2017 +0100 >> # Node ID 78767485c1feff1593ca39c8986a29abd44cc567

[PATCH] bitmanipulation: add missing include of string.h

2017-06-02 Thread Martin von Zweigbergk via Mercurial-devel
# HG changeset patch # User Martin von Zweigbergk # Date 1496424759 25200 # Fri Jun 02 10:32:39 2017 -0700 # Node ID adcedfacf15920a7ac4b5c2b2ab57f65857b8340 # Parent 7fcddf79634350fec32d8ed87242db6d773588d5 bitmanipulation: add missing include of string.h That's

Re: [PATCH 2 of 3 RFC] context: start the move of wlock from repo to workingctx

2017-06-02 Thread Sean Farley
Yuya Nishihara writes: > On Thu, 01 Jun 2017 11:28:56 -0700, Sean Farley wrote: >> Yuya Nishihara writes: >> > On Wed, 31 May 2017 17:25:21 -0700, Sean Farley wrote: >> >> # HG changeset patch >> >> # User Sean Farley >> >> # Date 1494537056 25200

Re: [PATCH] help: clarify the choice of pager

2017-06-02 Thread Sean Farley
Xavier Lepaul via Mercurial-devel writes: > # HG changeset patch > # User Xavier Lepaul > # Date 1496393080 -7200 > # Fri Jun 02 10:44:40 2017 +0200 > # Node ID 77a4708bafddb2599147c2dfc6eca47eaf9f3ba2 > # Parent

[Bug 5585] New: Largefiles: addremove converts large files to normal files

2017-06-02 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5585 Bug ID: 5585 Summary: Largefiles: addremove converts large files to normal files Product: Mercurial Version: 4.1 Hardware: PC OS: Linux Status:

[PATCH 2 of 2] annotate: restructure formatter output to be nested list (BC)

2017-06-02 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1496417124 -32400 # Sat Jun 03 00:25:24 2017 +0900 # Node ID b6eb65cbc42b8c3b3a6e4a21827732fc8b56f1cf # Parent 52237356336d4141f9f1a31995276703cbb436b7 annotate: restructure formatter output to be nested list (BC) Annotate

[PATCH 1 of 2] annotate: rename formatter variable

2017-06-02 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1496415912 -32400 # Sat Jun 03 00:05:12 2017 +0900 # Node ID 52237356336d4141f9f1a31995276703cbb436b7 # Parent 8dda0a0e543c4ecd615cbd7981ffcaee313a8d30 annotate: rename formatter variable So we can add a nested 'fm' of narrow

Re: [PATCH 1 of 6 V2] obsstore: add a 'cachekey' method

2017-06-02 Thread Pierre-Yves David
On 06/01/2017 10:27 PM, Sean Farley wrote: Pierre-Yves David writes: On 06/01/2017 07:05 PM, Martin von Zweigbergk wrote: On Thu, Jun 1, 2017 at 9:48 AM, Jun Wu wrote: Excerpts from Pierre-Yves David's message of 2017-06-01 18:15:17 +0200:

Re: [PATCH 6 of 6 V2] py3: add test to show `hg update` and `hg identify` works on Python 3

2017-06-02 Thread Yuya Nishihara
On Fri, 02 Jun 2017 12:33:14 +0200, Boris Feld wrote: > I read the serie, it looks good! > > I love the idea about the dict.update to avoid gc churns. > > On Fri, 2017-06-02 at 14:16 +0530, Pulkit Goyal wrote: > > # HG changeset patch > > # User Pulkit Goyal <7895pul...@gmail.com> > > # Date

Re: [PATCH v2] patchbomb: add -B option to select a bookmark

2017-06-02 Thread Yuya Nishihara
On Tue, 30 May 2017 11:14:11 +0200, David Demelier wrote: > # HG changeset patch > # User David Demelier > # Date 1486130547 -3600 > # Fri Feb 03 15:02:27 2017 +0100 > # Node ID 78767485c1feff1593ca39c8986a29abd44cc567 > # Parent

[PATCH] help: clarify the choice of pager

2017-06-02 Thread Xavier Lepaul via Mercurial-devel
# HG changeset patch # User Xavier Lepaul # Date 1496393080 -7200 # Fri Jun 02 10:44:40 2017 +0200 # Node ID 77a4708bafddb2599147c2dfc6eca47eaf9f3ba2 # Parent e6ff007e107e434b35eb881711f459c7a75c91b2 help: clarify the choice of pager This follows the change made in

Re: [PATCH 1 of 9] test: add a file dedicated to push race between clients

2017-06-02 Thread Yuya Nishihara
On Mon, 29 May 2017 01:11:23 +0200, Pierre-Yves David wrote: > # HG changeset patch > # User Pierre-Yves David > # Date 1495916698 -7200 > # Sat May 27 22:24:58 2017 +0200 > # Node ID 91964bf217343464079f0d62fda986ba865a4fe5 > # Parent

Re: [PATCH 1 of 6 V2] obsstore: add a 'cachekey' method

2017-06-02 Thread Yuya Nishihara
On Thu, 1 Jun 2017 15:28:19 -0700, Jun Wu wrote: > Excerpts from Sean Farley's message of 2017-06-01 13:27:44 -0700: > > > Both series are complementary and useful. Obscache is very efficient for > > > its purpose and the other one improve other aspect of evolution related > > > computation. We

Re: [PATCH 2 of 3 RFC] context: start the move of wlock from repo to workingctx

2017-06-02 Thread Yuya Nishihara
On Thu, 01 Jun 2017 11:28:56 -0700, Sean Farley wrote: > Yuya Nishihara writes: > > On Wed, 31 May 2017 17:25:21 -0700, Sean Farley wrote: > >> # HG changeset patch > >> # User Sean Farley > >> # Date 1494537056 25200 > >> # Thu May 11 14:10:56 2017 -0700 > >>

Re: [PATCH 06 of 10] py3: add support to pass bool type variable into pycompat.sysbytes()

2017-06-02 Thread Yuya Nishihara
On Fri, 2 Jun 2017 07:35:25 +0530, Pulkit Goyal wrote: > > Maybe you want bytestr() instead? > > I didn't thought about that, sorry. I will send a V2 with bytestr() > and other changes. Can you please drop this and the next one before > they get public. Okay, pruned a0d174b5ba0b and

Re: [PATCH 6 of 6 V2] py3: add test to show `hg update` and `hg identify` works on Python 3

2017-06-02 Thread Boris Feld
I read the serie, it looks good! I love the idea about the dict.update to avoid gc churns. On Fri, 2017-06-02 at 14:16 +0530, Pulkit Goyal wrote: > # HG changeset patch > # User Pulkit Goyal <7895pul...@gmail.com> > # Date 1496265079 -19800 > #  Thu Jun 01 02:41:19 2017 +0530 > # Node ID

[PATCH 5 of 6 V2] py3: add a test to show `hg diff` works on Python 3

2017-06-02 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1496378640 -19800 # Fri Jun 02 10:14:00 2017 +0530 # Node ID f6a8bfcf09665b66f0698c0a0f40d48212da9458 # Parent d6d7a160ee30b4296c2750cbf341cc550fe1657f py3: add a test to show `hg diff` works on Python 3 diff --git

[PATCH 6 of 6 V2] py3: add test to show `hg update` and `hg identify` works on Python 3

2017-06-02 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1496265079 -19800 # Thu Jun 01 02:41:19 2017 +0530 # Node ID 33317f49a756894824ccc799efa0e7473aeb275c # Parent f6a8bfcf09665b66f0698c0a0f40d48212da9458 py3: add test to show `hg update` and `hg identify` works on Python 3

[PATCH 1 of 6 V2] py3: use dict.update() instead of constructing lists and adding them

2017-06-02 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1496259842 -19800 # Thu Jun 01 01:14:02 2017 +0530 # Node ID 754e0b7e0ef3c73971b44e9c3fb76ab27206893a # Parent 5492f3cf2e0c0606a83ca239f1ec3fc4d8b4e3f0 py3: use dict.update() instead of constructing lists and adding them

[PATCH 3 of 6 V2] py3: convert exception to bytes to pass into ui.warn()

2017-06-02 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1496379921 -19800 # Fri Jun 02 10:35:21 2017 +0530 # Node ID a2c4837cd74f9ff787e4f085a7b216075fcd233e # Parent 9c2175e859f45ed46936469a759e6c8b9004a22a py3: convert exception to bytes to pass into ui.warn() Here

[PATCH 2 of 6 V2] py3: convert bool variables to bytes before passing into ui.debug()

2017-06-02 Thread Pulkit Goyal
# HG changeset patch # User Pulkit Goyal <7895pul...@gmail.com> # Date 1496263466 -19800 # Thu Jun 01 02:14:26 2017 +0530 # Node ID 9c2175e859f45ed46936469a759e6c8b9004a22a # Parent 754e0b7e0ef3c73971b44e9c3fb76ab27206893a py3: convert bool variables to bytes before passing into ui.debug()