Submitter | phabricator |
---|---|
Date | March 1, 2018, 9:35 a.m. |
Message ID | <e5e6f6a9efc3c61eb68e14297bdf8ac7@localhost.localdomain> |
Download | mbox | patch |
Permalink | /patch/28537/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/tests/test-revlog-ancestry.py b/tests/test-revlog-ancestry.py --- a/tests/test-revlog-ancestry.py +++ b/tests/test-revlog-ancestry.py @@ -15,7 +15,7 @@ repo.commit(text=text, date=b"%d 0" % time) def addcommit(name, time): - f = open(name, 'w') + f = open(name, 'wb') f.write(b'%s\n' % name) f.close() repo[None].add([name])