[PATCH 5 of 6 py3] py3: rewrite stdout hack of doctest by using ui.pushbuffer()

2017-09-16 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1505619554 -32400 # Sun Sep 17 12:39:14 2017 +0900 # Node ID 98d8cb8a7e43cb9500eef73ae3ff75308950f778 # Parent 50be8fba5378fe303aa978f16888d0d423715a3e py3: rewrite stdout hack of doctest by using ui.pushbuffer() We can't use

[PATCH 6 of 6 py3] py3: convert system strings to bytes in doctest of formatter.py

2017-09-16 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1505619593 -32400 # Sun Sep 17 12:39:53 2017 +0900 # Node ID bb791130d27bbb7f0fa2acbd39feec268997d362 # Parent 98d8cb8a7e43cb9500eef73ae3ff75308950f778 py3: convert system strings to bytes in doctest of formatter.py diff

[PATCH 3 of 6 py3] py3: fix doctests in patch.py to be compatible with Python 3

2017-09-16 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1505618596 -32400 # Sun Sep 17 12:23:16 2017 +0900 # Node ID 32d2d4b802c30774e37a7c76ff4157ff369910aa # Parent 32586281847e0c04512b3ace89315b69f0ac5b80 py3: fix doctests in patch.py to be compatible with Python 3 We were

[PATCH 4 of 6 py3] py3: use bytes os.sep in doctest of pathutil.py

2017-09-16 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1505618802 -32400 # Sun Sep 17 12:26:42 2017 +0900 # Node ID 50be8fba5378fe303aa978f16888d0d423715a3e # Parent 32d2d4b802c30774e37a7c76ff4157ff369910aa py3: use bytes os.sep in doctest of pathutil.py diff --git

[PATCH 2 of 6 py3] py3: stop using bytes[n] in patch.py

2017-09-16 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1505618435 -32400 # Sun Sep 17 12:20:35 2017 +0900 # Node ID 32586281847e0c04512b3ace89315b69f0ac5b80 # Parent 2a70a351319def181dfc102f8577a1f006abf970 py3: stop using bytes[n] in patch.py diff --git a/mercurial/patch.py

[PATCH 1 of 6 py3] error: move patch.PatchError so it can easily implement __bytes__ (API)

2017-09-16 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1504424733 -32400 # Sun Sep 03 16:45:33 2017 +0900 # Node ID 2a70a351319def181dfc102f8577a1f006abf970 # Parent 448725a2ef7356524bcc9638a5c5eaaf59f263af error: move patch.PatchError so it can easily implement __bytes__ (API)

Re: [PATCH 3 of 3 py3] repair: reliably obtain bytestr of node ids

2017-09-16 Thread Yuya Nishihara
On Sat, 16 Sep 2017 11:09:48 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1503451354 14400 > # Tue Aug 22 21:22:34 2017 -0400 > # Node ID 466f6bf4dd4f8902eae3279c8100de320cae7145 > # Parent 5b03ae7d026bb4d14e3a8aaa391654987f8169c7 >

D724: templater: extract shortest() logic from template function

2017-09-16 Thread quark (Jun Wu)
quark added a comment. Oops. What I originally thought was `shortest` may have alternative implementation if the changelog is not backed by revlog (in the far far future). So it feels the current implementation (using revlog's partialmatch) belongs to revlog itself. REPOSITORY rHG

mercurial@34192: new changeset

2017-09-16 Thread Mercurial Commits
New changeset in mercurial: https://www.mercurial-scm.org/repo/hg/rev/da2f5f19312c changeset: 34192:da2f5f19312c bookmark:@ tag: tip user:Pulkit Goyal <7895pul...@gmail.com> date:Thu Aug 24 22:55:56 2017 +0530 summary: uncommit: move fb-extension to core which

D724: templater: extract shortest() logic from template function

2017-09-16 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG9a137d15d146: templater: extract shortest() logic from template function (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D724: templater: extract shortest() logic from template function

2017-09-16 Thread yuja (Yuya Nishihara)
yuja accepted this revision. yuja added a comment. This revision is now accepted and ready to land. Queued, thanks. I slightly prefer moving shortest() to scmutil as it seems not a core function of revlog, but that's just my preference. REPOSITORY rHG Mercurial REVISION DETAIL

Re: [PATCH 1 of 8 py3] bundle2: raise a more helpful error if building a bundle part header fails

2017-09-16 Thread Yuya Nishihara
On Sat, 16 Sep 2017 11:08:07 -0400, Augie Fackler wrote: > > > On Sep 16, 2017, at 7:54 AM, Yuya Nishihara wrote: > > > > On Fri, 15 Sep 2017 19:14:04 -0400, Augie Fackler wrote: > >> # HG changeset patch > >> # User Augie Fackler > >> # Date 1505515049 14400 >

Re: [PATCH 23 of 23] hgwebdir: read 'web.template' untrusted

2017-09-16 Thread Gregory Szorc
> On Sep 16, 2017, at 14:28, Augie Fackler wrote: > > >> On Sep 16, 2017, at 4:42 PM, Gregory Szorc wrote: >> >>> On Sat, Sep 16, 2017 at 11:28 AM, Boris Feld wrote: >>> # HG changeset patch >>> # User Boris Feld

Re: [PATCH 01 of 23] web: use '_unset' default value for proxy config method

2017-09-16 Thread Augie Fackler
> On Sep 16, 2017, at 2:28 PM, Boris Feld wrote: > > # HG changeset patch > # User Boris Feld > # Date 1505496068 -7200 > # ven. sept. 15 19:21:08 2017 +0200 > # Node ID 8f9210de17d825ec69c4cdb266398b941a088275 > # Parent

Re: [PATCH 23 of 23] hgwebdir: read 'web.template' untrusted

2017-09-16 Thread Augie Fackler
> On Sep 16, 2017, at 4:42 PM, Gregory Szorc wrote: > > On Sat, Sep 16, 2017 at 11:28 AM, Boris Feld > wrote: > # HG changeset patch > # User Boris Feld > >

mercurial@34191: 46 new changesets

2017-09-16 Thread Mercurial Commits
46 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/9e4f82bc2b0b changeset: 34146:9e4f82bc2b0b parent: 34142:24bf823377fc user:Mark Thomas date:Mon Sep 11 17:49:49 2017 + summary: scmutil: don't append .orig to backups in

[Bug 5680] New: hg update stack traces on Python 2.7.3

2017-09-16 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=5680 Bug ID: 5680 Summary: hg update stack traces on Python 2.7.3 Product: Mercurial Version: unspecified Hardware: PC OS: Linux Status: UNCONFIRMED Severity:

Re: [PATCH 23 of 23] hgwebdir: read 'web.template' untrusted

2017-09-16 Thread Gregory Szorc
On Sat, Sep 16, 2017 at 11:28 AM, Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1505494670 -7200 > # ven. sept. 15 18:57:50 2017 +0200 > # Node ID 57231a130210d31431b727a74d91165c7802d387 > # Parent

Re: [PATCH 13 of 23] configitems: register the 'web.description' config

2017-09-16 Thread Gregory Szorc
On Sat, Sep 16, 2017 at 11:28 AM, Boris Feld wrote: > # HG changeset patch > # User Boris Feld > # Date 1498787143 -7200 > # ven. juin 30 03:45:43 2017 +0200 > # Node ID a51b26e8d3406c73676f14127bb637cd7fde357d > # Parent

Re: [PATCH 1 of 3 py3] python3: another 3 tests whitelisted

2017-09-16 Thread Gregory Szorc
On Sat, Sep 16, 2017 at 10:29 AM, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1505575996 14400 > # Sat Sep 16 11:33:16 2017 -0400 > # Node ID 20ba461506803cda0aa521d5e61e83bc17202d10 > # Parent

[PATCH 10 of 23] configitems: register the 'web.csp' config

2017-09-16 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1498787140 -7200 # ven. juin 30 03:45:40 2017 +0200 # Node ID d456cf6065d809c15e1bc2e51f9f4c05ad733918 # Parent a32df78859db33ff2c10d7dbafe9e0d37feaf742 # EXP-Topic config.register.web configitems: register the 'web.csp'

[PATCH 18 of 23] configitems: register the 'web.prefix' config

2017-09-16 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1498787149 -7200 # ven. juin 30 03:45:49 2017 +0200 # Node ID 4372d845a3441e704ff461c6fde407f5eff55ab2 # Parent 71bc12dbd2bf981202a34f64f941949a4b3c1860 # EXP-Topic config.register.web configitems: register the

[PATCH 16 of 23] configitems: register the 'web.ipv6' config

2017-09-16 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1498787147 -7200 # ven. juin 30 03:45:47 2017 +0200 # Node ID a37307dde4e5c3d4a418b3d4c61a5bb5d3ce467c # Parent ecef7d4d61514dc6939fcd3abf810fdd01541537 # EXP-Topic config.register.web configitems: register the 'web.ipv6'

[PATCH 15 of 23] configitems: register the 'web.errorlog' config

2017-09-16 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1498787145 -7200 # ven. juin 30 03:45:45 2017 +0200 # Node ID ecef7d4d61514dc6939fcd3abf810fdd01541537 # Parent e12b1ba1555714c6d24215faf25c955c6a5dabf4 # EXP-Topic config.register.web configitems: register the

[PATCH 13 of 23] configitems: register the 'web.description' config

2017-09-16 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1498787143 -7200 # ven. juin 30 03:45:43 2017 +0200 # Node ID a51b26e8d3406c73676f14127bb637cd7fde357d # Parent b62bd50736bf55e36d167ff2a00f24ac27c61fd5 # EXP-Topic config.register.web configitems: register the

[PATCH 14 of 23] configitems: register the 'web.encoding' config

2017-09-16 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1498787144 -7200 # ven. juin 30 03:45:44 2017 +0200 # Node ID e12b1ba1555714c6d24215faf25c955c6a5dabf4 # Parent a51b26e8d3406c73676f14127bb637cd7fde357d # EXP-Topic config.register.web configitems: register the

[PATCH 06 of 23] configitems: register the 'web.baseurl' config

2017-09-16 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1498787135 -7200 # ven. juin 30 03:45:35 2017 +0200 # Node ID 676e9f05ee067e05ba8327766a57cc95a05a9566 # Parent 63c684c48014b6b717eb0de793c715d5f3c9237a # EXP-Topic config.register.web configitems: register the

[PATCH 07 of 23] configitems: register the 'web.cacerts' config

2017-09-16 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1498787136 -7200 # ven. juin 30 03:45:36 2017 +0200 # Node ID f6d70367bdb8c99b63921c7f5f8179fd168f96e9 # Parent 676e9f05ee067e05ba8327766a57cc95a05a9566 # EXP-Topic config.register.web configitems: register the

[PATCH 21 of 23] configitems: register the 'web.style' config

2017-09-16 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1498787152 -7200 # ven. juin 30 03:45:52 2017 +0200 # Node ID f797154081a8010496a369b3ed7c6eeeae1fdbd1 # Parent e9ddab0ad36f9740f14c142d30fb58ba10204f29 # EXP-Topic config.register.web configitems: register the

[PATCH 19 of 23] configitems: register the 'web.refreshinterval' config

2017-09-16 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1498787150 -7200 # ven. juin 30 03:45:50 2017 +0200 # Node ID dfa73a56a4006e91480b77ca0fbda8ba1e7a454d # Parent 4372d845a3441e704ff461c6fde407f5eff55ab2 # EXP-Topic config.register.web configitems: register the

[PATCH 22 of 23] configitems: register the 'web.templates' config

2017-09-16 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1498787153 -7200 # ven. juin 30 03:45:53 2017 +0200 # Node ID 93a8e90493a27207b281f1bcf19bdf0ae6d115ca # Parent f797154081a8010496a369b3ed7c6eeeae1fdbd1 # EXP-Topic config.register.web configitems: register the

[PATCH 23 of 23] hgwebdir: read 'web.template' untrusted

2017-09-16 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1505494670 -7200 # ven. sept. 15 18:57:50 2017 +0200 # Node ID 57231a130210d31431b727a74d91165c7802d387 # Parent 93a8e90493a27207b281f1bcf19bdf0ae6d115ca # EXP-Topic config.cleanup hgwebdir: read 'web.template' untrusted

[PATCH 20 of 23] configitems: register the 'web.stripes' config

2017-09-16 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1498787151 -7200 # ven. juin 30 03:45:51 2017 +0200 # Node ID e9ddab0ad36f9740f14c142d30fb58ba10204f29 # Parent dfa73a56a4006e91480b77ca0fbda8ba1e7a454d # EXP-Topic config.register.web configitems: register the

[PATCH 17 of 23] configitems: register the 'web.port' config

2017-09-16 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1498787148 -7200 # ven. juin 30 03:45:48 2017 +0200 # Node ID 71bc12dbd2bf981202a34f64f941949a4b3c1860 # Parent a37307dde4e5c3d4a418b3d4c61a5bb5d3ce467c # EXP-Topic config.register.web configitems: register the 'web.port'

[PATCH 12 of 23] configitems: register the 'web.descend' config

2017-09-16 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1498787142 -7200 # ven. juin 30 03:45:42 2017 +0200 # Node ID b62bd50736bf55e36d167ff2a00f24ac27c61fd5 # Parent 856c2a20b761aa54386a5af77b72e0555e730c44 # EXP-Topic config.register.web configitems: register the

[PATCH 05 of 23] configitems: register the 'web.allow_read' config

2017-09-16 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1498787134 -7200 # ven. juin 30 03:45:34 2017 +0200 # Node ID 63c684c48014b6b717eb0de793c715d5f3c9237a # Parent ae88e0abb2c00360bcfbf39ade904f4b33809774 # EXP-Topic config.register.web configitems: register the

[PATCH 08 of 23] configitems: register the 'web.certificate' config

2017-09-16 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1498787137 -7200 # ven. juin 30 03:45:37 2017 +0200 # Node ID 000c9c4ab549073fb4574b726d17bcb3b696de05 # Parent f6d70367bdb8c99b63921c7f5f8179fd168f96e9 # EXP-Topic config.register.web configitems: register the

[PATCH 11 of 23] configitems: register the 'web.deny_read' config

2017-09-16 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1498787141 -7200 # ven. juin 30 03:45:41 2017 +0200 # Node ID 856c2a20b761aa54386a5af77b72e0555e730c44 # Parent d456cf6065d809c15e1bc2e51f9f4c05ad733918 # EXP-Topic config.register.web configitems: register the

[PATCH 01 of 23] web: use '_unset' default value for proxy config method

2017-09-16 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1505496068 -7200 # ven. sept. 15 19:21:08 2017 +0200 # Node ID 8f9210de17d825ec69c4cdb266398b941a088275 # Parent 709b44f38ab919c4f858f12807b9f01f6a2ee888 # EXP-Topic config.register.web web: use '_unset' default value for

[PATCH 04 of 23] configitems: register the 'web.allow_archive' config

2017-09-16 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1498787133 -7200 # ven. juin 30 03:45:33 2017 +0200 # Node ID ae88e0abb2c00360bcfbf39ade904f4b33809774 # Parent fcbbdb9dffcf7f029f208f27e3470cd7877bc24e # EXP-Topic config.register.web configitems: register the

[PATCH 02 of 23] configitems: register the 'web.accesslog' config

2017-09-16 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1498787131 -7200 # ven. juin 30 03:45:31 2017 +0200 # Node ID e4b7a7d52664e48ccb943d0112d1c2d6d2ab124c # Parent 8f9210de17d825ec69c4cdb266398b941a088275 # EXP-Topic config.register.web configitems: register the

[PATCH 03 of 23] configitems: register the 'web.address' config

2017-09-16 Thread Boris Feld
# HG changeset patch # User Boris Feld # Date 1498787132 -7200 # ven. juin 30 03:45:32 2017 +0200 # Node ID fcbbdb9dffcf7f029f208f27e3470cd7877bc24e # Parent e4b7a7d52664e48ccb943d0112d1c2d6d2ab124c # EXP-Topic config.register.web configitems: register the

[PATCH 3 of 3 py3] tests: use int() instead of long() in test-pathencode.py

2017-09-16 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1505576885 14400 # Sat Sep 16 11:48:05 2017 -0400 # Node ID 824757c87fdb055a267368da2cf556ca99534fdc # Parent bf018e7bcc466062c9dd0e845319d269c4e85acb tests: use int() instead of long() in test-pathencode.py diff --git

[PATCH 1 of 3 py3] python3: another 3 tests whitelisted

2017-09-16 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1505575996 14400 # Sat Sep 16 11:33:16 2017 -0400 # Node ID 20ba461506803cda0aa521d5e61e83bc17202d10 # Parent 51c0a1987afb51faf004c4a97c9198f1855fff3a python3: another 3 tests whitelisted diff --git

[PATCH 2 of 3 py3] tests: add xrange alias for test-pathencode.py

2017-09-16 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1505576873 14400 # Sat Sep 16 11:47:53 2017 -0400 # Node ID bf018e7bcc466062c9dd0e845319d269c4e85acb # Parent 20ba461506803cda0aa521d5e61e83bc17202d10 tests: add xrange alias for test-pathencode.py diff --git

Re: [PATCH 1 of 3 py3] exchange: hit opargs with pycompat.strkwargs before **-ing it

2017-09-16 Thread Gregory Szorc
On Sat, Sep 16, 2017 at 8:09 AM, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1505574548 14400 > # Sat Sep 16 11:09:08 2017 -0400 > # Node ID dc9245ad5a97f90930367bbfc56ed8fc76f41e7c > # Parent

Re: [PATCH 2 of 8 py3] bundles: turn nbchanges int into a bytestr using pycompat.bytestr

2017-09-16 Thread Augie Fackler
> On Sep 16, 2017, at 7:54 AM, Yuya Nishihara wrote: > > On Fri, 15 Sep 2017 19:14:05 -0400, Augie Fackler wrote: >> # HG changeset patch >> # User Augie Fackler >> # Date 1505515116 14400 >> # Fri Sep 15 18:38:36 2017 -0400 >> # Node ID

[PATCH 1 of 3 py3] exchange: hit opargs with pycompat.strkwargs before **-ing it

2017-09-16 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1505574548 14400 # Sat Sep 16 11:09:08 2017 -0400 # Node ID dc9245ad5a97f90930367bbfc56ed8fc76f41e7c # Parent 21fc747e1bc55489fea3858e97561b6553c17f94 exchange: hit opargs with pycompat.strkwargs before **-ing it Fixes

[PATCH 2 of 3 py3] bundles: turn nbchanges int into a bytestr using pycompat.bytestr

2017-09-16 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1505515116 14400 # Fri Sep 15 18:38:36 2017 -0400 # Node ID 5b03ae7d026bb4d14e3a8aaa391654987f8169c7 # Parent dc9245ad5a97f90930367bbfc56ed8fc76f41e7c bundles: turn nbchanges int into a bytestr using pycompat.bytestr Fixes

[PATCH 3 of 3 py3] repair: reliably obtain bytestr of node ids

2017-09-16 Thread Augie Fackler
# HG changeset patch # User Augie Fackler # Date 1503451354 14400 # Tue Aug 22 21:22:34 2017 -0400 # Node ID 466f6bf4dd4f8902eae3279c8100de320cae7145 # Parent 5b03ae7d026bb4d14e3a8aaa391654987f8169c7 repair: reliably obtain bytestr of node ids diff --git

Re: [PATCH 1 of 8 py3] bundle2: raise a more helpful error if building a bundle part header fails

2017-09-16 Thread Augie Fackler
> On Sep 16, 2017, at 7:54 AM, Yuya Nishihara wrote: > > On Fri, 15 Sep 2017 19:14:04 -0400, Augie Fackler wrote: >> # HG changeset patch >> # User Augie Fackler >> # Date 1505515049 14400 >> # Fri Sep 15 18:37:29 2017 -0400 >> # Node ID

Re: [PATCH 3 of 3 py3] py3: use 'surrogatepass' error handler to process U+DCxx transparently

2017-09-16 Thread Augie Fackler
On Sat, Sep 16, 2017 at 11:32:52PM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1505570148 -32400 > # Sat Sep 16 22:55:48 2017 +0900 > # Node ID 5b12a6c1ee08f4a09d73947eee88505f46ee0856 > # Parent

Re: [PATCH 8 of 8 py3] py3: iterate bytes as a byte string in store.lowerencode()

2017-09-16 Thread Augie Fackler
On Sat, Sep 16, 2017 at 11:31:32PM +0900, Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1504427327 -32400 > # Sun Sep 03 17:28:47 2017 +0900 > # Node ID 9003f4dc016c5900d02db7a77a0d55d205cffc13 > # Parent

[PATCH 2 of 3 py3] py3: don't pass bytes to array.array()

2017-09-16 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1505569339 -32400 # Sat Sep 16 22:42:19 2017 +0900 # Node ID 320bcaa9820502e56d8b54a5b470ecc8e1fda463 # Parent 9835dada78098e86e057cf20ee0ee5ec2efe3dab py3: don't pass bytes to array.array() diff --git

[PATCH 1 of 3 py3] py3: wrap bytes in encoding.from/toutf8b() with bytestr

2017-09-16 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1504421669 -32400 # Sun Sep 03 15:54:29 2017 +0900 # Node ID 9835dada78098e86e057cf20ee0ee5ec2efe3dab # Parent 9003f4dc016c5900d02db7a77a0d55d205cffc13 py3: wrap bytes in encoding.from/toutf8b() with bytestr diff --git

[PATCH 3 of 3 py3] py3: use 'surrogatepass' error handler to process U+DCxx transparently

2017-09-16 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1505570148 -32400 # Sat Sep 16 22:55:48 2017 +0900 # Node ID 5b12a6c1ee08f4a09d73947eee88505f46ee0856 # Parent 320bcaa9820502e56d8b54a5b470ecc8e1fda463 py3: use 'surrogatepass' error handler to process U+DCxx transparently

[PATCH 7 of 8 py3] py3: use bytechr() in store._buildlowerencodefun()

2017-09-16 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1504427270 -32400 # Sun Sep 03 17:27:50 2017 +0900 # Node ID 60190b90670ddd963881437d5d262348e6002643 # Parent 1221362d1dbcff390d74307d4339d904e56fa665 py3: use bytechr() in store._buildlowerencodefun() diff --git

[PATCH 8 of 8 py3] py3: iterate bytes as a byte string in store.lowerencode()

2017-09-16 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1504427327 -32400 # Sun Sep 03 17:28:47 2017 +0900 # Node ID 9003f4dc016c5900d02db7a77a0d55d205cffc13 # Parent 60190b90670ddd963881437d5d262348e6002643 py3: iterate bytes as a byte string in store.lowerencode() diff --git

[PATCH 6 of 8 py3] store: give name to lowerencode function

2017-09-16 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1504427170 -32400 # Sun Sep 03 17:26:10 2017 +0900 # Node ID 1221362d1dbcff390d74307d4339d904e56fa665 # Parent 19726b35322ecc59a3879746ee24a08231d8bf0d store: give name to lowerencode function lambda function isn't easy to

[PATCH 1 of 8 py3] py3: convert function name to bytes in ui.configwith()

2017-09-16 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1504428441 -32400 # Sun Sep 03 17:47:21 2017 +0900 # Node ID 3592f41c8c14cee0c2ee103da254193a486bca35 # Parent 5a1b41268b7c7418b3bdd446a6ff53fa7d694c86 py3: convert function name to bytes in ui.configwith() diff --git

[PATCH 3 of 8 py3] py3: drop use of str() in dagparser.py

2017-09-16 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1504419950 -32400 # Sun Sep 03 15:25:50 2017 +0900 # Node ID a3c836e6cd2f8cfcd9f4812ed7195d3d4496dc35 # Parent 9781ea13183a7a64d4b5fdfe13c07244273c0e56 py3: drop use of str() in dagparser.py diff --git

[PATCH 4 of 8 py3] py3: wrap string constants in dagparser.py with bytestr()

2017-09-16 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1504420119 -32400 # Sun Sep 03 15:28:39 2017 +0900 # Node ID 9df048c2b35e6c3528727c52ed710ec1fd997d2c # Parent a3c836e6cd2f8cfcd9f4812ed7195d3d4496dc35 py3: wrap string constants in dagparser.py with bytestr() diff --git

[PATCH 2 of 8 py3] dagparser: fix variable name in error message

2017-09-16 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1504419774 -32400 # Sun Sep 03 15:22:54 2017 +0900 # Node ID 9781ea13183a7a64d4b5fdfe13c07244273c0e56 # Parent 3592f41c8c14cee0c2ee103da254193a486bca35 dagparser: fix variable name in error message There's no variable named

[PATCH 5 of 8 py3] py3: iterate bytes as a byte string in dagparser.py

2017-09-16 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1504420365 -32400 # Sun Sep 03 15:32:45 2017 +0900 # Node ID 19726b35322ecc59a3879746ee24a08231d8bf0d # Parent 9df048c2b35e6c3528727c52ed710ec1fd997d2c py3: iterate bytes as a byte string in dagparser.py diff --git

Re: [PATCH 8 of 8 py3] drawdag: port to python 3

2017-09-16 Thread Yuya Nishihara
On Fri, 15 Sep 2017 19:14:11 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1503465796 14400 > # Wed Aug 23 01:23:16 2017 -0400 > # Node ID d08554602cdbd245ddd213af325473da037a240f > # Parent 962f6b24541c419fc135ebd75de8529344d85d31 >

Re: [PATCH 5 of 8 py3] bruterebase: port to python 3

2017-09-16 Thread Yuya Nishihara
On Fri, 15 Sep 2017 19:14:08 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1503465779 14400 > # Wed Aug 23 01:22:59 2017 -0400 > # Node ID 370f8212917c1af7e6189d3f0a7ca59ec49d1a4a > # Parent 050dd624a9a887c3efde65b7750311d3d3bd716c >

Re: [PATCH 2 of 8 py3] bundles: turn nbchanges int into a bytestr using pycompat.bytestr

2017-09-16 Thread Yuya Nishihara
On Fri, 15 Sep 2017 19:14:05 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1505515116 14400 > # Fri Sep 15 18:38:36 2017 -0400 > # Node ID 43b1c3ab1d6a4af1ea86f4e9d676d52740782895 > # Parent 662bbd6d96952985eff807f424dd128663724672 >

Re: [PATCH 4 of 8 py3] repair: reliably obtain bytestr of node ids

2017-09-16 Thread Yuya Nishihara
On Fri, 15 Sep 2017 19:14:07 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1503451354 14400 > # Tue Aug 22 21:22:34 2017 -0400 > # Node ID 050dd624a9a887c3efde65b7750311d3d3bd716c > # Parent e6d61e2a38873be057c9ecd0432750935423d745 >

Re: [PATCH 3 of 8 py3] exchange: use '%d' % x instead of str(x) to encode ints

2017-09-16 Thread Yuya Nishihara
On Fri, 15 Sep 2017 19:14:06 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1503451273 14400 > # Tue Aug 22 21:21:13 2017 -0400 > # Node ID e6d61e2a38873be057c9ecd0432750935423d745 > # Parent 43b1c3ab1d6a4af1ea86f4e9d676d52740782895 >

Re: [PATCH 1 of 4 python3] posix: fix HFS+ normcase doctest to produce valid bytes literals in Python 3

2017-09-16 Thread Yuya Nishihara
On Fri, 15 Sep 2017 20:34:03 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1505518982 14400 > # Fri Sep 15 19:43:02 2017 -0400 > # Node ID 34469e4e2187381259d78ec0a35c2dd5b0e9e85a > # Parent d08554602cdbd245ddd213af325473da037a240f >

Re: [PATCH 1 of 8 py3] bundle2: raise a more helpful error if building a bundle part header fails

2017-09-16 Thread Yuya Nishihara
On Fri, 15 Sep 2017 19:14:04 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1505515049 14400 > # Fri Sep 15 18:37:29 2017 -0400 > # Node ID 662bbd6d96952985eff807f424dd128663724672 > # Parent 209120041d12b524648fa856732aa404dfedd91d >

Re: [PATCH windows] tests: add and remove some (glob) markers

2017-09-16 Thread Yuya Nishihara
On Fri, 15 Sep 2017 22:08:45 -0400, Augie Fackler wrote: > # HG changeset patch > # User Augie Fackler > # Date 1505527705 14400 > # Fri Sep 15 22:08:25 2017 -0400 > # Node ID 0da0e691552a428641c75e1633e5f1d0fbf3483e > # Parent 209120041d12b524648fa856732aa404dfedd91d >