D2541: verify: fix exception formatting bug in Python 3

2018-03-02 Thread yuja (Yuya Nishihara)
yuja requested changes to this revision. yuja added a comment. This revision now requires changes to proceed. According to https://phab.mercurial-scm.org/rHG12998fd17fbc9a26ac144da32c66368b7c11dc0a, the original intent was to use repr() if str(inst) was empty. Needs

D2555: py3: two more passing tests

2018-03-02 Thread pulkit (Pulkit Goyal)
pulkit accepted this revision. pulkit added inline comments. INLINE COMMENTS > python3-whitelist:221 > test-obshistory.t > +test-obsmarker-template.t > test-obsmarkers-effectflag.t This one passes. \o/ REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2555 To:

D2552: py3: sixteen more passing tests

2018-03-02 Thread pulkit (Pulkit Goyal)
pulkit added a comment. yayyayyayyay REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2552 To: durin42, pulkit, #hg-reviewers Cc: mercurial-devel ___

D2549: debugcommands: fix repr in debugignore print with pycompat.bytestr

2018-03-02 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/D2549 AFFECTED FILES mercurial/debugcommands.py CHANGE DETAILS diff --git

D2486: wireproto: don't expose changegroupsubset capability if not available

2018-03-02 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6339. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2486?vs=6185=6339 REVISION DETAIL https://phab.mercurial-scm.org/D2486 AFFECTED FILES mercurial/wireproto.py tests/test-debugcommands.t

D2551: match: some minimal pycompat fixes guided by test-hgignore.t

2018-03-02 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/D2551 AFFECTED FILES mercurial/match.py CHANGE DETAILS diff --git a/mercurial/match.py

D2550: tests: add more tests around hook output and getbundle

2018-03-02 Thread indygreg (Gregory Szorc)
indygreg created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY The previous tests around hook output only tested Python hooks. Let's add some shell hooks in for additional test coverage. REPOSITORY rHG Mercurial REVISION

D2555: py3: two more passing tests

2018-03-02 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. REVISION SUMMARY Rather less than I'd been hoping for with that showlist fix, but presumably the other things this would have fixed have other

D2552: py3: sixteen more passing tests

2018-03-02 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/D2552 AFFECTED FILES contrib/python3-whitelist CHANGE DETAILS diff

D2554: templatekw: fix dict construction in _showlist to not mix bytes and strs

2018-03-02 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY What we had was fine on Python 2, but was slightly wrong on Python 3. This works on both. REPOSITORY rHG Mercurial REVISION DETAIL

D2547: purge: apply byteskwargs to opts, fixing all python3 issues here

2018-03-02 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/D2547 AFFECTED FILES hgext/purge.py CHANGE DETAILS diff --git a/hgext/purge.py b/hgext/purge.py ---

D2553: templatefilters: avoid infinite recursion bug in stringify

2018-03-02 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This doesn't ever happen on Python 2, but it's been a persistent pain on Python 3. Adding this helped produce some of my upcoming Python 3 fixes. REPOSITORY

D2513: wireproto: only expose "between" to version 1 of wire protocols

2018-03-02 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6343. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2513?vs=6258=6343 REVISION DETAIL https://phab.mercurial-scm.org/D2513 AFFECTED FILES mercurial/wireproto.py CHANGE DETAILS diff --git

D2512: wireproto: add transport specific capabilities in the transport

2018-03-02 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6341. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2512?vs=6257=6341 REVISION DETAIL https://phab.mercurial-scm.org/D2512 AFFECTED FILES mercurial/wireproto.py mercurial/wireprotoserver.py

D2548: exchange: remove dead assignment or forcebundle1

2018-03-02 Thread martinvonz (Martin von Zweigbergk)
martinvonz 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/D2548 AFFECTED FILES mercurial/exchange.py CHANGE DETAILS diff --git a/mercurial/exchange.py

D2485: wireproto: don't expose legacy commands to version 2 of wire protocol

2018-03-02 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6336. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2485?vs=6184=6336 REVISION DETAIL https://phab.mercurial-scm.org/D2485 AFFECTED FILES mercurial/wireproto.py tests/test-ssh-proto.t CHANGE DETAILS diff

D2546: tests: port test-bookmarks.t extension to Python 3

2018-03-02 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 1. skip-blame it's just b prefixes REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2546 AFFECTED FILES tests/test-bookmarks.t

D2545: scmutil: fix a repr in an error message on Python 3

2018-03-02 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/D2545 AFFECTED FILES mercurial/scmutil.py CHANGE DETAILS diff --git a/mercurial/scmutil.py

D2538: templatefilters: convert arguments to sysstrs for unicode() ctor

2018-03-02 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/D2538 AFFECTED FILES mercurial/templatefilters.py CHANGE DETAILS diff --git

D2541: verify: fix exception formatting bug in Python 3

2018-03-02 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/D2541 AFFECTED FILES mercurial/verify.py CHANGE DETAILS diff --git a/mercurial/verify.py

D2543: py3: add missing b prefixes in test-debugextensions.t

2018-03-02 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 1. skip-blame just some b prefixes REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2543 AFFECTED FILES

D2483: wireproto: allow wire protocol commands to declare transport support

2018-03-02 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6332. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2483?vs=6182=6332 REVISION DETAIL https://phab.mercurial-scm.org/D2483 AFFECTED FILES mercurial/wireproto.py mercurial/wireprototypes.py CHANGE DETAILS

D2484: wireprotoserver: identify requests via version 2 of SSH protocol as such

2018-03-02 Thread indygreg (Gregory Szorc)
indygreg updated this revision to Diff 6334. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2484?vs=6183=6334 REVISION DETAIL https://phab.mercurial-scm.org/D2484 AFFECTED FILES mercurial/wireprotoserver.py CHANGE DETAILS diff --git

D2544: bookmarks: fix a repr in a message on Python 3

2018-03-02 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/D2544 AFFECTED FILES mercurial/bookmarks.py CHANGE DETAILS diff --git a/mercurial/bookmarks.py

D2537: tests: make get-with-headers flush after print() calls

2018-03-02 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY This avoids some output buffering problems on Python 3. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2537 AFFECTED FILES

D2539: tests: add missing b prefix in test python in test-issue2137.t

2018-03-02 Thread durin42 (Augie Fackler)
durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers. REVISION SUMMARY 1. skip-blame just a b prefix REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D2539 AFFECTED FILES tests/test-issue2137.t CHANGE

D2542: tests: help dummysmtpd work on python 3

2018-03-02 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/D2542 AFFECTED FILES tests/dummysmtpd.py CHANGE DETAILS diff --git a/tests/dummysmtpd.py

D2540: tests: port helper script revlog-formatv0.py to python 3

2018-03-02 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/D2540 AFFECTED FILES tests/revlog-formatv0.py CHANGE DETAILS diff --git a/tests/revlog-formatv0.py

D2536: py3: use util.forcebytestr() to convert IOErrors to bytes

2018-03-02 Thread pulkit (Pulkit Goyal)
This revision was automatically updated to reflect the committed changes. Closed by commit rHG247e9bf4ecdc: py3: use util.forcebytestr() to convert IOErrors to bytes (authored by pulkit, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE

D2409: graft: add no-commit mode (issue5631)

2018-03-02 Thread khanchi97 (Sushil khanchi)
khanchi97 updated this revision to Diff 6325. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D2409?vs=6132=6325 REVISION DETAIL https://phab.mercurial-scm.org/D2409 AFFECTED FILES mercurial/commands.py tests/test-graft.t CHANGE DETAILS diff --git

<    1   2