D7544: py3: remove incorrect b prefix on second argument to open in subrepo.py
spectral (Kyle Lippincott)
phabricator at mercurial-scm.org
Wed Dec 4 01:36:11 UTC 2019
spectral 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/D7544
AFFECTED FILES
mercurial/subrepo.py
CHANGE DETAILS
diff --git a/mercurial/subrepo.py b/mercurial/subrepo.py
--- a/mercurial/subrepo.py
+++ b/mercurial/subrepo.py
@@ -1434,7 +1434,7 @@
# which is mostly progress and useful info
errpipe = None
if self.ui.quiet:
- errpipe = open(os.devnull, b'w')
+ errpipe = open(os.devnull, 'w')
if self.ui._colormode and len(commands) and commands[0] == b"diff":
# insert the argument in the front,
# the end of git diff arguments is used for paths
To: spectral, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list