Submitter | Augie Fackler |
---|---|
Date | March 3, 2017, 7:30 p.m. |
Message ID | <2a02a4ec5147f8bd6685.1488569404@imladris.local> |
Download | mbox | patch |
Permalink | /patch/18894/ |
State | Accepted |
Headers | show |
Comments
Patch
diff --git a/mercurial/config.py b/mercurial/config.py --- a/mercurial/config.py +++ b/mercurial/config.py @@ -169,5 +169,5 @@ class config(object): def read(self, path, fp=None, sections=None, remap=None): if not fp: - fp = util.posixfile(path) + fp = util.posixfile(path, r'rb') self.parse(path, fp.read(), sections, remap, self.read)