Submitter | phabricator |
---|---|
Date | March 30, 2020, 1:30 a.m. |
Message ID | <differential-rev-PHID-DREV-wpea6xvkkfgvsddkux47-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/45947/ |
State | New |
Headers | show |
Comments
marmoute added a comment. marmoute accepted this revision. looks legit. REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D8348/new/ REVISION DETAIL https://phab.mercurial-scm.org/D8348 To: indygreg, #hg-reviewers, marmoute Cc: marmoute, mercurial-devel
marmoute added a comment. marmoute added a subscriber: mharbison72. marmoute resigned from this revision. actually @mharbison72 comment on D8345 <https://phab.mercurial-scm.org/D8345> make me reconsider. Please allign the status of this with the status of D8345 <https://phab.mercurial-scm.org/D8345>. REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D8348/new/ REVISION DETAIL https://phab.mercurial-scm.org/D8348 To: indygreg, #hg-reviewers Cc: mharbison72, marmoute, mercurial-devel
Herald added a subscriber: mercurial-patches. This revision now requires changes to proceed. baymax added a comment. baymax requested changes to this revision. There seems to have been no activities on this Diff for the past 3 Months. By policy, we are automatically moving it out of the `need-review` state. Please, move it back to `need-review` without hesitation if this diff should still be discussed. :baymax:need-review-idle: REPOSITORY rHG Mercurial CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D8348/new/ REVISION DETAIL https://phab.mercurial-scm.org/D8348 To: indygreg, #hg-reviewers, marmoute, baymax Cc: mercurial-patches, mharbison72, marmoute, mercurial-devel
Patch
diff --git a/tests/test-fix.t b/tests/test-fix.t --- a/tests/test-fix.t +++ b/tests/test-fix.t @@ -3,10 +3,19 @@ $ UPPERCASEPY="$TESTTMP/uppercase.py" $ cat > $UPPERCASEPY <<EOF + > import io > import sys > from mercurial.utils.procutil import setbinary > setbinary(sys.stdin) > setbinary(sys.stdout) + > if sys.version_info[0] >= 3: + > sys.stdout = io.TextIOWrapper( + > sys.stdout.buffer, + > sys.stdout.encoding, + > sys.stdout.errors, + > newline="\n", + > line_buffering=sys.stdout.line_buffering, + > ) > lines = set() > for arg in sys.argv[1:]: > if arg == 'all':