(command, *args)
| 52 | pass |
| 53 | |
| 54 | def svn_command(command, *args): |
| 55 | cmd = ['svn', '--non-interactive', command] + list(args) |
| 56 | print('Running:', ' '.join(cmd)) |
| 57 | process = subprocess.Popen(cmd, |
| 58 | stdout=subprocess.PIPE, |
| 59 | stderr=subprocess.STDOUT) |
| 60 | stdout = process.communicate()[0] |
| 61 | if process.returncode: |
| 62 | error = SVNError('SVN command failed:\n' + stdout) |
| 63 | error.returncode = process.returncode |
| 64 | raise error |
| 65 | return stdout |
| 66 | |
| 67 | def check_no_pending_commit(): |
| 68 | """Checks that there is no pending commit in the sandbox.""" |
no test coverage detected