Show More
@@ -498,15 +498,15 b' class SvnRemote(RemoteBase):' | |||
|
498 | 498 | |
|
499 | 499 | return ''.join(p), ''.join(p.error) |
|
500 | 500 | except (EnvironmentError, OSError) as err: |
|
501 | if safe_call: | |
|
502 | return '', err | |
|
503 | else: | |
|
501 | 504 | cmd = ' '.join(cmd) # human friendly CMD |
|
502 | 505 | tb_err = ("Couldn't run svn command (%s).\n" |
|
503 | 506 | "Original error was:%s\n" |
|
504 | 507 | "Call options:%s\n" |
|
505 | 508 | % (cmd, err, _opts)) |
|
506 | 509 | log.exception(tb_err) |
|
507 | if safe_call: | |
|
508 | return '', err | |
|
509 | else: | |
|
510 | 510 | raise exceptions.VcsException()(tb_err) |
|
511 | 511 | |
|
512 | 512 | @reraise_safe_exceptions |
General Comments 0
You need to be logged in to leave comments.
Login now