• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

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

allura


Commit MetaInfo

Revision23365387084dcc70b9fcafb5b6723d38235f91b9 (tree)
Time2012-06-22 18:33:08
Authorbolkimen <bolkimen@yaho...>
Commiterbolkimen

Log Message

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

Change Summary

Incremental Difference

--- 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