Submitter | phabricator |
---|---|
Date | April 18, 2022, 6:54 p.m. |
Message ID | <differential-rev-PHID-DREV-sncfh2g4yzloncvqlxzq-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/50916/ |
State | New |
Headers | show |
Comments
Patch
diff --git a/hgext/git/dirstate.py b/hgext/git/dirstate.py --- a/hgext/git/dirstate.py +++ b/hgext/git/dirstate.py @@ -33,7 +33,7 @@ return orig(filepath, warn, sourceinfo=False) result = [] warnings = [] - with open(filepath, b'rb') as fp: + with open(filepath, 'rb') as fp: for l in fp: l = l.strip() if not l or l.startswith(b'#'):