Show More
@@ -505,7 +505,7 b' def doexport(ui, repo, changeset, seqno,' | |||||
505 |
|
505 | |||
506 | if opts['output'] and opts['output'] != '-': |
|
506 | if opts['output'] and opts['output'] != '-': | |
507 | try: |
|
507 | try: | |
508 | fp = open(expand(opts['output']), 'w') |
|
508 | fp = open(expand(opts['output']), 'wb') | |
509 | except KeyError, inst: |
|
509 | except KeyError, inst: | |
510 | ui.warn("error: invalid format spec '%%%s' in output file name\n" % |
|
510 | ui.warn("error: invalid format spec '%%%s' in output file name\n" % | |
511 | inst.args[0]) |
|
511 | inst.args[0]) |
General Comments 0
You need to be logged in to leave comments.
Login now