[#4258] ticket:84 Use communicate instead of wait.
diff --git a/ForgeSVN/forgesvn/model/svn.py b/ForgeSVN/forgesvn/model/svn.py
index 10ac017..198d33c 100644
--- a/ForgeSVN/forgesvn/model/svn.py
+++ b/ForgeSVN/forgesvn/model/svn.py
@@ -188,9 +188,8 @@
 
         def check_call(cmd):
             p = Popen(cmd, stdout=PIPE, stderr=PIPE)
-            p.wait()
+            stdout, stderr = p.communicate()
             if p.returncode != 0:
-                stdout, stderr = p.communicate()
                 raise SVNCalledProcessError(cmd, p.returncode, stdout, stderr)
 
         check_call(['svnsync', 'init', self._url, source_url])