Re: [PATCH 6 of 7] pathencode: use Py_SIZE directly

2016-10-09 Thread Yuya Nishihara
On Sat, 08 Oct 2016 22:48:12 +0200, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1475958082 -7200 > # Sat Oct 08 22:21:22 2016 +0200 > # Node ID 40775aad0c78f6c1fd07e7160d50426efbe032ed > # Parent

Re: [PATCH] store: py26 compat, don't use a dict comprehension

2016-10-09 Thread Yuya Nishihara
On Sun, 09 Oct 2016 13:04:15 +0200, Martijn Pieters wrote: > # HG changeset patch > # User Martijn Pieters > # Date 1476010702 -7200 > # Sun Oct 09 12:58:22 2016 +0200 > # Node ID b49b0430810e1c398d05835dcebd21edf7596639 > # Parent 74cd33c9be76c11ba42ba5f2448dcf90419866ba

Re: [PATCH 3 of 3 v2] dispatch: make hg --profile wrap reposetup

2016-09-21 Thread Yuya Nishihara
On Tue, 20 Sep 2016 18:30:49 +, Arun Kulshreshtha wrote: > On 9/20/16, 6:01 AM, "Yuya Nishihara" <you...@gmail.com on behalf of > y...@tcha.org> wrote: > > On Mon, 19 Sep 2016 16:13:58 -0700, Arun Kulshreshtha wrote: > > # HG changeset patch >

Re: [PATCH 5 of 5] demandimport: reject contextlib._GeneratorContextManager on Py < 3.2

2016-09-21 Thread Yuya Nishihara
On Wed, 21 Sep 2016 03:59:35 +, timeless wrote: > # HG changeset patch > # User timeless > # Date 1474429683 0 > # Wed Sep 21 03:48:03 2016 + > # Node ID e07c3d398573f74a2e382deb06462bdc15ed437f > # Parent 894cc47eb82a85d167f5717c9fe0a31392e5bb97 > # Available

Re: [PATCH 1 of 3 v2] profiling: allow nested usage of maybeprofile

2016-09-21 Thread Yuya Nishihara
On Tue, 20 Sep 2016 21:49:26 +0900, Yuya Nishihara wrote: > On Mon, 19 Sep 2016 16:13:56 -0700, Arun Kulshreshtha wrote: > > # HG changeset patch > > # User Arun Kulshreshtha <kulsh...@fb.com> > > # Date 1474324901 25200 > > # Mon Sep 19

Re: [PATCH] py3: handle os.environ() and os.environb() case

2016-09-23 Thread Yuya Nishihara
On Fri, 23 Sep 2016 12:23:36 +0530, Pulkit Goyal wrote: > # HG changeset patch > # User Pulkit Goyal <7895pul...@gmail.com> > # Date 1474613335 -19800 > # Fri Sep 23 12:18:55 2016 +0530 > # Node ID 73e8bbaae1e350f6aa7b621cf29fcaba5d6508b5 > # Parent 85bd31515225e7fdf9bd88edde054db2c74a33f8 >

Re: [PATCH 2 of 2 v4] dispatch: make hg --profile wrap reposetup

2016-09-23 Thread Yuya Nishihara
On Thu, 22 Sep 2016 12:45:26 -0700, Arun Kulshreshtha wrote: > # HG changeset patch > # User Arun Kulshreshtha > # Date 1474572990 25200 > # Thu Sep 22 12:36:30 2016 -0700 > # Node ID 921577f5e9bfc3c059a8eb357796736f9edbdcd0 > # Parent

Re: [PATCH 1 of 2 v4] dispatch: change indentation level in _dispatch()

2016-09-23 Thread Yuya Nishihara
On Thu, 22 Sep 2016 12:45:25 -0700, Arun Kulshreshtha wrote: > # HG changeset patch > # User Arun Kulshreshtha > # Date 1474571988 25200 > # Thu Sep 22 12:19:48 2016 -0700 > # Node ID 75b224273359ed924528491efb88c612f3caa4ca > # Parent

Re: [PATCH 1 of 3 v2] profiling: allow nested usage of maybeprofile

2016-09-21 Thread Yuya Nishihara
On Wed, 21 Sep 2016 18:07:57 +, Arun Kulshreshtha wrote: > On 9/21/16, 7:41 AM, "Yuya Nishihara" <y...@tcha.org> wrote: > > maybeprofile() can be called in threads. If we need to prevent nesting, > we'll > > have to save the flag in TLS. > &g

[PATCH 2 of 2] log: drop outdated optimization to walk revisions in reverse order

2016-09-22 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1474545564 -32400 # Thu Sep 22 20:59:24 2016 +0900 # Node ID ffd93984937821bf449e2596acdb15a2c4ee88af # Parent 63cfb37603c39abe9e7ef58462c39dd1bb83c2df log: drop outdated optimization to walk revisions in reverse order

[PATCH 1 of 2] graphlog: preserve topo sort even if additional filter options specified

2016-09-22 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1474545233 -32400 # Thu Sep 22 20:53:53 2016 +0900 # Node ID 63cfb37603c39abe9e7ef58462c39dd1bb83c2df # Parent 5271ae66615207f39cc41d78f4541bc6f8ca6ff6 graphlog: preserve topo sort even if additional filter options spe

Re: [PATCH 1 of 3 v2] profiling: allow nested usage of maybeprofile

2016-09-22 Thread Yuya Nishihara
On Thu, 22 Sep 2016 09:04:40 +, Arun Kulshreshtha wrote: > On 9/21/16, 8:51 PM, "Yuya Nishihara" <you...@gmail.com on behalf of > y...@tcha.org> wrote: > Perhaps we can move both maybeprofile() calls to _dispatch() without > thinking > ab

Re: [PATCH 1 of 3 v2] profiling: allow nested usage of maybeprofile

2016-09-20 Thread Yuya Nishihara
On Mon, 19 Sep 2016 16:13:56 -0700, Arun Kulshreshtha wrote: > # HG changeset patch > # User Arun Kulshreshtha > # Date 1474324901 25200 > # Mon Sep 19 15:41:41 2016 -0700 > # Node ID 679c90104cc1fc92099ede6bd359f6ab5b10640d > # Parent

Re: [PATCH 2 of 2] commands: add template support for config

2016-09-20 Thread Yuya Nishihara
On Mon, 19 Sep 2016 09:14:42 -0500, Mathias De Maré wrote: > # HG changeset patch > # User Mathias De Maré > # Date 1472447235 -7200 > # Mon Aug 29 07:07:15 2016 +0200 > # Node ID c037f0fbd6374b5855373a82056015289910fe69 > # Parent

Re: [PATCH 1 of 2] formatter: introduce isplain() to replace (the inverse of) __nonzero__()

2016-09-20 Thread Yuya Nishihara
On Mon, 19 Sep 2016 09:14:41 -0500, Mathias De Maré wrote: > # HG changeset patch > # User Mathias De Maré > # Date 1472483949 -7200 > # Mon Aug 29 17:19:09 2016 +0200 > # Node ID 084ca55ce77a5fe77bc93db26346cc71211a0070 > # Parent

Re: [PATCH 3 of 4] strip: clarify that user action is required to recover temp bundle

2016-09-20 Thread Yuya Nishihara
On Mon, 19 Sep 2016 10:30:23 -0700, Martin von Zweigbergk via Mercurial-devel wrote: > # HG changeset patch > # User Martin von Zweigbergk > # Date 1474301672 25200 > # Mon Sep 19 09:14:32 2016 -0700 > # Node ID 00910394ea13a94631ea1ba35bedb954e18451dc > # Parent

Re: [PATCH] py3: have an utility function to return string

2016-09-16 Thread Yuya Nishihara
On Thu, 15 Sep 2016 23:59:59 +0530, Pulkit Goyal wrote: > On Thu, Sep 15, 2016 at 7:06 PM, Yuya Nishihara <y...@tcha.org> wrote: > > On Wed, 14 Sep 2016 22:45:27 +0530, Pulkit Goyal wrote: > >> # HG changeset patch > >> # User Pulkit Goyal <7895pul...@gmai

Re: [PATCH 1 of 3 v4] flags: allow specifying --no-boolean-flag on the command line (BC)

2016-09-17 Thread Yuya Nishihara
On Fri, 16 Sep 2016 11:15:01 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1473821877 14400 > # Tue Sep 13 22:57:57 2016 -0400 > # Node ID cb57a762749f29065635d0480bf5c87c644ba0c5 > # Parent 285a8c3e53f2183438f0cdbc238e4ab851d0d110 >

Re: [PATCH 2 of 3 v4] diffopts: notice a negated boolean flag in diffopts

2016-09-17 Thread Yuya Nishihara
On Fri, 16 Sep 2016 11:15:02 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1472586907 14400 > # Tue Aug 30 15:55:07 2016 -0400 > # Node ID aea18fa52d954e234fdfd1d24d3f37f0cb03dc60 > # Parent cb57a762749f29065635d0480bf5c87c644ba0c5 >

Re: [PATCH 2 of 2] log: drop hack to fix order of revset (issue5100)

2016-09-17 Thread Yuya Nishihara
On Sat, 17 Sep 2016 19:17:40 +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara <y...@tcha.org> > # Date 1462253040 -32400 > # Tue May 03 14:24:00 2016 +0900 > # Node ID f99625523f84eaaedf48897322d5c9f6dce64bd9 > # Parent 961b53cbadd0e17b

Re: [PATCH 3 of 5] outgoing: add a 'missingroots' argument

2016-08-18 Thread Yuya Nishihara
On Wed, 17 Aug 2016 20:16:18 -0700, Gregory Szorc wrote: > On Tue, Aug 16, 2016 at 5:37 PM, Pierre-Yves David < > pierre-yves.da...@ens-lyon.org> wrote: > > On 08/14/2016 06:07 PM, Gregory Szorc wrote: > >> On Thu, Aug 11, 2016 at 1:06 PM, Pierre-Yves David > >>

[PATCH 1 of 2 V2] py3: have check-py3-compat require pygments to get stable result

2016-08-18 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1471434770 -32400 # Wed Aug 17 20:52:50 2016 +0900 # Node ID 2d43c878f4c42bf973742cc1cfa4c869250be4cf # Parent dab7069fc2bd079064d8d71b4b962d327abfd8c1 py3: have check-py3-compat require pygments to get stable result

Re: [PATCH] py3: handle os.environ.get() case in module loader

2016-08-18 Thread Yuya Nishihara
On Wed, 17 Aug 2016 10:46:01 -0700, Siddharth Agarwal wrote: > On 8/17/16 10:21, Gregory Szorc wrote: > > WindowsUTF8Plan has existed for years without any movement. Addressing > > that will require a massive refactor. Since it isn't on our radar, I > > think it is out of scope for Python 3

Re: [PATCH] hgweb: add inheritance support to style maps

2016-08-18 Thread Yuya Nishihara
On Thu, 18 Aug 2016 11:52:11 +0800, Anton Shestakov wrote: > 18.08.2016, 03:32, "Matt Mackall" : > > # HG changeset patch > > # User Matt Mackall > > # Date 1471459227 18000 > > # Wed Aug 17 13:40:27 2016 -0500 > > # Node ID

[PATCH] killdaemons: prevent killing all user processes by bad pid file

2016-08-18 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1471513428 -32400 # Thu Aug 18 18:43:48 2016 +0900 # Node ID 1650ada9f2a157ef12c5177ae360eb6398244d02 # Parent 8d226db31f20b8c4a2c119e10be7533948f0bad6 killdaemons: prevent killing all user processes by bad pid file

Re: [PATCH rfc] manifest: write a more efficient version of lazymanifest, in pure python

2016-08-27 Thread Yuya Nishihara
On Fri, 26 Aug 2016 16:57:25 -0700, Sean Farley wrote: > Matt Mackall writes: > > On Wed, 2016-08-24 at 23:55 -0400, Augie Fackler wrote: > >> > On Aug 20, 2016, at 5:02 PM, Maciej Fijalkowski wrote: > >> > * current version does not support 21 or 22 long

Re: [PATCH 2 of 3] test-gpg: start gpg-agent under control of the test runner

2016-08-27 Thread Yuya Nishihara
On Sat, 27 Aug 2016 14:17:28 -0700, Danek Duvall wrote: > Yuya Nishihara wrote: > > # HG changeset patch > > # User Yuya Nishihara <y...@tcha.org> > > # Date 1471161693 -32400 > > # Sun Aug 14 17:01:33 2016 +0900 > > # Node ID 20ffcea3fc24f0

Re: [PATCH 1 of 2 RFC V2] templates: add support for dict in _jsonifyobj

2016-08-26 Thread Yuya Nishihara
On Fri, 26 Aug 2016 09:56:51 +0200, liscju wrote: > # HG changeset patch > # User liscju > # Date 1468310536 -7200 > # Tue Jul 12 10:02:16 2016 +0200 > # Node ID be0a41929f01e4fc9e439a3c39986b94d878a251 > # Parent b1809f5d7630a3fff0fa715bbd30dba0f07672a8 >

Re: [PATCH] localrepo: actually invalidate dirstate on invalidatedirstate()

2016-08-26 Thread Yuya Nishihara
On Fri, 26 Aug 2016 08:31:09 -0700, Mateusz Kwapich wrote: > # HG changeset patch > # User Mateusz Kwapich > # Date 1472225341 25200 > # Fri Aug 26 08:29:01 2016 -0700 > # Node ID 430e8c2cc229e0fbed231370c36cc2a215ecb30e > # Parent 318e2b600b80e4ed3c6f37df46ec7544f60d4c0b

Re: [PATCH V3] util: move checknlink away from the dependency of a hard-coded filename

2016-08-26 Thread Yuya Nishihara
On Thu, 25 Aug 2016 11:11:34 -0700, tt...@fb.com wrote: > # HG changeset patch > # User Tony Tung > # Date 1472148645 25200 > # Thu Aug 25 11:10:45 2016 -0700 > # Node ID 625f3bb4833b47c4d35754fced91f37b077f7866 > # Parent 2efc5a05d80a6d4253767f2ce0c2fb062ba83cb6 > util:

Re: [PATCH] dirstate: rebuild should update dirstate properly

2016-08-28 Thread Yuya Nishihara
On Wed, 24 Aug 2016 12:09:18 -0700, Mateusz Kwapich wrote: > # HG changeset patch > # User Mateusz Kwapich > # Date 1472065656 25200 > # Wed Aug 24 12:07:36 2016 -0700 > # Node ID a29e5e93a814268490afd617aebce2f79bd4a75b > # Parent a19f569214c76d99b0df4c4844f2ab34c9f8cfc6

Re: [PATCH 1 of 2] histedit: report progress from verifyactions (issue5341)

2016-08-28 Thread Yuya Nishihara
On Wed, 24 Aug 2016 17:31:18 +, timeless wrote: > # HG changeset patch > # User timeless > # Date 1472058828 0 > # Wed Aug 24 17:13:48 2016 + > # Node ID 7b0afc5eacdc0662ed0fcde8eb58c8e599a7f695 > # Parent b1809f5d7630a3fff0fa715bbd30dba0f07672a8 > # Available

Re: [PATCH 2 of 2] histedit: report planning progress from initialization

2016-08-28 Thread Yuya Nishihara
On Wed, 24 Aug 2016 17:31:19 +, timeless wrote: > # HG changeset patch > # User timeless > # Date 1472058857 0 > # Wed Aug 24 17:14:17 2016 + > # Node ID d0ec531c3307561e18bb76b7178371e1ababcf5d > # Parent 7b0afc5eacdc0662ed0fcde8eb58c8e599a7f695 > # Available

[PATCH] test-gpg: start gpg-agent by gpg-connect-agent only if GnuPG v2.1+ detected

2016-08-29 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1472479179 -32400 # Mon Aug 29 22:59:39 2016 +0900 # Node ID eee93fb483588ed1f0ff26898e06cb3713d2afa4 # Parent b1f69dbdd76be170429185c3b0f50027f55e4f07 test-gpg: start gpg-agent by gpg-connect-agent only if GnuP

[PATCH 2 of 5] grep: factor out function that prints matched line with labels

2016-08-25 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1471496989 -32400 # Thu Aug 18 14:09:49 2016 +0900 # Node ID 8867e120a95b1f3d89c334de323c518b8be16985 # Parent b1dc2acf966186db6f82017001d6d449fec5021a grep: factor out function that prints matched line with labels Pr

[PATCH 4 of 5] grep: build list of all columns regardless of display options

2016-08-25 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1471499526 -32400 # Thu Aug 18 14:52:06 2016 +0900 # Node ID 68f772b9eee689b7d65647a96e1224e755dd26ed # Parent 9a00e4df27db537a1f9d0c2259312fd174e8a278 grep: build list of all columns regardless of display o

[PATCH 5 of 5] grep: add formatter support

2016-08-25 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1471500836 -32400 # Thu Aug 18 15:13:56 2016 +0900 # Node ID ee8d8324b0cfd94c619f81b5351b727b9f640fb7 # Parent 68f772b9eee689b7d65647a96e1224e755dd26ed grep: add formatter support Several fields are renamed to be cons

[PATCH 3 of 5] grep: build list of columns without "grep." label prefix

2016-08-25 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1471497809 -32400 # Thu Aug 18 14:23:29 2016 +0900 # Node ID 9a00e4df27db537a1f9d0c2259312fd174e8a278 # Parent 8867e120a95b1f3d89c334de323c518b8be16985 grep: build list of columns without "grep." label

Re: [PATCH] blackbox: also log alias expansions

2016-08-24 Thread Yuya Nishihara
On Tue, 23 Aug 2016 16:53:47 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1471984808 14400 > # Tue Aug 23 16:40:08 2016 -0400 > # Node ID b3c025f053ec7573bea30e8b9482d7e2c57caf7b > # Parent 92ac2baaea86dbba8565c359206fb97d39ec6e63 >

Re: [PATCH V1] util: move checknlink away from the dependency of a hard-coded filename

2016-08-24 Thread Yuya Nishihara
On Tue, 23 Aug 2016 10:39:29 -0700, tt...@fb.com wrote: > # HG changeset patch > # User Tony Tung > # Date 1471973931 25200 > # Tue Aug 23 10:38:51 2016 -0700 > # Node ID 800bdaf50847ed85c913d8d8701d7c6738ee082c > # Parent 2efc5a05d80a6d4253767f2ce0c2fb062ba83cb6 > util:

[PATCH 1 of 3] demandimport: add '_ctypes.pointer' to ignore list on PyPy

2016-09-27 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1474983360 -32400 # Tue Sep 27 22:36:00 2016 +0900 # Node ID 082f29026f21f6bae4615adbeb6a963eaf7029ea # Parent e83f89d3b1f733d0ee5f23f6a2293279a17fbbfb demandimport: add '_ctypes.pointer' to ignore list on PyPy The p

[PATCH 2 of 3] demandimport: add 'nt' to ignore list (issue5373)

2016-09-27 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1474980960 -32400 # Tue Sep 27 21:56:00 2016 +0900 # Node ID 4a8f4b4339238e71ef27a737bb9af2d8b4adb665 # Parent 082f29026f21f6bae4615adbeb6a963eaf7029ea demandimport: add 'nt' to ignore list (issue5373) pathlib2

Re: [PATCH] py3: handle os.environ case

2016-09-28 Thread Yuya Nishihara
On Wed, 28 Sep 2016 17:01:29 +0530, Pulkit Goyal wrote: > # HG changeset patch > # User Pulkit Goyal <7895pul...@gmail.com> > # Date 1475062024 -19800 > # Wed Sep 28 16:57:04 2016 +0530 > # Node ID cc742296eaad5b54c81003b691897087c4a5d8fe > # Parent 85bd31515225e7fdf9bd88edde054db2c74a33f8 >

Re: [PATCH] hg: set default path correctly when doing a clone+share (issue5378)

2016-10-03 Thread Yuya Nishihara
On Sun, 02 Oct 2016 22:39:02 -0700, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1475472880 25200 > # Sun Oct 02 22:34:40 2016 -0700 > # Node ID 5333771304e905cecc8b35c4c137d407fc49eb92 > # Parent

Re: [PATCH 1 of 2 v9] graft: support grafting across move/copy (issue4028)

2016-10-03 Thread Yuya Nishihara
On Mon, 3 Oct 2016 10:28:37 +, Gábor STEFANIK wrote: > > > +_c1 = c1.p1() if c1.rev() is None else c1 > > > +_c2 = c2.p1() if c2.rev() is None else c2 > > > +dirty_c1 = not (ca == _c1 or ca.descendant(_c1)) > > > +dirty_c2 = not (ca == _c2 or ca.descendant(_c2)) > > > +

Re: [PATCH 3 of 3 RFC] chgserve: preimport enabled extensions

2016-10-03 Thread Yuya Nishihara
On Mon, 3 Oct 2016 07:11:20 +0100, Jun Wu wrote: > # HG changeset patch > # User Jun Wu > # Date 1475463449 -3600 > # Mon Oct 03 03:57:29 2016 +0100 > # Node ID 6f38a7d259add12c44040535681c4b3ceef0a791 > # Parent 7d106c3386e17746c9b49ab9c788535634b3e8f6 > # Available At

Re: [PATCH 3 of 3 RFC] chgserve: preimport enabled extensions

2016-10-03 Thread Yuya Nishihara
On Mon, 3 Oct 2016 15:39:24 +0100, Jun Wu wrote: > Excerpts from Yuya Nishihara's message of 2016-10-03 21:59:02 +0900: > > Regarding this, I was thinking about 'extensions.:enabled' syntax so > > users (or sysadmins) can define a set of conditionally-enabled extensions > > globally. > > > >

[PATCH] merge: update doc of manifestmerge() per 18c2184c27dc

2016-10-03 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1475397092 -32400 # Sun Oct 02 17:31:32 2016 +0900 # Node ID 1fcc4a460a7e86aea018e06e776048e149b36f78 # Parent cd7276f7ea8308df2c5d8874d335d73247d0f357 merge: update doc of manifestmerge() per 18c2184c27dc p1 was r

Re: [PATCH 1 of 2 v9] graft: support grafting across move/copy (issue4028)

2016-10-02 Thread Yuya Nishihara
On Fri, 16 Sep 2016 15:45:18 -0500, Gábor Stefanik wrote: > # HG changeset patch > # User Gábor Stefanik > # Date 1474058125 -7200 > # Fri Sep 16 22:35:25 2016 +0200 > # Node ID 63a2ea1bc3aa51caaf22bdfe31e7ae685ac3894f > # Parent

Re: [PATCH 1 of 5] extdata: add extdatasource reader

2016-09-25 Thread Yuya Nishihara
On Sat, 24 Sep 2016 17:34:20 -0500, Matt Mackall wrote: > On Sat, 2016-09-24 at 10:17 +0900, Yuya Nishihara wrote: > > On Thu, 22 Sep 2016 13:21:35 -0500, Matt Mackall wrote: > > > > > > # HG changeset patch > > > # User Matt Mackall <m...@sel

Re: [PATCH 3 of 3 v3] demandimport: reject contextlib._GeneratorContextManager on Py < 3.2

2016-09-26 Thread Yuya Nishihara
On Wed, 21 Sep 2016 19:09:34 +, timeless wrote: > # HG changeset patch > # User timeless > # Date 1474429683 0 > # Wed Sep 21 03:48:03 2016 + > # Node ID 0070696439eab002f6dd32bcb40eb671daff800a > # Parent adb54fd7d90f0ca607432ed7ae884da55ec427de > # Available

Re: [PATCH 1 of 3 v3] demandimport: suppport rejecting modules based on requested properties

2016-09-26 Thread Yuya Nishihara
On Wed, 21 Sep 2016 19:09:32 +, timeless wrote: > # HG changeset patch > # User timeless > # Date 1474484347 0 > # Wed Sep 21 18:59:07 2016 + > # Node ID 33884775ee4b22109085387b0317aa17db73c483 > # Parent 982fe7cdb28bb263a96b1bc2c9c3b8aedb025ab6 > # Available

[PATCH 1 of 2] revset: extract function that creates range set from computed revisions

2016-10-01 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1475320308 -32400 # Sat Oct 01 20:11:48 2016 +0900 # Node ID 95ec9f99f4dc075caa28ca71580e913b35855d84 # Parent 3f4e1c033f40aaa8111de9b8212f05e8e09590aa revset: extract function that creates range set from computed rev

Re: [PATCH] py3: have an utility function to return string

2016-10-01 Thread Yuya Nishihara
On Sun, 2 Oct 2016 06:36:35 +0530, Pulkit Goyal wrote: > Is encoding.encoding public or private. Can I convert it to unicode? No. It's read/written freely. We could cache a unicode variant internally if that matters, but we would need a setter function to invalidate the cache. % grep

Re: [PATCH 6 of 8] bisect: factor commonly update sequence

2016-10-09 Thread Yuya Nishihara
On Mon, 10 Oct 2016 04:32:30 +0200, Pierre-Yves David wrote: > On 10/09/2016 10:40 PM, Yuya Nishihara wrote: > > On Sun, 09 Oct 2016 10:57:40 +0200, Pierre-Yves David wrote: > >> # HG changeset patch > >> # User Pierre-Yves David <pierre-yves.da...@ens-lyon.org

Re: [PATCH V2] py3: test to check which commands run

2016-10-09 Thread Yuya Nishihara
On Sun, 09 Oct 2016 18:35:57 +0200, Pulkit Goyal wrote: > # HG changeset patch > # User Pulkit Goyal <7895pul...@gmail.com> > # Date 1476014360 -7200 > # Sun Oct 09 13:59:20 2016 +0200 > # Node ID b2b8c1575415ec60a65833f17730c7f77dbe9f60 > # Parent 3ce847adae982625abac548017e43da189eb5e71 >

Re: [PATCH 08 of 11 py3] ui: explicitly open config files in binary mode

2016-10-10 Thread Yuya Nishihara
On Sun, 09 Oct 2016 10:16:50 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1476019069 14400 > # Sun Oct 09 09:17:49 2016 -0400 > # Node ID 2f926a3f2409af24260f826ca1823c564ffea03e > # Parent f2359d649c2164ba5efb3c202850064c7d777848 >

Re: [PATCH 03 of 11 py3] basestring: introduce an alias for this type in pycompat

2016-10-10 Thread Yuya Nishihara
On Sun, 09 Oct 2016 10:16:45 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1476020808 14400 > # Sun Oct 09 09:46:48 2016 -0400 > # Node ID b5f982c40f6721ab2db8ddcfe1b4f8df44ab25a2 > # Parent 826ebebef37bd58fea9abdd4690ea7b5ad6b7552 >

Re: [PATCH 10 of 11 py3] config: mark parser regexes as bytes explicitly

2016-10-10 Thread Yuya Nishihara
On Sun, 09 Oct 2016 10:16:52 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1476019539 14400 > # Sun Oct 09 09:25:39 2016 -0400 > # Node ID e89f400277d564c4a576ad8e4a6003a201993639 > # Parent f3b993e256a8aeba26d2f927da9cf4428f7f1585 >

Re: [PATCH 8 of 8] bisect: extra a small initialisation outside of a loop

2016-10-10 Thread Yuya Nishihara
On Mon, 10 Oct 2016 16:41:13 +0200, Pierre-Yves David wrote: > On 10/09/2016 10:41 PM, Yuya Nishihara wrote: > > On Sun, 09 Oct 2016 10:57:42 +0200, Pierre-Yves David wrote: > >> # HG changeset patch > >> # User Pierre-Yves David <pierre-yves.da...@ens-lyon.org

Re: [PATCH 1 of 2 V2] py3: namedtuple takes unicode (journal ext)

2016-10-10 Thread Yuya Nishihara
On Mon, 10 Oct 2016 05:44:10 -0700, Mateusz Kwapich wrote: > # HG changeset patch > # User Mateusz Kwapich > # Date 1476102614 25200 > # Mon Oct 10 05:30:14 2016 -0700 > # Node ID aeda1ae1dab23ba648806a632d86b49d802c84c0 > # Parent 8d079c0594b35dfbf57baf8d83fde686a946920a

Re: [PATCH 3 of 3 STABLE V2] changectx: do not include hidden revisions on short node lookup (issue4964)

2016-10-26 Thread Yuya Nishihara
On Tue, 25 Oct 2016 23:17:14 +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara <y...@tcha.org> > # Date 1477199774 -32400 > # Sun Oct 23 14:16:14 2016 +0900 > # Branch stable > # Node ID 242b7a856495179795ee5662f29

[PATCH STABLE V2] tests: run "cwd was removed" test only if cwd can actually be removed

2016-10-27 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1477489806 -32400 # Wed Oct 26 22:50:06 2016 +0900 # Branch stable # Node ID e405867f4c8a3f77d81ac44aeb75b7b739222c64 # Parent b9f7b0c10027764cee77f9c6d61877fcffea837f tests: run "cwd was removed" test only if

Re: [PATCH 3 of 4 STABLE] manifest: make manifestctx store the repo

2016-10-27 Thread Yuya Nishihara
On Wed, 26 Oct 2016 09:42:09 -0700, Durham Goode wrote: > On 10/26/16 5:54 AM, Yuya Nishihara wrote: > > On Tue, 25 Oct 2016 12:46:58 -0700, Durham Goode wrote: > >> On 10/22/16 1:59 AM, Yuya Nishihara wrote: > >>> On Tue, 18 Oct 2016 17:50:16 -0700, Durham Goode wrot

Re: [PATCH 1 of 4 STABLE] tests: use basic format code "%Y" instead of "%s" for test portability

2016-10-30 Thread Yuya Nishihara
On Sun, 30 Oct 2016 06:20:37 +0900, FUJIWARA Katsunori wrote: > # HG changeset patch > # User FUJIWARA Katsunori > # Date 145707 -32400 > # Sun Oct 30 06:15:07 2016 +0900 > # Branch stable > # Node ID 94ef2f00b8a498185495908aa0ff4ff1908e60c2 > # Parent

Re: [PATCH] mercurial ignores setlocale and uses ascii instead of utf8

2016-10-30 Thread Yuya Nishihara
(please CC the list) On Sat, 29 Oct 2016 21:04:14 +0300, Eugene Maslovich wrote: > There is some repo with several commits. Each commit has a description > containing unicode letters. > I'm trying to output a detailed log using mercurial as a library via Flask. > > If do this: > >

Re: [PATCH 2 of 4] profiling: use vendored statprof and upstream enhancements (BC)

2016-11-08 Thread Yuya Nishihara
On Fri, 04 Nov 2016 21:53:41 -0700, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1478317838 25200 > # Fri Nov 04 20:50:38 2016 -0700 > # Node ID 503459ea99f4b5fa4bd2827e36de2e1e8a7696f8 > # Parent

[PATCH 4 of 4] mail: do not print(), use ui.debug() instead

2016-11-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1476969631 -32400 # Thu Oct 20 22:20:31 2016 +0900 # Node ID 05cd251962e3220fff7ef22ad745b346a052a924 # Parent 2d4f257e45ea19cc71912f285a090036deeacb40 mail: do not print(), use ui.debug() instead Since print() can'

[PATCH 3 of 4] progress: obtain stderr from ui

2016-11-08 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1476969168 -32400 # Thu Oct 20 22:12:48 2016 +0900 # Node ID 2d4f257e45ea19cc71912f285a090036deeacb40 # Parent e9cec005658fc72458c49965e8c52b4b5ede0309 progress: obtain stderr from ui This will help Python 3 porting.

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

2016-11-08 Thread Yuya Nishihara
On Mon, 7 Nov 2016 20:37:14 +0530, Pulkit Goyal wrote: > On Mon, Nov 7, 2016 at 5:55 PM, Yuya Nishihara <y...@tcha.org> wrote: > > On Mon, 7 Nov 2016 00:15:21 +0530, Pulkit Goyal wrote: > >> This > >> https://www.mercurial-scm.org/pipermail/mercuri

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

2016-11-08 Thread Yuya Nishihara
On Mon, 7 Nov 2016 17:32:40 +, Jun Wu wrote: > 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

Re: [PATCH 2 of 8] py3: add os.fsdecode() as pycompat.fsdecode()

2016-11-06 Thread Yuya Nishihara
On Sun, 6 Nov 2016 04:57:40 -0500, timeless wrote: > Pulkit Goyal wrote: > > +# In Python 2, fsdecode() have a very chances to recieve bytes. So it's > > receive Fixed as: # In Python 2, fsdecode() has a very chance to receive bytes. So it's # better not to touch Python 2 part as

Re: [PATCH 2 of 8] py3: add os.fsdecode() as pycompat.fsdecode()

2016-11-05 Thread Yuya Nishihara
On Sun, 06 Nov 2016 04:46:19 +0530, Pulkit Goyal wrote: > # HG changeset patch > # User Pulkit Goyal <7895pul...@gmail.com> > # Date 1478382160 -19800 > # Sun Nov 06 03:12:40 2016 +0530 > # Node ID 972b0c0175fc402ffe8beac276b737b32ce0df0b > # Parent 2d456de3a41ab961da8ae71dfefccdc9d7febe78 >

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

2016-11-05 Thread Yuya Nishihara
On Sun, 06 Nov 2016 04:46:25 +0530, Pulkit Goyal wrote: > # HG changeset patch > # User Pulkit Goyal <7895pul...@gmail.com> > # Date 1478387186 -19800 > # Sun Nov 06 04:36:26 2016 +0530 > # Node ID b5fc4e71286dd4f6e4f38e0b9fb17f51f1e3 > # Parent 6eed3ee0df425da61d03bfe024dd082f3176ce5d >

Re: [PATCH] help: show help for disabled extensions(issue5228)

2016-11-06 Thread Yuya Nishihara
On Sun, 6 Nov 2016 04:57:03 -0500, timeless wrote: > Pulkit Goyal wrote: > > This patch does not exactly solve issue5228 but it results in a better > > If it doesn't solve the issue, should the issue be tagged in the commit > summary? I think this fix is enough to say issue5228 is solved.

Re: [PATCH 1 of 5 rfc] tests: explore some bdiff cases

2016-11-06 Thread Yuya Nishihara
On Thu, 03 Nov 2016 22:34:11 +0100, Mads Kiilerich wrote: > # HG changeset patch > # User Mads Kiilerich > # Date 1478208837 -3600 > # Thu Nov 03 22:33:57 2016 +0100 > # Node ID f6408efe0d0f4179fe6cc2b967164c1b4567f3d6 > # Parent d06c049695e6ad3219e7479c65ce98a2f123e878

Re: [PATCH V2] help: show help for disabled extensions(issue5228)

2016-11-06 Thread Yuya Nishihara
On Sun, 06 Nov 2016 09:10:18 +0530, Pulkit Goyal wrote: > # HG changeset patch > # User Pulkit Goyal <7895pul...@gmail.com> > # Date 1478395471 -19800 > # Sun Nov 06 06:54:31 2016 +0530 > # Node ID 6d27c42a7e01adcc0eabf88c623390c85c4a5943 > # Parent b5fc4e71286dd4f6e4f38e0b9fb17f51f1e3 >

[PATCH 1 of 2] py3: update test-check-py3-compat.t output

2016-11-09 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1478697351 -32400 # Wed Nov 09 22:15:51 2016 +0900 # Node ID a08b40ca7b6427d1dee9f52c34df9d16af440592 # Parent a2f2f694dce9f38363ae0c9d66e3fb3247fcd396 py3: update test-check-py3-compat.t output 4b1af1c867fa (scmutil

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

2016-11-09 Thread Yuya Nishihara
On Tue, 8 Nov 2016 15:53:39 +, Durham Goode wrote: > On 11/7/16 12:41 PM, Pierre-Yves David wrote: > > 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

Re: [PATCH 09 of 11 py3] config: open config files as binary explicitly all the time

2016-11-09 Thread Yuya Nishihara
On Sun, 09 Oct 2016 10:16:51 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1476019794 14400 > # Sun Oct 09 09:29:54 2016 -0400 > # Node ID f3b993e256a8aeba26d2f927da9cf4428f7f1585 > # Parent 2f926a3f2409af24260f826ca1823c564ffea03e >

Re: [PATCH 06 of 11 py3] util: use '\\' rather than using r'\'

2016-11-09 Thread Yuya Nishihara
On Sun, 09 Oct 2016 10:16:48 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1476018047 14400 > # Sun Oct 09 09:00:47 2016 -0400 > # Node ID 88a5fecb60831eea7c44c6d6025ee23513528501 > # Parent db2eae3cd5db193cd8922e93df2c6120ca9d7340 >

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

2016-11-09 Thread Yuya Nishihara
On Tue, 8 Nov 2016 20:05:51 +0530, Pulkit Goyal wrote: > > Can you pick out good ones? > These ones! Pushed some of them, thanks. > https://www.mercurial-scm.org/pipermail/mercurial-devel/2016-October/089096.html Already queued. >

Re: [PATCH 3 of 3] summary: add evolution "troubles" information to parents header lines

2016-11-09 Thread Yuya Nishihara
On Tue, 8 Nov 2016 15:18:52 +0100, Denis Laxalde wrote: > Yuya Nishihara a écrit : > > On Mon, 10 Oct 2016 14:33:19 +0200, Denis Laxalde wrote: > >> # HG changeset patch > >> # User Denis Laxalde <denis.laxa...@logilab.fr> > >> # Date 1475935828 -7200

[PATCH 2 of 2] py3: document why os.fsencode() can be used to get back bytes argv

2016-11-09 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1478696769 -32400 # Wed Nov 09 22:06:09 2016 +0900 # Node ID 29fff4afc30fe44c5a856b2d3092e2ac985bd60a # Parent a08b40ca7b6427d1dee9f52c34df9d16af440592 py3: document why os.fsencode() can be used to get back byte

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 <y...@tcha.org> wrote: > > On Sun, 06 Nov 2016 04:46:25 +0530, Pulkit Goyal wrote: > >> # HG changeset patch > >> # User Pulkit Goyal <7895pul...@gmai

Re: [PATCH 1 of 4 py3] error: wrap super() init call in try/except

2016-11-11 Thread Yuya Nishihara
On Thu, 10 Nov 2016 17:01:22 +, Martijn Pieters wrote: > > On 10 Nov 2016, at 13:09, Yuya Nishihara <y...@tcha.org> wrote: > > On Wed, 09 Nov 2016 11:23:38 -0500, Augie Fackler wrote: > >> # HG changeset patch > >> # User Augie Fackler <au...@g

Re: [PATCH 2 of 5 py3] windows: make posixfile specify mode as a sysstr

2016-11-11 Thread Yuya Nishihara
On Thu, 10 Nov 2016 17:10:40 -0500, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1478815650 18000 > # Thu Nov 10 17:07:30 2016 -0500 > # Node ID 7ae2625413fd48679660eeb6500b41fd2564d570 > # Parent ee65fbd6dde3b95c62708c34eec81c88a8d1fe1f >

Re: [PATCH 4 of 5 py3] config: record source file and line number as a sysstr

2016-11-11 Thread Yuya Nishihara
On Thu, 10 Nov 2016 17:10:42 -0500, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1476021520 14400 > # Sun Oct 09 09:58:40 2016 -0400 > # Node ID 61d6c1706d3246ea08a4176a5b3d286f498b8054 > # Parent 86c54d5610fc355ba0a68b51319740a1a8b4a975 >

Re: [PATCH 1 of 4 py3] error: wrap super() init call in try/except

2016-11-11 Thread Yuya Nishihara
On Fri, 11 Nov 2016 13:29:31 +, Martijn Pieters wrote: > > On 11 Nov 2016, at 12:54, Yuya Nishihara <y...@tcha.org> wrote: > > On Thu, 10 Nov 2016 17:01:22 +, Martijn Pieters wrote: > >> super(Hint, self).__init__ will find the *next class* after Hint in

Re: [PATCH 4 of 4] statprof: record samples by thread (RFC)

2016-11-11 Thread Yuya Nishihara
On Fri, 04 Nov 2016 21:53:43 -0700, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1478321340 25200 > # Fri Nov 04 21:49:00 2016 -0700 > # Node ID dab278ccedfb41d7a255c313fc426918ef27014f > # Parent

Re: [PATCH] color: show mode warning based on ui.formatted

2016-11-11 Thread Yuya Nishihara
On Thu, 10 Nov 2016 20:36:25 -0800, Sean Farley wrote: > Xidorn Quan writes: > > # HG changeset patch > > # User Xidorn Quan > > # Date 1478829965 -39600 > > # Fri Nov 11 13:06:05 2016 +1100 > > # Node ID 1ffdeb65f19e74ea211af4d9f7c9c4c1dfaa7069 > > #

[PATCH 2 of 3] hook: flush stdout before restoring stderr redirection

2016-11-10 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1478611342 -32400 # Tue Nov 08 22:22:22 2016 +0900 # Node ID 0cba9f6a152e2b175e344bae23d0ec76a0ffe59d # Parent 2d667ad51c1f2daa8ea5365709365d951f610aaa hook: flush stdout before restoring stderr redir

[PATCH 3 of 3] hook: lower inflated use of sys.__stdout__ and __stderr__

2016-11-10 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1478612505 -32400 # Tue Nov 08 22:41:45 2016 +0900 # Node ID fd6ae865d906db2103088b042c17a4b3e0672aeb # Parent 0cba9f6a152e2b175e344bae23d0ec76a0ffe59d hook: lower inflated use of sys.__stdout__ and __stderr__ The

Re: [PATCH 3 of 4 py3] config: open config files as binary explicitly all the time

2016-11-10 Thread Yuya Nishihara
On Wed, 9 Nov 2016 11:29:26 -0500, Augie Fackler wrote: > > On Nov 9, 2016, at 11:23, Augie Fackler wrote: > > # HG changeset patch > > # User Augie Fackler > > # Date 1476019794 14400 > > # Sun Oct 09 09:29:54 2016 -0400 > > # Node ID

Re: [PATCH 1 of 4 py3] error: wrap super() init call in try/except

2016-11-10 Thread Yuya Nishihara
On Wed, 09 Nov 2016 11:23:38 -0500, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1476019730 14400 > # Sun Oct 09 09:28:50 2016 -0400 > # Node ID 6f2a1367baa59f33fcbc328aea1a637658ce345e > # Parent c9313a5b8e602b6b3b9a4427e5c2f452a711dd73 >

Re: [PATCH 4 of 4 py3] config: mark parser regexes as bytes explicitly

2016-11-10 Thread Yuya Nishihara
On Wed, 09 Nov 2016 11:23:41 -0500, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1476019539 14400 > # Sun Oct 09 09:25:39 2016 -0400 > # Node ID 6eca307a01fe1331f8a754d532f89e9c488c3923 > # Parent 5f29fffcc722d8993fda4155884c1aae4469d2f3 >

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

2016-11-10 Thread Yuya Nishihara
On Wed, 9 Nov 2016 11:43:58 -0500, Augie Fackler wrote: > On Tue, Nov 08, 2016 at 09:21:19AM -0800, Martin von Zweigbergk via > Mercurial-devel wrote: > > On Mon, Nov 7, 2016 at 7:17 AM, Denis Laxalde > > wrote: > > > # HG changeset patch > > > # User Denis Laxalde

[PATCH 1 of 3] hook: do not redirect stdout/err/in to ui while running in-process hooks (BC)

2016-11-10 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara <y...@tcha.org> # Date 1476970799 -32400 # Thu Oct 20 22:39:59 2016 +0900 # Node ID 2d667ad51c1f2daa8ea5365709365d951f610aaa # Parent 954002426f7850c92b359e6f52ce1217ac33c11e hook: do not redirect stdout/err/in to ui while running in-process

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

2016-11-05 Thread Yuya Nishihara
On Fri, 04 Nov 2016 23:07:21 -0700, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1478325927 25200 > # Fri Nov 04 23:05:27 2016 -0700 > # Branch stable > # Node ID b0dc7dd87fc8b5efee6e6d8c0bcc6ddfa52d6df3 > # Parent

<    1   2   3   4   5   6   7   8   9   10   >