• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

allura


Commit MetaInfo

Révision23365387084dcc70b9fcafb5b6723d38235f91b9 (tree)
l'heure2012-06-22 18:33:08
Auteurbolkimen <bolkimen@yaho...>
Commiterbolkimen

Message de Log

[#4264] ticket:88 add p parameter for permanent accept

Change Summary

Modification

--- a/ForgeSVN/forgesvn/model/svn.py
+++ b/ForgeSVN/forgesvn/model/svn.py
@@ -187,8 +187,8 @@ class SVNImplementation(M.RepositoryImplementation):
187187 os.chmod(fn, 0755)
188188
189189 def check_call(cmd):
190- p = Popen(cmd, stdout=PIPE, stderr=PIPE)
191- stdout, stderr = p.communicate()
190+ p = Popen(cmd, stdin=PIPE, stdout=PIPE, stderr=PIPE)
191+ stdout, stderr = p.communicate(input='p\n')
192192 if p.returncode != 0:
193193 raise SVNCalledProcessError(cmd, p.returncode, stdout, stderr)
194194