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