changeset 615 | ad2999fad721 |
parent 614 | 6bff574d639f |
child 617 | 285965ddca41 |
--- a/mercurial/commands.py Mon Jul 04 12:18:58 2005 -0800 +++ b/mercurial/commands.py Mon Jul 04 12:22:21 2005 -0800 @@ -505,7 +505,7 @@ if opts['output'] and opts['output'] != '-': try: - fp = open(expand(opts['output']), 'w') + fp = open(expand(opts['output']), 'wb') except KeyError, inst: ui.warn("error: invalid format spec '%%%s' in output file name\n" % inst.args[0])