Show More
@@ -220,7 +220,7 b' def patchbomb(ui, repo, *revs, **opts):' | |||||
220 | tmpfn = os.path.join(tmpdir, 'bundle') |
|
220 | tmpfn = os.path.join(tmpdir, 'bundle') | |
221 | try: |
|
221 | try: | |
222 | commands.bundle(ui, repo, tmpfn, dest, **opts) |
|
222 | commands.bundle(ui, repo, tmpfn, dest, **opts) | |
223 | return open(tmpfn).read() |
|
223 | return open(tmpfn, 'rb').read() | |
224 | finally: |
|
224 | finally: | |
225 | try: |
|
225 | try: | |
226 | os.unlink(tmpfn) |
|
226 | os.unlink(tmpfn) |
General Comments 0
You need to be logged in to leave comments.
Login now