Show More
@@ -544,11 +544,13 b' class svnsubrepo(abstractsubrepo):' | |||||
544 | env['LC_MESSAGES'] = 'C' |
|
544 | env['LC_MESSAGES'] = 'C' | |
545 | p = subprocess.Popen(cmd, bufsize=-1, close_fds=util.closefds, |
|
545 | p = subprocess.Popen(cmd, bufsize=-1, close_fds=util.closefds, | |
546 | stdout=subprocess.PIPE, stderr=subprocess.PIPE, |
|
546 | stdout=subprocess.PIPE, stderr=subprocess.PIPE, | |
547 | universal_newlines=True, env=env) |
|
547 | universal_newlines=True, env=env) | |
548 | stdout, stderr = p.communicate() |
|
548 | stdout, stderr = p.communicate() | |
549 | stderr = stderr.strip() |
|
549 | stderr = stderr.strip() | |
|
550 | if p.returncode: | |||
|
551 | raise util.Abort(stderr or 'exited with code %d' % p.returncode) | |||
550 | if stderr: |
|
552 | if stderr: | |
551 |
|
|
553 | self._ui.warn(stderr + '\n') | |
552 | return stdout |
|
554 | return stdout | |
553 |
|
555 | |||
554 | @propertycache |
|
556 | @propertycache |
General Comments 0
You need to be logged in to leave comments.
Login now