author | Patrick Mezard <pmezard@gmail.com> |
Fri, 28 Dec 2007 16:41:40 +0100 | |
changeset 5752 | 84a6e463b948 |
parent 5672 | 8a65ea986755 |
child 5753 | ea1016b32e94 |
--- a/hgext/patchbomb.py Thu Dec 27 13:39:03 2007 +0100 +++ b/hgext/patchbomb.py Fri Dec 28 16:41:40 2007 +0100 @@ -220,7 +220,7 @@ tmpfn = os.path.join(tmpdir, 'bundle') try: commands.bundle(ui, repo, tmpfn, dest, **opts) - return open(tmpfn).read() + return open(tmpfn, 'rb').read() finally: try: os.unlink(tmpfn)