[PATCH] hgweb: fix the MRO in Python 3

2016-10-08 Thread Martijn Pieters
# HG changeset patch # User Martijn Pieters # Date 1475946679 -7200 # Sat Oct 08 19:11:19 2016 +0200 # Node ID 8475a954a40385035b57abe05af31308597a0b3c # Parent 2c8ec8c2ddfeb2d229b81eb5b11e3639fb34b0a0 hgweb: fix the MRO in Python 3 object should appear at the end, otherwise it tries to pre

[PATCH] util: document we want Python type mapping to be temporary

2016-10-08 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1475947010 -7200 # Sat Oct 08 19:16:50 2016 +0200 # Node ID d15d8ac73cfd2d1ddbd443262ccad9c68ee69406 # Parent 266ad9c9faa524a8b3f473c924db409681cb205e util: document we want Python type mapping to be temporary I think remapping Python C API t

Re: [PATCH] hgweb: fix the MRO in Python 3

2016-10-08 Thread Pulkit Goyal
On Sat, Oct 8, 2016 at 7:12 PM, Martijn Pieters wrote: > # HG changeset patch > # User Martijn Pieters > # Date 1475946679 -7200 > # Sat Oct 08 19:11:19 2016 +0200 > # Node ID 8475a954a40385035b57abe05af31308597a0b3c > # Parent 2c8ec8c2ddfeb2d229b81eb5b11e3639fb34b0a0 > hgweb: fix the MRO i

[PATCH 3 of 7] pathencode: convert PyString* to PyBytes*

2016-10-08 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1475956867 -7200 # Sat Oct 08 22:01:07 2016 +0200 # Node ID 5ce286c00dcefb7c432265417eb3d5d1fe368296 # Parent 921f070e83bcf78ffccac50c75ad6f8eebf2894b pathencode: convert PyString* to PyBytes* diff --git a/mercurial/pathencode.c b/mercurial/p

[PATCH 6 of 7] pathencode: use Py_SIZE directly

2016-10-08 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1475958082 -7200 # Sat Oct 08 22:21:22 2016 +0200 # Node ID 40775aad0c78f6c1fd07e7160d50426efbe032ed # Parent a33e93c20bc1290af106a0f077fece735ea05245 pathencode: use Py_SIZE directly On Python 2, PyBytes_GET_SIZE is the same as PyString_GET_

[PATCH 4 of 7] parsers: convert PyString* to PyBytes*

2016-10-08 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1475956949 -7200 # Sat Oct 08 22:02:29 2016 +0200 # Node ID a91e68ef608ec814bd853f31920fe1f75993dd40 # Parent 5ce286c00dcefb7c432265417eb3d5d1fe368296 parsers: convert PyString* to PyBytes* With this change, we no longer have any occurrences

[PATCH 2 of 7] osutil: convert PyString* to PyBytes*

2016-10-08 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1475956735 -7200 # Sat Oct 08 21:58:55 2016 +0200 # Node ID 921f070e83bcf78ffccac50c75ad6f8eebf2894b # Parent d9914b172e706be9b208e84977160cdc3b3d5266 osutil: convert PyString* to PyBytes* Continuing the conversion from PyString* to PyBytes*.

[PATCH 1 of 7] manifest: convert PyString* to PyBytes*

2016-10-08 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1475956675 -7200 # Sat Oct 08 21:57:55 2016 +0200 # Node ID d9914b172e706be9b208e84977160cdc3b3d5266 # Parent d15d8ac73cfd2d1ddbd443262ccad9c68ee69406 manifest: convert PyString* to PyBytes* Python 2.6 introduced PyBytesObject and PyBytes* as

[PATCH 5 of 7] util: remove PyString* aliases on Python 3

2016-10-08 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1475957096 -7200 # Sat Oct 08 22:04:56 2016 +0200 # Node ID a33e93c20bc1290af106a0f077fece735ea05245 # Parent a91e68ef608ec814bd853f31920fe1f75993dd40 util: remove PyString* aliases on Python 3 We no longer have any users of the legacy PyStri

[PATCH 7 of 7] parsers: use PyVarObject_HEAD_INIT

2016-10-08 Thread Gregory Szorc
# HG changeset patch # User Gregory Szorc # Date 1475959442 -7200 # Sat Oct 08 22:44:02 2016 +0200 # Node ID ad527a4c62ad35b84c4ad25d080ee427528966fa # Parent 40775aad0c78f6c1fd07e7160d50426efbe032ed parsers: use PyVarObject_HEAD_INIT The macro changed slightly in Python 3, introducing curl

Re: [PATCH] util: document we want Python type mapping to be temporary

2016-10-08 Thread Jun Wu
These look good to me. (Including related patches: util: define PyInt_Type on Python 3 parsers: return NULL from PyInit_parsers on Python 3) I think we can always iterate on Python 3 later. Excerpts from Gregory Szorc's message of 2016-10-08 19:16:54 +0200: > # HG changeset patch > # User Gre

Re: [PATCH] hgweb: fix the MRO in Python 3

2016-10-08 Thread Pierre-Yves David
On 10/08/2016 07:12 PM, Martijn Pieters wrote: # HG changeset patch # User Martijn Pieters # Date 1475946679 -7200 # Sat Oct 08 19:11:19 2016 +0200 # Node ID 8475a954a40385035b57abe05af31308597a0b3c # Parent 2c8ec8c2ddfeb2d229b81eb5b11e3639fb34b0a0 hgweb: fix the MRO in Python 3 object

Re: [PATCH] util: document we want Python type mapping to be temporary

2016-10-08 Thread Pierre-Yves David
On 10/08/2016 07:16 PM, Gregory Szorc wrote: # HG changeset patch # User Gregory Szorc # Date 1475947010 -7200 # Sat Oct 08 19:16:50 2016 +0200 # Node ID d15d8ac73cfd2d1ddbd443262ccad9c68ee69406 # Parent 266ad9c9faa524a8b3f473c924db409681cb205e util: document we want Python type mapping

Re: [PATCH] util: document we want Python type mapping to be temporary

2016-10-08 Thread Jun Wu
It should be PATCH 3 of the [PATCH 1 of 2] parsers: return NULL from PyInit_parsers on Python 3 Note: hgpatch.lihdd.net supports getting a branch across email threads, based on "Parent" information: http://hgpatch.lihdd.net/d15d8ac73cfd2d1ddbd443262ccad9c68ee69406/branch Excerpts from Pierre-Yve

Re: [PATCH] templater: add relpath() to convert repo path to relative path (issue5394)

2016-10-08 Thread Jun Wu
This looks good to me. Excerpts from Yuya Nishihara's message of 2016-10-08 19:05:16 +0200: > # HG changeset patch > # User Yuya Nishihara > # Date 1475933066 -7200 > # Sat Oct 08 15:24:26 2016 +0200 > # Node ID 83e6528647265043ed30be784e0db8fd59133230 > # Parent 2def3d55b1b9ec2acd53f96ca75

Re: [PATCH] import: abort instead of crashing when copy source does not exist (issue5375)

2016-10-08 Thread Pierre-Yves David
On 10/08/2016 07:06 PM, Mads Kiilerich wrote: On 10/08/2016 06:11 PM, Ryan McElroy wrote: # HG changeset patch # User Ryan McElroy # Date 1475929618 25200 # Sat Oct 08 05:26:58 2016 -0700 # Node ID 961569a2cbeebfd54c9369c6e36d03d4938aef38 # Parent dbcef8918bbdd8a64d9f79a37bcfa284a26f3a3

Re: [PATCH] templater: add relpath() to convert repo path to relative path (issue5394)

2016-10-08 Thread Pierre-Yves David
On 10/08/2016 11:47 PM, Jun Wu wrote: This looks good to me. Excerpts from Yuya Nishihara's message of 2016-10-08 19:05:16 +0200: # HG changeset patch # User Yuya Nishihara # Date 1475933066 -7200 # Sat Oct 08 15:24:26 2016 +0200 # Node ID 83e6528647265043ed30be784e0db8fd59133230 # Pare

Re: [PATCH] contributing: add new file with a pointer to the wiki

2016-10-08 Thread Pierre-Yves David
On 10/08/2016 04:39 PM, Augie Fackler wrote: # HG changeset patch # User Augie Fackler # Date 1475937540 14400 # Sat Oct 08 10:39:00 2016 -0400 # Node ID 7765e2cea8a778ecafe31b48362f9978bfd961d3 # Parent 87b8e40eb8125d5ddc848d972b117989346057dd contributing: add new file with a pointer t

Re: [PATCH 2 of 2] py3: make encodefun in store.py compatible with py3k

2016-10-08 Thread Yuya Nishihara
On Sat, 8 Oct 2016 08:55:46 -0700, Mateusz Kwapich wrote: > # HG changeset patch > # User Mateusz Kwapich > # Date 1475942045 25200 > # Sat Oct 08 08:54:05 2016 -0700 > # Node ID 086b25d1866e33fb7ebbe6c51522e6b573e281e2 > # Parent 225efa4bf7f497e55f0ba57f64a33dce39eaeb29 > py3: make encodefu

Re: [PATCH v3] mail: take --encoding and HGENCODING into account

2016-10-08 Thread Yuya Nishihara
On Sat, 08 Oct 2016 05:48:32 -0500, Gábor Stefanik wrote: > # HG changeset patch > # User Gábor Stefanik > # Date 1475667922 -7200 > # Wed Oct 05 13:45:22 2016 +0200 > # Node ID d7125caa00dcc6036d3d5aee3e4d524211b95e02 > # Parent dbcef8918bbdd8a64d9f79a37bcfa284a26f3a39 > mail: take --encodi

Re: [PATCH 3 of 3 v3] util: ensure forwarded attrs are set in globals() as sysstr

2016-10-08 Thread Yuya Nishihara
On Sat, 08 Oct 2016 11:10:09 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1475930199 14400 > # Sat Oct 08 08:36:39 2016 -0400 > # Node ID fb12c11bfe23af38dfb55c721d28a7bfded8c2ed > # Parent 1c7199563d7d8f400f907c63c133d7414ae1f684 > util: ensure forwarde

Re: [PATCH v2] template: provide a termwidth keyword (issue5395)

2016-10-08 Thread Yuya Nishihara
On Sat, 8 Oct 2016 02:32:00 -0700, Simon Farnsworth wrote: > # HG changeset patch > # User Simon Farnsworth > # Date 1475918808 25200 > # Sat Oct 08 02:26:48 2016 -0700 > # Node ID 4c76c4023f440ee2fefe2b632a99869cd657ff90 > # Parent 91a3c58ecf938ed675f5364b88f0d663f12b0047 > template: provid

Re: [PATCH] util: document we want Python type mapping to be temporary

2016-10-08 Thread Yuya Nishihara
On Sat, 08 Oct 2016 19:16:54 +0200, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1475947010 -7200 > # Sat Oct 08 19:16:50 2016 +0200 > # Node ID d15d8ac73cfd2d1ddbd443262ccad9c68ee69406 > # Parent 266ad9c9faa524a8b3f473c924db409681cb205e > util: document we wan

Re: [PATCH 1 of 2] parsers: return NULL from PyInit_parsers on Python 3

2016-10-08 Thread Yuya Nishihara
On Sat, 08 Oct 2016 19:09:17 +0200, Gregory Szorc wrote: > # HG changeset patch > # User Gregory Szorc > # Date 1475941889 -7200 > # Sat Oct 08 17:51:29 2016 +0200 > # Node ID 66c3f600e684f2323ac56c16eba6a57930f8919e > # Parent f98e32b5c44fafb85bee108abe2a24595e59ddbc > parsers: return NULL

<    1   2