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

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

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

[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

[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

[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

[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

[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

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

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

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

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

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=12098 BRANCH default REVISION DETAIL

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

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

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=12096 REVISION DETAIL https://phab.mercurial-scm.org/D5088 AFFECTED FILES tests/hghave.py CHANGE DETAILS diff --git a/tests/hghave.py

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

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,

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=12094 REVISION

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

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

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:

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=12091 REVISION DETAIL https://phab.mercurial-scm.org/D5079 AFFECTED FILES mercurial/help.py tests/hghave.py tests/run-tests.py

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,

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

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,

[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

[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

[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

[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,

[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

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

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

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,

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

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=12085

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=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=12088 REVISION DETAIL

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

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

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

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

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

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

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=12081#toc REPOSITORY rHG Mercurial CHANGES

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

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=12080 BRANCH default REVISION DETAIL

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

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

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.

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

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=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=12077 REVISION DETAIL https://phab.mercurial-scm.org/D5083 AFFECTED FILES contrib/python3-whitelist

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

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=12075 BRANCH default REVISION DETAIL

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

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

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=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=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/f

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=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

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=12062 REVISION DETAIL https://phab.mercurial-scm.org/D5067 AFFECTED FILES hgext/absorb.py hgext/amend.py hgext/blackbox.py

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=12064 REVISION DETAIL https://phab.mercurial-scm.org/D5069 AFFECTED FILES contrib/perf.py hgext/absorb.py hgext/blackbox.py

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

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

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

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=12063 REVISION DETAIL https://phab.mercurial-scm.org/D5068 AFFECTED FILES doc/gendoc.py mercurial/help.py tests/test-globalopts.t

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=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=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=12059 REVISION DETAIL https://phab.mercurial-scm.org/D5064 AFFECTED FILES contrib/check-commit contrib/import-checker.py

[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

[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

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

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: dont try and fsdecode non-{bytes,str} objects (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

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=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

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

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

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

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 12049. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5059?vs=12027=12049 REVISION DETAIL https://phab.mercurial-scm.org/D5059 AFFECTED FILES contrib/check-config.py contrib/python3-whitelist CHANGE DETAILS

D4995: tests: disable one check on Python 3

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

D5064: style: run black on a subset of mercurial

2018-10-13 Thread mjpieters (Martijn Pieters)
mjpieters updated this revision to Diff 12047. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5064?vs=12030=12047 REVISION DETAIL https://phab.mercurial-scm.org/D5064 AFFECTED FILES mercurial/cacheutil.py mercurial/diffhelper.py

D5058: match: optimize matcher when all patterns are of rootfilesin kind

2018-10-13 Thread martinvonz (Martin von Zweigbergk)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG19ed212de2d1: match: optimize matcher when all patterns are of rootfilesin kind (authored by martinvonz, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

Re: [PATCH] graft: introduce --base option for using custom base revision for merge

2018-10-13 Thread Augie Fackler
> On Oct 13, 2018, at 12:02, Mads Kiilerich wrote: > > # HG changeset patch > # User Mads Kiilerich > # Date 1539424786 -7200 > # Sat Oct 13 11:59:46 2018 +0200 > # Node ID 167e7e7bbead47fadfe4072143cc53b409e3d8b9 > # Parent 38ac525b44c93fcadb3680d4ded56f1e5a0029b2 > graft: introduce

D5060: releasenotes: fix dumb whitespace bug I missed

2018-10-13 Thread pulkit (Pulkit Goyal)
pulkit added a comment. In https://phab.mercurial-scm.org/D5060#75838, @yuja wrote: > Oops, I've fixed this in flight. And gave me 10 content divergent changes. :( REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5060 To: durin42, #hg-reviewers Cc:

D5063: churn: use integer division consistently

2018-10-13 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG81e4f039a0cd: churn: use integer division consistently (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5063?vs=12029=12045

D5062: churn: fix stack traces on Python 3

2018-10-13 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG6f3e733848ae: churn: fix stack traces on Python 3 (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5062?vs=12028=12044

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

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

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

2018-10-13 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio added a comment. Done now. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D5069 To: rdamazio, #hg-reviewers Cc: mercurial-devel ___ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org

D5066: help: splitting the topics by category

2018-10-13 Thread rdamazio (Rodrigo Damazio Bovendorp)
rdamazio updated this revision to Diff 12040. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5066?vs=12032=12040 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 12039. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D5065?vs=12031=12039 REVISION DETAIL https://phab.mercurial-scm.org/D5065 AFFECTED FILES doc/gendoc.py mercurial/configitems.py mercurial/help.py

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

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 seems like a useful default behavior so tests run faster by default* - Except in special circumstances where the OS/filesystem doesn't scale well to

  1   2   >