D3627: status: add a config knob for setting default of --terse

2018-05-19 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY I want --terse=u basically 100% of the time, but there's not a good way to do that before this patch. I'm very unhappy with how the default value for --terse

D3628: status: add default of --terse=u to tweakdefaults (BC)

2018-05-19 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This is in line with both Git and Subversion, and strikes me as a more humane behavior. Test output changes are expected once you read test-status.t, and I

Re: [PATCH STABLE] push: continue without locking on lock failure other than EEXIST (issue5882)

2018-05-19 Thread Augie Fackler
> On May 15, 2018, at 9:41 AM, Yuya Nishihara wrote: > > # HG changeset patch > # User Yuya Nishihara > # Date 1526389975 -32400 > # Tue May 15 22:12:55 2018 +0900 > # Branch stable > # Node ID 11d6f26077c93e36a311db92d54fa372808e0f0d > # Parent 273ea09f65500ea7936afe2983bf6a126c5bf4e6 >

D3626: tests: port inline extensions in test-obsolete.t to Python 3

2018-05-19 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG5a87bf0bd343: tests: port inline extensions in test-obsolete.t to Python 3 (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D36

D3626: tests: port inline extensions in test-obsolete.t to Python 3

2018-05-19 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Still some lingering failure in here, but it's much better. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3626 AFFECTED FILES tes

D3625: py3: consolidate down some (case ...) entries

2018-05-19 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGc3eda7207f25: py3: consolidate down some (case ...) entries (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3625?vs=8827&id=8

D3624: py3: re-sort test whitelist

2018-05-19 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa400fe810346: py3: re-sort test whitelist (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3624?vs=8826&id=8831 REVISION DETA

D3622: tests: fix test-parseindex2 on Python 3

2018-05-19 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG3de58f50afa2: tests: fix test-parseindex2 on Python 3 (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3622?vs=8824&id=8829 R

D3623: tests: fix test-subrepo-paths.t on Python 3

2018-05-19 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf97c83d94911: tests: fix test-subrepo-paths.t on Python 3 (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3623?vs=8825&id=883

D3621: tests: use [(] instead of \( to avoid warning on py3

2018-05-19 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe504fa630860: tests: use [(] instead of \( to avoid warning on py3 (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3621?vs=88

D3624: py3: re-sort test whitelist

2018-05-19 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/D3624 AFFECTED FILES contrib/python3-whitelist CHANGE DETAILS diff --

D3625: py3: consolidate down some (case ...) entries

2018-05-19 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/D3625 AFFECTED FILES contrib/python3-whitelist CHANGE DETAILS diff --

D3622: tests: fix test-parseindex2 on Python 3

2018-05-19 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY parsers.versionerrortext is a sysstr, but it's only ever used in this test on the Python side, so I'm okay to just handle it like this. REPOSITORY rHG Mercurial

D3621: tests: use [(] instead of \( to avoid warning on py3

2018-05-19 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY From a recent test run of mine: run-tests.py:1633: DeprecationWarning: invalid escape sequence '\(' This lets us encode the expectation without the badness

D3623: tests: fix test-subrepo-paths.t on Python 3

2018-05-19 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The Python 3 group reference error message is a little more helpful, so we'll allow the extra output. I tried matching this with an (re) line, but decided it was

D3619: patch: add debug message to show external patch tool invocation

2018-05-19 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf3776f70985e: patch: add debug message to show external patch tool invocation (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/

D3620: tests: fix test-patch.t on picker /bin/sh implementations

2018-05-19 Thread durin42 (Augie Fackler)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG0b39edeff033: tests: fix test-patch.t on pickier /bin/sh implementations (authored by durin42, committed by ). CHANGED PRIOR TO COMMIT https://phab.mercurial-scm.org/D3620?vs=8792&id=8822#toc REPOSITO

D3612: py3: use pycompat.fsencode() to convert tempfile name to bytes

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGca1cf9b3cce7: py3: use pycompat.fsencode() to convert tempfile name to bytes (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3

D3613: py3: use `except error as e` instead of `except error, e`

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGf0fadc5bea21: py3: use `except error as e` instead of `except error, e` (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3613?v

D3608: py3: slice over bytes to prevent getting the ascii values

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG86e0a4bede5d: py3: slice over bytes to prevent getting the ascii values (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3608?v

D3609: py3: bytestr() bytes to get bytechar while iterating on it

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGe887381e2976: py3: bytestr() bytes to get bytechar while iterating on it (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3609?

D3614: py3: check for None before comparing with integers

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa4942675de6b: py3: check for None before comparing with integers (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3614?vs=8785&

D3615: py3: add 13 new passing tests to whitelist

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG42476b8b738b: py3: add 13 new passing tests to whitelist (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3615?vs=8786&id=8820

D3610: py3: fix .write() calls in few tests

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGb95a6fb7ae66: py3: fix .write() calls in few tests (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3610?vs=8781&id=8814 REVIS

D3611: py3: add b'' prefixes in tests/test-parseindex.t

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG307b19c7c043: py3: add b'' prefixes in tests/test-parseindex.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3611?vs=8782&id

D3604: py3: suppress the output from .write() calls in few tests

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG0a10f142299d: py3: suppress the output from .write() calls in few tests (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3604?v

D3606: py3: make sure we open files in bytes mode

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1978abdb216c: py3: make sure we open files in bytes mode (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3606?vs=8777&id=8810

D3607: py3: use utils.stringutil.forcebytestr to convert error to bytes

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG5f2dc1b71cf1: py3: use utils.stringutil.forcebytestr to convert error to bytes (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/

D3605: py3: add b'' prefix in test/test-fileset.t

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG8fa2b5c85a46: py3: add b'' prefix in test/test-fileset.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3605?vs=8776&id=8809

D3597: py3: add b'' prefixes in tests/test-hgrc.t

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG1a09886ab03a: py3: add b'' prefixes in tests/test-hgrc.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3597?vs=8768&id=8802

D3600: py3: add b'' prefixes in tests/test-progress.t

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG34592dd3bfa2: py3: add b'' prefixes in tests/test-progress.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3600?vs=8771&id=8

D3595: py3: add b'' prefixes in tests/test-custom-filters.t

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG6e713711331b: py3: add b'' prefixes in tests/test-custom-filters.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3595?vs=876

D3601: py3: add b'' prefixes in tests/test-rebuildstate.t

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG74c5ddd97008: py3: add b'' prefixes in tests/test-rebuildstate.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3601?vs=8772&

D3602: py3: use print as a function in tests/test-pull.t

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG549e970397b2: py3: use print as a function in tests/test-pull.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3602?vs=8773&i

D3596: py3: add b'' prefixes in tests/test-extensions-afterloaded.t

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGd1a49a94c324: py3: add b'' prefixes in tests/test-extensions-afterloaded.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D359

D3603: py3: use print as a function in tests/test-parseindex.t

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGce307af030a2: py3: use print as a function in tests/test-parseindex.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3603?vs=

D3592: py3: add b'' prefixes in hgext/convert/subversion.py

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGc560a4ea6dac: py3: add b'' prefixes in hgext/convert/subversion.py (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3592?vs=876

D3599: py3: add b'' prefixes in tests/test-profile.t

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGfd8eedcc3fd2: py3: add b'' prefixes in tests/test-profile.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3599?vs=8770&id=88

D3593: py3: fix kwargs handling in hgext/split.py

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG5ba0cf22e4d0: py3: fix kwargs handling in hgext/split.py (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3593?vs=8764&id=8798

D3598: py3: add b'' prefixes in tests/test-pager.t

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG5a3feb2bc9dd: py3: add b'' prefixes in tests/test-pager.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3598?vs=8769&id=8803

D3594: py3: add b'' prefixes in tests/test-bugzilla.t

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGfc3cca406b2e: py3: add b'' prefixes in tests/test-bugzilla.t (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3594?vs=8765&id=8

D3591: py3: use '%d' for integers in hgext/infinitepush/__init__.py

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHGa40041caf8af: py3: use '%d' for integers in hgext/infinitepush/__init__.py (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D359

D3616: py3: fix kwargs handling in hgext/rebase.py

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG46e8abc4eb04: py3: fix kwargs handling in hgext/rebase.py (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3616?vs=8788&id=8793

D3617: py3: use pycompat.bytestr() to convert str into bytes

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG64280cd4b454: py3: use pycompat.bytestr() to convert str into bytes (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3617?vs=87

D3590: py3: make sure we pass str to date.strftime()

2018-05-19 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG543b7b349b2c: py3: make sure we pass str to date.strftime() (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3590?vs=8761&id=87

D3620: tests: fix test-patch.t on picker /bin/sh implementations

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit added inline comments. INLINE COMMENTS > test-patch.t:100 > + > + $ hg import ../c/p --config ui.patch="python '$PWD/exit1.py'" >applying ../c/p test-check-code.t says hi: + tests/test-patch.t:100: + > $ hg import ../c/p --config ui.patch="python '$PWD/exit1.py'" + don'

D3620: tests: fix test-patch.t on picker /bin/sh implementations

2018-05-19 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY FreeBSD sh(1) doesn't accept -d, so we weren't testing what we expected there. Let's just use a simple Python script instead. REPOSITORY rHG Mercurial REVISION

D3619: patch: add debug message to show external patch tool invocation

2018-05-19 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/D3619 AFFECTED FILES mercurial/patch.py CHANGE DETAILS diff --git a/mercurial/patch.py b/mercurial/pat

D3618: pathencode: remove unused variable

2018-05-19 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Caught by Yuya during review of https://phab.mercurial-scm.org/rHG92ac9cf78dba7765b39e32e1380bfa5e51a44ff5. REPOSITORY rHG Mercurial REVISION DETAIL https://p

D3615: py3: add 13 new passing tests to whitelist

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit added a comment. The number of tests passing on Python 3 is 500 with this patch! REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3615 To: pulkit, #hg-reviewers Cc: mercurial-devel ___ Mercurial-devel mailing list

D3617: py3: use pycompat.bytestr() to convert str into bytes

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY the keys of opts are str here, so we have to convert it to bytes before passing into error.Abort() REPOSITORY rHG Mercurial REVISION DETAIL https://phab.merc

D3616: py3: fix kwargs handling in hgext/rebase.py

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY We add r'' prefixes to prevent the transformer adding b'' prefixes. 1. skip-blame because just r'' prefixes REPOSITORY rHG Mercurial REVISION DETAIL https:

D3579: state: write the version number in plain text on top of state files

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit updated this revision to Diff 8787. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D3579?vs=8734&id=8787 REVISION DETAIL https://phab.mercurial-scm.org/D3579 AFFECTED FILES mercurial/state.py CHANGE DETAILS diff --git a/mercurial/state.py b/me

D3615: py3: add 13 new passing tests to whitelist

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit 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/D3615 AFFECTED FILES contrib/python3-whitelist CHANGE DETAILS diff --git a/contrib/python3-whitelist b/

D3614: py3: check for None before comparing with integers

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a reviewer: indygreg. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Comparing None and integers on Python 3 is not allowed and raise error. REPOSITORY rHG Mercurial REVISION DETAIL https://phab

D3613: py3: use `except error as e` instead of `except error, e`

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The latter throws SyntaxError on Python 3. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3613 AFFECTED FILES tests/test-parseindex

D3609: py3: bytestr() bytes to get bytechar while iterating on it

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Iterating on bytes give you ascii values instead of bytechr so we need to wrap the bytes in pycompat.bytestr() to get bytechr while iterating. REPOSITORY rHG Mer

D3611: py3: add b'' prefixes in tests/test-parseindex.t

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 1. skip-blame because just b'' prefixes REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3611 AFFECTED FILES tests/test-parseindex.t

D3612: py3: use pycompat.fsencode() to convert tempfile name to bytes

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit 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/D3612 AFFECTED FILES hgext/infinitepush/__init__.py CHANGE DETAILS diff --git a/hgext/infinitepush/__in

D3610: py3: fix .write() calls in few tests

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This patch adds b'' prefixes to make sure we write bytes and add `and None` in the end to suppress the output by .write() calls. REPOSITORY rHG Mercurial REVISI

D3608: py3: slice over bytes to prevent getting the ascii values

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit 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/D3608 AFFECTED FILES mercurial/patch.py CHANGE DETAILS diff --git a/mercurial/patch.py b/mercurial/patc

D3605: py3: add b'' prefix in test/test-fileset.t

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 1. skip-blame because just a b'' prefix REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3605 AFFECTED FILES tests/test-fileset.t CH

D3607: py3: use utils.stringutil.forcebytestr to convert error to bytes

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit 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/D3607 AFFECTED FILES hgext/infinitepush/__init__.py mercurial/fileset.py CHANGE DETAILS diff --git a/

D3606: py3: make sure we open files in bytes mode

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY we internally deal with bytes and should read files in bytes mode. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3606 AFFECTED FILES

D3604: py3: suppress the output from .write() calls in few tests

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit 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/D3604 AFFECTED FILES tests/test-fileset.t tests/test-import-git.t tests/test-parse-date.t tests/tes

D3603: py3: use print as a function in tests/test-parseindex.t

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit 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/D3603 AFFECTED FILES tests/test-parseindex.t CHANGE DETAILS diff --git a/tests/test-parseindex.t b/test

D3602: py3: use print as a function in tests/test-pull.t

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit 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/D3602 AFFECTED FILES tests/test-pull.t CHANGE DETAILS diff --git a/tests/test-pull.t b/tests/test-pull.

D3600: py3: add b'' prefixes in tests/test-progress.t

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 1. skip-blame because just b'' prefixes REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3600 AFFECTED FILES tests/test-progress.t C

D3599: py3: add b'' prefixes in tests/test-profile.t

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 1. skip-blame because just b'' prefixes REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3599 AFFECTED FILES tests/test-profile.t CH

D3601: py3: add b'' prefixes in tests/test-rebuildstate.t

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 1. skip-blame because just b'' prefixes REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3601 AFFECTED FILES tests/test-rebuildstate.

D3598: py3: add b'' prefixes in tests/test-pager.t

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 1. skip-blame because just b'' prefixes REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3598 AFFECTED FILES tests/test-pager.t CHAN

D3596: py3: add b'' prefixes in tests/test-extensions-afterloaded.t

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 1. skip-blame because just b'' prefixes REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3596 AFFECTED FILES tests/test-extensions-af

D3597: py3: add b'' prefixes in tests/test-hgrc.t

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 1. skip-blame because just b'' prefixes REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3597 AFFECTED FILES tests/test-hgrc.t CHANG

D3595: py3: add b'' prefixes in tests/test-custom-filters.t

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 1. skip-blame because just b'' prefixes REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3595 AFFECTED FILES tests/test-custom-filter

D3594: py3: add b'' prefixes in tests/test-bugzilla.t

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 1. skip-blame because just b'' prefixes REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D3594 AFFECTED FILES tests/test-bugzilla.t C

D3592: py3: add b'' prefixes in hgext/convert/subversion.py

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY Litrerals starting with tripe quotes or prepended with r'' does not get prepended by b'' by the transformer. 1. skip-blame because just adding b'' prefixes RE

D3593: py3: fix kwargs handling in hgext/split.py

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit 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/D3593 AFFECTED FILES hgext/split.py CHANGE DETAILS diff --git a/hgext/split.py b/hgext/split.py --- a/h

D3591: py3: use '%d' for integers in hgext/infinitepush/__init__.py

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit 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/D3591 AFFECTED FILES hgext/infinitepush/__init__.py CHANGE DETAILS diff --git a/hgext/infinitepush/__in

D3590: py3: make sure we pass str to date.strftime()

2018-05-19 Thread pulkit (Pulkit Goyal)
pulkit 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/D3590 AFFECTED FILES hgext/churn.py CHANGE DETAILS diff --git a/hgext/churn.py b/hgext/churn.py --- a/h

[PATCH evolve-ext] debian: add line to clean-docs target to delete additional docs file

2018-05-19 Thread Faheem Mitha
# HG changeset patch # User Faheem Mitha # Date 1526734596 -19800 # Sat May 19 18:26:36 2018 +0530 # Branch stable # Node ID 31a5c06bea822b58db8d77d23edea7832ae301c5 # Parent 4a70392f1723c9e31d8b7fa68b2fc942d024901d debian: add line to clean-docs target to delete additional docs file diff -

Re: [PATCH 1 of 7] hgweb: wrap {diffstat} with mappedgenerator

2018-05-19 Thread Pulkit Goyal
On Sun, May 13, 2018 at 8:50 AM Yuya Nishihara wrote: > # HG changeset patch > # User Yuya Nishihara > # Date 1522768777 -32400 > # Wed Apr 04 00:19:37 2018 +0900 > # Node ID 19ec816173c015626e2001e14ed3fe2be7a13d8b > # Parent 74982ab8ca762a3cfe3648740dae27555232476b > hgweb: wrap {diffsta