[PATCH 4 of 4] formatter: make debug output prettier

2018-10-13 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1539494701 -7200 # Sun Oct 14 07:25:01 2018 +0200 # Node ID 6ab52e3afcb67782614218102cb12e59e56acb49 # Parent f162af4aacd5c3483b333128496df234118902e3 formatter: make debug output prettier "(glob)" won't be needed since pprintgen() can print

[PATCH 3 of 4] stringutil: allow to specify initial indent level of pprint()

2018-10-13 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1539494582 -7200 # Sun Oct 14 07:23:02 2018 +0200 # Node ID f162af4aacd5c3483b333128496df234118902e3 # Parent 32c7a39e0cd5b26c6bdd95ab18ca6e7988944ca8 stringutil: allow to specify initial indent level of pprint() I want to pprint() an inner

[PATCH 2 of 4] stringutil: make level parameter of pprintgen() 0-origin

2018-10-13 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1539494299 -7200 # Sun Oct 14 07:18:19 2018 +0200 # Node ID 32c7a39e0cd5b26c6bdd95ab18ca6e7988944ca8 # Parent b28a63d39d280a081a2de1f96c5c7276aef6a0e1 stringutil: make level parameter of pprintgen() 0-origin I think this makes more sense in

[PATCH 1 of 4] formatter: use stringutil.pprint() in debug output to drop b''

2018-10-13 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1539492679 -7200 # Sun Oct 14 06:51:19 2018 +0200 # Node ID b28a63d39d280a081a2de1f96c5c7276aef6a0e1 # Parent 8783710b1d58d2ccc0f611904af244a1dde214d4 formatter: use stringutil.pprint() in debug output to drop b'' diff --git a/mercurial/form

Re: [PATCH 3 of 5 V3] rust: exposing in parsers module

2018-10-13 Thread Yuya Nishihara
On Sat, 13 Oct 2018 15:59:41 +0200, Georges Racinet wrote: > # HG changeset patch > # User Georges Racinet > # Date 1538060175 -7200 > # Thu Sep 27 16:56:15 2018 +0200 > # Node ID b1d2b4a4684a51ba9bfc3ea5bc6e177be65e4b69 > # Parent 4b490e500a3551b03c41dc06f16aa506523719c6 > # EXP-Topic rusta

Re: [PATCH 1 of 5 V3] rust: pure Rust lazyancestors iterator

2018-10-13 Thread Yuya Nishihara
On Sat, 13 Oct 2018 15:59:39 +0200, Georges Racinet wrote: > # HG changeset patch > # User Georges Racinet > # Date 1538060596 -7200 > # Thu Sep 27 17:03:16 2018 +0200 > # Node ID 41b32e06629466bbe671c6ebfc1c5a4133c8af99 > # Parent 38ac525b44c93fcadb3680d4ded56f1e5a0029b2 > # EXP-Topic rusta

Re: [PATCH 4 of 5 V3] rust: hooking into Python code

2018-10-13 Thread Yuya Nishihara
On Sat, 13 Oct 2018 15:59:42 +0200, Georges Racinet wrote: > # HG changeset patch > # User Georges Racinet > # Date 1538060144 -7200 > # Thu Sep 27 16:55:44 2018 +0200 > # Node ID 98f0f668f63b143eba344a74c8b22a0588f46935 > # Parent b1d2b4a4684a51ba9bfc3ea5bc6e177be65e4b69 > # EXP-Topic rusta

D5089: py3: fix test-status.t

2018-10-13 Thread yuja (Yuya Nishihara)
yuja added a comment. >> test-status.t:540 > >status = [ > > - {*'path': '1/2/3/4/5/b.txt'*}, (glob) > > + {*'path': *'1/2/3/4/5/b.txt'*}, (glob) > >] > > are we hiding a b'' prefix here? Let's fix formatter.debugformatter. REPOSITORY rHG Mercurial RE

D4995: tests: disable one check on Python 3

2018-10-13 Thread yuja (Yuya Nishihara)
yuja added a comment. > I'm pretty confident this is caused by differences in Python 3's > demandimporter wherein it'll notice nonexistent modules earlier than > Python 2. As a result, let's just disable this check on Python 3. > > The test now passes on Python 3. The te

Re: D5089: py3: fix test-status.t

2018-10-13 Thread Yuya Nishihara
> > test-status.t:540 > >status = [ > > - {*'path': '1/2/3/4/5/b.txt'*}, (glob) > > + {*'path': *'1/2/3/4/5/b.txt'*}, (glob) > >] > > are we hiding a b'' prefix here? Let's fix formatter.debugformatter. ___ Mercurial-devel mailing list

Re: D4995: tests: disable one check on Python 3

2018-10-13 Thread Yuya Nishihara
> I'm pretty confident this is caused by differences in Python 3's > demandimporter wherein it'll notice nonexistent modules earlier than > Python 2. As a result, let's just disable this check on Python 3. > > The test now passes on Python 3. The test passes on my Python 3.6.7rc1 (Debia

Re: [PATCH] tests: replace `cd ..` with an absolute path in a couple ssh tests

2018-10-13 Thread Yuya Nishihara
On Sat, 13 Oct 2018 22:40:36 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1539474573 14400 > # Sat Oct 13 19:49:33 2018 -0400 > # Node ID fb97b23d9256601538396ea49c8284219992fe99 > # Parent 83dab13d625cd3fa2ce24801c9ee962d695045b8 > tests: replace `cd ..

Re: [PATCH] run-tests: restore quoting the python executable for running *.py tests

2018-10-13 Thread Yuya Nishihara
On Sat, 13 Oct 2018 23:10:49 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1539486509 14400 > # Sat Oct 13 23:08:29 2018 -0400 > # Node ID b94bd76195a7474b2493b362f47550b179d79aa3 > # Parent fb97b23d9256601538396ea49c8284219992fe99 > run-tests: restore qu

Re: [PATCH 1 of 2 V4] revlog: allow flag processors to be applied via store options

2018-10-13 Thread Yuya Nishihara
On Sat, 13 Oct 2018 13:30:08 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1539136401 14400 > # Tue Oct 09 21:53:21 2018 -0400 > # Node ID 222cf88a686a2fb818c4c440250be10625b4fdeb > # Parent 8f192f2c4a1e04ac69dec66c48efcb96bc738533 > revlog: allow flag pr

Re: [PATCH V2] py3: use str to query registry values on Windows

2018-10-13 Thread Yuya Nishihara
On Sat, 13 Oct 2018 13:44:25 -0400, Matt Harbison wrote: > # HG changeset patch > # User Matt Harbison > # Date 1539380085 14400 > # Fri Oct 12 17:34:45 2018 -0400 > # Node ID 83dab13d625cd3fa2ce24801c9ee962d695045b8 > # Parent d6b7c4e77bb414fa27fed41e834423fca7d6ce63 > py3: use str to query

[PATCH] run-tests: restore quoting the python executable for running *.py tests

2018-10-13 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1539486509 14400 # Sat Oct 13 23:08:29 2018 -0400 # Node ID b94bd76195a7474b2493b362f47550b179d79aa3 # Parent fb97b23d9256601538396ea49c8284219992fe99 run-tests: restore quoting the python executable for running *.py tests This was accidental

[PATCH] tests: replace `cd ..` with an absolute path in a couple ssh tests

2018-10-13 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1539474573 14400 # Sat Oct 13 19:49:33 2018 -0400 # Node ID fb97b23d9256601538396ea49c8284219992fe99 # Parent 83dab13d625cd3fa2ce24801c9ee962d695045b8 tests: replace `cd ..` with an absolute path in a couple ssh tests These tests are broken u

[PATCH V2] py3: use str to query registry values on Windows

2018-10-13 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1539380085 14400 # Fri Oct 12 17:34:45 2018 -0400 # Node ID 83dab13d625cd3fa2ce24801c9ee962d695045b8 # Parent d6b7c4e77bb414fa27fed41e834423fca7d6ce63 py3: use str to query registry values on Windows This blew up launching any command if extd

[PATCH 1 of 2 V4] revlog: allow flag processors to be applied via store options

2018-10-13 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1539136401 14400 # Tue Oct 09 21:53:21 2018 -0400 # Node ID 222cf88a686a2fb818c4c440250be10625b4fdeb # Parent 8f192f2c4a1e04ac69dec66c48efcb96bc738533 revlog: allow flag processors to be applied via store options This allows flag processors t

[PATCH 2 of 2 V4] lfs: register the flag processors per repository

2018-10-13 Thread Matt Harbison
# HG changeset patch # User Matt Harbison # Date 1538626646 14400 # Thu Oct 04 00:17:26 2018 -0400 # Node ID b382006ec3f07f3e21dc55870c2d8a9100528a4b # Parent 222cf88a686a2fb818c4c440250be10625b4fdeb lfs: register the flag processors per repository Previously, enabling the extension for any

mercurial@40170: 19 new changesets

2018-10-13 Thread Mercurial Commits
19 new changesets in mercurial: https://www.mercurial-scm.org/repo/hg/rev/adbf8ca239e4 changeset: 40152:adbf8ca239e4 user:Yuya Nishihara date:Fri Oct 12 06:22:43 2018 +0200 summary: revlog: optimize ancestors() to not check filtered revisions for each https://www.mercurial

D5086: churn: remove redundant round()

2018-10-13 Thread yuja (Yuya Nishihara)
yuja added a comment. > def charnum(count): > > - return int(round(count * width // maxcount)) +return int(count * width // maxcount) We're doing floating-point division as `maxcount` is float. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5

Re: D5086: churn: remove redundant round()

2018-10-13 Thread Yuya Nishihara
> def charnum(count): > -return int(round(count * width // maxcount)) > +return int(count * width // maxcount) We're doing floating-point division as `maxcount` is float. ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm

D5089: py3: fix test-status.t

2018-10-13 Thread pulkit (Pulkit Goyal)
pulkit added inline comments. INLINE COMMENTS > test-status.t:540 >status = [ > - {*'path': '1/2/3/4/5/b.txt'*}, (glob) > + {*'path': *'1/2/3/4/5/b.txt'*}, (glob) >] are we hiding a b'' prefix here? REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D

D5089: py3: fix test-status.t

2018-10-13 Thread mbthomas (Mark Thomas)
mbthomas updated this revision to Diff 12098. mbthomas added a comment. Herald added a reviewer: pulkit. Add to whitelist REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5089?vs=12097&id=12098 BRANCH default REVISION DETAIL https://phab.mercurial-s

D5089: py3: fix test-status.t

2018-10-13 Thread mbthomas (Mark Thomas)
mbthomas created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D5089 AFFECTED FILES tests/test-status.t CHANGE DETAILS diff --git a/tests/test-sta

Re: [PATCH] py3: convert "usage" literal to bytes

2018-10-13 Thread Pulkit Goyal
On Sat, Oct 13, 2018 at 6:10 PM Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1539442648 -7200 > # Sat Oct 13 16:57:28 2018 +0200 > # Node ID e0182e9af70995e3a08d5c04f3384a275f9d8092 > # Parent c8f1640612121c04c8971a8357a5b978bfbde0f9 > py3: convert "usage"

[PATCH] py3: convert "usage" literal to bytes

2018-10-13 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1539442648 -7200 # Sat Oct 13 16:57:28 2018 +0200 # Node ID e0182e9af70995e3a08d5c04f3384a275f9d8092 # Parent c8f1640612121c04c8971a8357a5b978bfbde0f9 py3: convert "usage" literal to bytes Here _() is practically an identity function, but we

D5088: hghave: add pyXY features for Python version numbers

2018-10-13 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 12096. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5088?vs=12095&id=12096 REVISION DETAIL https://phab.mercurial-scm.org/D5088 AFFECTED FILES tests/hghave.py CHANGE DETAILS diff --git a/tests/hghave.py b/tes

D5088: hghave: add pyXY features for Python version numbers

2018-10-13 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This will allow us to sniff for Python >= versions in tests. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5088 AFFECTED FILES t

D5075: tests: accept slightly different zip file in Python 3

2018-10-13 Thread indygreg (Gregory Szorc)
indygreg added a comment. https://github.com/python/cpython/commit/44989bc2696320cf55ae6f329aaf58edd49d792a is likely the commit introducing the divergence. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5075 To: durin42, pulkit, #hg-reviewers Cc: indygreg, yu

D5086: churn: remove redundant round()

2018-10-13 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG12e2e5cd5777: churn: remove redundant round() (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5086?vs=12090&id=12094 REVISIO

D5075: tests: accept slightly different zip file in Python 3

2018-10-13 Thread indygreg (Gregory Szorc)
indygreg added a comment. Behavior changed between Python 3.6 and Python 3.7. We should add `pyXX` hghave capabilities to differentiate on Python versions. Or we could annotate all possible lines with `(?)` (optional output). The hghave approach is better. REPOSITORY rHG Mercurial RE

D5079: py3: use py3 as the test tag, dropping the k

2018-10-13 Thread mjpieters (Martijn Pieters)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8cf459d8b111: py3: use py3 as the test tag, dropping the k (authored by mjpieters, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5079?vs=12091&id

D5079: py3: use py3 as the test tag, dropping the k

2018-10-13 Thread mjpieters (Martijn Pieters)
mjpieters added a comment. Note: I undid the change to `mercurial/thirdparty/zope/interface/_compat.py` as it should not have been changed to begin with. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5079 To: mjpieters, #hg-reviewers, pulkit, durin42 Cc: durin

D5079: py3: use py3 as the test tag, dropping the k

2018-10-13 Thread mjpieters (Martijn Pieters)
mjpieters updated this revision to Diff 12091. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5079?vs=12068&id=12091 REVISION DETAIL https://phab.mercurial-scm.org/D5079 AFFECTED FILES mercurial/help.py tests/hghave.py tests/run-tests.py tests/t

D5075: tests: accept slightly different zip file in Python 3

2018-10-13 Thread durin42 (Augie Fackler)
durin42 added a comment. In https://phab.mercurial-scm.org/D5075#76125, @pulkit wrote: > In https://phab.mercurial-scm.org/D5075#76117, @yuja wrote: > > > > - body: size=1377, sha1=677b14d3d048778d5eb5552c14a67e6192068650 + body: size=1377, sha1=677b14d3d048778d5eb5552c14a67e61920686

D5087: help: displaying documented aliases by default

2018-10-13 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This makes aliases be displayed in "hg help" when they have a :doc config entry, and also allows them to be assigned to a category with :category. REPOSITORY r

D5075: tests: accept slightly different zip file in Python 3

2018-10-13 Thread pulkit (Pulkit Goyal)
pulkit added a comment. In https://phab.mercurial-scm.org/D5075#76117, @yuja wrote: > > - body: size=1377, sha1=677b14d3d048778d5eb5552c14a67e6192068650 + body: size=1377, sha1=677b14d3d048778d5eb5552c14a67e6192068650 (no-py3k !) + body: size=1461, sha1=be6d3983aa13dfe930361b2569291cde

[PATCH 5 of 5 V3] rust: rustlazyancestors.__contains__

2018-10-13 Thread Georges Racinet
# HG changeset patch # User Georges Racinet # Date 1539018701 -7200 # Mon Oct 08 19:11:41 2018 +0200 # Node ID 5c3f0974b9afb074df9acd626813064eb6f2ffec # Parent 98f0f668f63b143eba344a74c8b22a0588f46935 # EXP-Topic rustancestors-contains rust: rustlazyancestors.__contains__ This changeset pr

[PATCH 3 of 5 V3] rust: exposing in parsers module

2018-10-13 Thread Georges Racinet
# HG changeset patch # User Georges Racinet # Date 1538060175 -7200 # Thu Sep 27 16:56:15 2018 +0200 # Node ID b1d2b4a4684a51ba9bfc3ea5bc6e177be65e4b69 # Parent 4b490e500a3551b03c41dc06f16aa506523719c6 # EXP-Topic rustancestors-contains rust: exposing in parsers module To build with the Rus

[PATCH 4 of 5 V3] rust: hooking into Python code

2018-10-13 Thread Georges Racinet
# HG changeset patch # User Georges Racinet # Date 1538060144 -7200 # Thu Sep 27 16:55:44 2018 +0200 # Node ID 98f0f668f63b143eba344a74c8b22a0588f46935 # Parent b1d2b4a4684a51ba9bfc3ea5bc6e177be65e4b69 # EXP-Topic rustancestors-contains rust: hooking into Python code We introduce a new clas

[PATCH 2 of 5 V3] rust: iterator bindings to C code

2018-10-13 Thread Georges Racinet
# HG changeset patch # User Georges Racinet # Date 1538059896 -7200 # Thu Sep 27 16:51:36 2018 +0200 # Node ID 4b490e500a3551b03c41dc06f16aa506523719c6 # Parent 41b32e06629466bbe671c6ebfc1c5a4133c8af99 # EXP-Topic rustancestors-contains rust: iterator bindings to C code In this changeset, s

[PATCH 1 of 5 V3] rust: pure Rust lazyancestors iterator

2018-10-13 Thread Georges Racinet
# HG changeset patch # User Georges Racinet # Date 1538060596 -7200 # Thu Sep 27 17:03:16 2018 +0200 # Node ID 41b32e06629466bbe671c6ebfc1c5a4133c8af99 # Parent 38ac525b44c93fcadb3680d4ded56f1e5a0029b2 # EXP-Topic rustancestors-contains rust: pure Rust lazyancestors iterator This is the fir

D5086: churn: remove redundant round()

2018-10-13 Thread durin42 (Augie Fackler)
durin42 updated this revision to Diff 12090. durin42 edited the summary of this revision. durin42 retitled this revision from "churn: remove redundant int() and round()" to "churn: remove redundant round()". REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5

D5075: tests: accept slightly different zip file in Python 3

2018-10-13 Thread yuja (Yuya Nishihara)
yuja added a comment. > - body: size=1377, sha1=677b14d3d048778d5eb5552c14a67e6192068650 + body: size=1377, sha1=677b14d3d048778d5eb5552c14a67e6192068650 (no-py3k !) + body: size=1461, sha1=be6d3983aa13dfe930361b2569291cdedd02b537 (py3k !) For some reason, my Python 3 says `size=1489

Re: D5075: tests: accept slightly different zip file in Python 3

2018-10-13 Thread Yuya Nishihara
> - body: size=1377, sha1=677b14d3d048778d5eb5552c14a67e6192068650 > + body: size=1377, sha1=677b14d3d048778d5eb5552c14a67e6192068650 (no-py3k !) > + body: size=1461, sha1=be6d3983aa13dfe930361b2569291cdedd02b537 (py3k !) For some reason, my Python 3 says `size=1489, sha1=1897e496871aa89ad685a9

D5083: tests: fix inline extension in test-fncache.t for Python 3

2018-10-13 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGc8f164061212: tests: fix inline extension in test-fncache.t for Python 3 (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5083

D5080: context: open files in bytes mode

2018-10-13 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG2f47703c5489: context: open files in bytes mode (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5080?vs=12072&id=12085 REVIS

D5081: simplemerge: port to Python 3

2018-10-13 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb54d93fc3ba8: simplemerge: port to Python 3 (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5081?vs=12073&id=12087 REVISION

D5082: py3: 3 more passing tests

2018-10-13 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG4b5d9eb1428f: py3: 3 more passing tests (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5082?vs=12074&id=12088 REVISION DETA

D5059: contrib: fix up output in check-config.py to use strs to avoid b prefixes

2018-10-13 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG5519697b71b3: contrib: fix up output in check-config.py to use strs to avoid b prefixes (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercuria

D5085: tests: fix up test-hghave for recent run-tests change to use more CPUs

2018-10-13 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGec81ec0301ce: tests: fix up test-hghave for recent run-tests change to use more CPUs (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-s

D5086: churn: remove redundant int() and round()

2018-10-13 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Spotted by Mads when he reviewed https://phab.mercurial-scm.org/D5063. Thanks! REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5086 A

Re: [PATCH] obsolete: don't translate internal error message

2018-10-13 Thread Augie Fackler
> On Oct 12, 2018, at 17:08, Yuya Nishihara wrote: > > # HG changeset patch > # User Yuya Nishihara > # Date 1539355871 -7200 > # Fri Oct 12 16:51:11 2018 +0200 > # Node ID 21a0028bb28eeb4c3d2af807934fd22382594ce2 > # Parent 5b8bab9a7e07692e8d827c5315502301a11e4803 > obsolete: don't tran

Re: [PATCH] py3: get around unicode docstrings in test-encoding-textwrap.t and test-help.t

2018-10-13 Thread Augie Fackler
> On Oct 12, 2018, at 19:36, Yuya Nishihara wrote: > > # HG changeset patch > # User Yuya Nishihara > # Date 1539365108 -7200 > # Fri Oct 12 19:25:08 2018 +0200 > # Node ID fc11940aeb629be72d144cf77cea245c3369c850 > # Parent ba70e3acf58a6a929a23f5b80e08c98a4ad776d4 > py3: get around unic

D5085: tests: fix up test-hghave for recent run-tests change to use more CPUs

2018-10-13 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5085 AFFECTED FILES tests/test-hghave.t CHANGE DETAILS diff --git a/tests/test-hghave.t b/tests/test-

Re: [PATCH] crecord: make enter move cursor down to the next item of the same type

2018-10-13 Thread Augie Fackler
> On Oct 13, 2018, at 12:08, Anton Shestakov wrote: > > # HG changeset patch > # User Anton Shestakov > # Date 1539424350 -7200 > # Sat Oct 13 11:52:30 2018 +0200 > # Node ID 652b73cc2aa892cf2c2a5988a339ee242d2e1696 > # Parent 8278491d01838a2062ba7202be9b79cc6b243c83 > crecord: make ente

D5084: py3: fix test-parse-date.t

2018-10-13 Thread mbthomas (Mark Thomas)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd4d2c567bb72: py3: fix test-parse-date.t (authored by mbthomas, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D5084?vs=12080&id=12081#toc REPOSITORY rHG Mercurial CHANGES S

Re: [PATCH 2 of 2] py3: build help of compression engines in bytes

2018-10-13 Thread Augie Fackler
> On Oct 13, 2018, at 14:28, Yuya Nishihara wrote: > > # HG changeset patch > # User Yuya Nishihara > # Date 1539433045 -7200 > # Sat Oct 13 14:17:25 2018 +0200 > # Node ID 921feabe152110773b8b85818b149a99166b9f74 > # Parent b8a16cf84c34d254df7ff276e49e6d5fd327eb8b > py3: build help of c

D5084: py3: fix test-parse-date.t

2018-10-13 Thread mbthomas (Mark Thomas)
mbthomas updated this revision to Diff 12080. mbthomas added a comment. Herald added a reviewer: pulkit. Add to whilelist REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5084?vs=12079&id=12080 BRANCH default REVISION DETAIL https://phab.mercurial-s

D5079: py3: use py3 as the test tag, dropping the k

2018-10-13 Thread durin42 (Augie Fackler)
durin42 requested changes to this revision. durin42 added a comment. This revision now requires changes to proceed. (Requesting changes per new instances of py3k in the tests since you wrote this - it's a heckuva treadmill right now.) REPOSITORY rHG Mercurial REVISION DETAIL https://phab

D5084: py3: fix test-parse-date.t

2018-10-13 Thread mbthomas (Mark Thomas)
mbthomas created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D5084 AFFECTED FILES mercurial/utils/dateutil.py CHANGE DETAILS diff --git a/mercur

Re: [PATCH 1 of 2] py3: do I/O in bytes in test-help.t

2018-10-13 Thread Pulkit Goyal
On Sat, Oct 13, 2018 at 3:32 PM Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1539432672 -7200 > # Sat Oct 13 14:11:12 2018 +0200 > # Node ID b8a16cf84c34d254df7ff276e49e6d5fd327eb8b > # Parent 8603435ad64c35c4472726350e391076ad25c3aa > py3: do I/O in bytes

D5064: style: run black on a subset of mercurial

2018-10-13 Thread indygreg (Gregory Szorc)
indygreg added inline comments. INLINE COMMENTS > check-commit:43 > -(r"\n\+\n( |\+)\n", "adds double empty line"), > -(r"\n \n\+\n", "adds double empty line"), > # Forbid "_" in function name. I think we'll want to send this chunk as a separate commit, as it is a policy change. I'

D5039: py3: add more py3 specific output to test

2018-10-13 Thread durin42 (Augie Fackler)
durin42 requested changes to this revision. durin42 added a comment. This revision now requires changes to proceed. In https://phab.mercurial-scm.org/D5039#75559, @yuja wrote: > > - a/tests/test-custom-filters.t +++ b/tests/test-custom-filters.t @@ -52,6 +52,7 @@ $ echo "Very very careful

D5078: py3: fix infinitepush extension tests

2018-10-13 Thread mbthomas (Mark Thomas)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG090e5f3900b7: py3: fix infinitepush extension tests (authored by mbthomas, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5078?vs=12075&id=12078

D5079: py3: use py3 as the test tag, dropping the k

2018-10-13 Thread pulkit (Pulkit Goyal)
pulkit added a comment. There are few more occurences of py3k if you rebase it on @, can you please have a look. :) REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5079 To: mjpieters, #hg-reviewers, pulkit Cc: pulkit, mercurial-devel

D5083: tests: fix inline extension in test-fncache.t for Python 3

2018-10-13 Thread durin42 (Augie Fackler)
durin42 updated this revision to Diff 12077. Herald added a reviewer: pulkit. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5083?vs=12076&id=12077 REVISION DETAIL https://phab.mercurial-scm.org/D5083 AFFECTED FILES contrib/python3-whitelist tests/t

D5079: py3: use py3 as the test tag, dropping the k

2018-10-13 Thread pulkit (Pulkit Goyal)
pulkit accepted this revision. pulkit added a comment. I feel priviliged to review my mentors patch and push it. :) REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5079 To: mjpieters, #hg-reviewers, pulkit Cc: pulkit, mercurial-devel _

D5083: tests: fix inline extension in test-fncache.t for Python 3

2018-10-13 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 1. skip-blame just some b prefixing REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5083 AFFECTED FILES tests/test-fncach

D5078: py3: fix infinitepush extension tests

2018-10-13 Thread mbthomas (Mark Thomas)
mbthomas updated this revision to Diff 12075. mbthomas added a comment. Use a different function for getting hexdigest as bytes REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5078?vs=12067&id=12075 BRANCH default REVISION DETAIL https://phab.mercu

D5081: simplemerge: port to Python 3

2018-10-13 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5081 AFFECTED FILES contrib/simplemerge CHANGE DETAILS diff --git a/contrib/simplemerge b/c

D5080: context: open files in bytes mode

2018-10-13 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY I'm stunned this open() call has survived this long without the b in the mode - it seems like it should have been a source of bugs somewhere... REPOSITORY rHG M

D5082: py3: 3 more passing tests

2018-10-13 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a reviewer: pulkit. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5082 AFFECTED FILES contrib/python3-whitelist CHANGE DETAILS diff --

D5059: contrib: fix up output in check-config.py to use strs to avoid b prefixes

2018-10-13 Thread durin42 (Augie Fackler)
durin42 updated this revision to Diff 12071. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5059?vs=12049&id=12071 REVISION DETAIL https://phab.mercurial-scm.org/D5059 AFFECTED FILES contrib/check-config.py contrib/python3-whitelist CHANGE DETAILS

D5061: f: fix a Python 3 bytes/string issue

2018-10-13 Thread durin42 (Augie Fackler)
durin42 updated this revision to Diff 12070. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5061?vs=12026&id=12070 REVISION DETAIL https://phab.mercurial-scm.org/D5061 AFFECTED FILES tests/f CHANGE DETAILS diff --git a/tests/f b/tests/f --- a/tests/

D4995: tests: disable one check on Python 3

2018-10-13 Thread durin42 (Augie Fackler)
durin42 updated this revision to Diff 12069. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D4995?vs=12048&id=12069 REVISION DETAIL https://phab.mercurial-scm.org/D4995 AFFECTED FILES contrib/python3-whitelist tests/test-extension.t CHANGE DETAILS

D5078: py3: fix infinitepush extension tests

2018-10-13 Thread pulkit (Pulkit Goyal)
pulkit added inline comments. INLINE COMMENTS > store.py:83 > def write(self, data): > -filename = hashlib.sha1(data).hexdigest() > +filename = pycompat.sysbytes(hashlib.sha1(data).hexdigest()) > dirpath = self._dirpath(filename) We use `node.hex(sha1.digest())` in

D5079: py3: use py3 as the test tag, dropping the k

2018-10-13 Thread mjpieters (Martijn Pieters)
mjpieters created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5079 AFFECTED FILES mercurial/help.py mercurial/thirdparty/zope/interface/_compat.py tests/hghave

D5067: help: assigning categories to existing commands

2018-10-13 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio updated this revision to Diff 12062. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5067?vs=12041&id=12062 REVISION DETAIL https://phab.mercurial-scm.org/D5067 AFFECTED FILES hgext/absorb.py hgext/amend.py hgext/blackbox.py hgext/censor

D5069: help: adding a proper declaration for shortlist/basic commands

2018-10-13 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio updated this revision to Diff 12064. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5069?vs=12043&id=12064 REVISION DETAIL https://phab.mercurial-scm.org/D5069 AFFECTED FILES contrib/perf.py hgext/absorb.py hgext/blackbox.py hgext/fasta

D5078: py3: fix infinitepush extension tests

2018-10-13 Thread mbthomas (Mark Thomas)
mbthomas created this revision. Herald added a reviewer: pulkit. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D5078 AFFECTED FILES contrib/python3-whitelist hge

D5077: help: allow hiding of help topics

2018-10-13 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5077 AFFECTED FILES mercurial/help.py tests/test-help-hide.t CHANGE DETAILS diff --git a/tests/tes

D5076: help: allow commands to be hidden

2018-10-13 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This is useful in enterprise environments where some workflows are discouraged. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D507

D5068: help: assigning topic categories

2018-10-13 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio updated this revision to Diff 12063. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5068?vs=12042&id=12063 REVISION DETAIL https://phab.mercurial-scm.org/D5068 AFFECTED FILES doc/gendoc.py mercurial/help.py tests/test-globalopts.t tests

D5066: help: splitting the topics by category

2018-10-13 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio updated this revision to Diff 12061. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5066?vs=12040&id=12061 REVISION DETAIL https://phab.mercurial-scm.org/D5066 AFFECTED FILES mercurial/help.py mercurial/hgweb/webcommands.py CHANGE DETAILS

D5065: help: adding support for command categories

2018-10-13 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio updated this revision to Diff 12060. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5065?vs=12039&id=12060 REVISION DETAIL https://phab.mercurial-scm.org/D5065 AFFECTED FILES doc/gendoc.py mercurial/help.py mercurial/registrar.py CHANGE

D5064: style: run black on a subset of mercurial

2018-10-13 Thread mjpieters (Martijn Pieters)
mjpieters updated this revision to Diff 12059. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5064?vs=12047&id=12059 REVISION DETAIL https://phab.mercurial-scm.org/D5064 AFFECTED FILES contrib/check-commit contrib/import-checker.py mercurial/cache

[PATCH 2 of 2] py3: build help of compression engines in bytes

2018-10-13 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1539433045 -7200 # Sat Oct 13 14:17:25 2018 +0200 # Node ID 921feabe152110773b8b85818b149a99166b9f74 # Parent b8a16cf84c34d254df7ff276e49e6d5fd327eb8b py3: build help of compression engines in bytes Removes "b''" from help. diff --git a/mer

[PATCH 1 of 2] py3: do I/O in bytes in test-help.t

2018-10-13 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1539432672 -7200 # Sat Oct 13 14:11:12 2018 +0200 # Node ID b8a16cf84c34d254df7ff276e49e6d5fd327eb8b # Parent 8603435ad64c35c4472726350e391076ad25c3aa py3: do I/O in bytes in test-help.t diff --git a/tests/test-help.t b/tests/test-help.t ---

D5075: tests: accept slightly different zip file in Python 3

2018-10-13 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGc9e8c93e241c: tests: accept slightly different zip file in Python 3 (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5075?vs=1

D5074: webcommands: use stringutil.pprint() to repr invalid archive types

2018-10-13 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb24c23f7c1f9: webcommands: use stringutil.pprint() to repr invalid archive types (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.o

D5073: archival: don't try and fsdecode non-{bytes,str} objects

2018-10-13 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG844deb408a5b: archival: don't try and fsdecode non-{bytes,str} objects (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5073?v

D5072: tests: fix last failure in test-tools.t

2018-10-13 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGbe0a5d2d5c78: tests: fix last failure in test-tools.t (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5072?vs=12038&id=12055

D5071: run-tests: run tests with as many processes as cores by default

2018-10-13 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe7e70c033783: run-tests: run tests with as many processes as cores by default (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org

D5070: run-tests: print number of tests and parallel process count

2018-10-13 Thread indygreg (Gregory Szorc)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1039404c5e1d: run-tests: print number of tests and parallel process count (authored by indygreg, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D50

D5075: tests: accept slightly different zip file in Python 3

2018-10-13 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a reviewer: pulkit. Herald added subscribers: mercurial-devel, mjpieters. Herald added a reviewer: hg-reviewers. REVISION SUMMARY I added some `unzip -t` here and I *think* the only change is from Python 3 having more data in the zip file headers or

D5074: webcommands: use stringutil.pprint() to repr invalid archive types

2018-10-13 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5074 AFFECTED FILES mercurial/hgweb/webcommands.py CHANGE DETAILS diff --git a/mercurial/hgweb/webcom

D5073: archival: don't try and fsdecode non-{bytes,str} objects

2018-10-13 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This function accepts both bytes and file-like objects. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5073 AFFECTED FILES mercuri

  1   2   >