comparison tests/test_push_command.py @ 340:88ba55ad58c0

Minor tweaks to wrapper documentation.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Tue, 19 May 2009 11:43:49 +0200
parents 46e69be8e2c8
children af1508b7ad54
comparison
equal deleted inserted replaced
339:13998e698d3e 340:88ba55ad58c0
58 args = ['svnserve', '--daemon', '--foreground', 58 args = ['svnserve', '--daemon', '--foreground',
59 '--listen-port=%d' % self.port, 59 '--listen-port=%d' % self.port,
60 '--listen-host=%s' % self.host, 60 '--listen-host=%s' % self.host,
61 '--root=%s' % self.repo_path] 61 '--root=%s' % self.repo_path]
62 62
63 self.svnserve_pid = subprocess.Popen(args).pid 63 svnserve = subprocess.Popen(args, stdout=subprocess.PIPE,
64 stderr=subprocess.STDOUT)
65 self.svnserve_pid = svnserve.pid
64 try: 66 try:
65 time.sleep(2) 67 time.sleep(2)
66 import shutil 68 import shutil
67 shutil.rmtree(self.wc_path) 69 shutil.rmtree(self.wc_path)
68 commands.clone(ui.ui(), 'svn://%s:%d/' % (self.host, self.port), 70 commands.clone(ui.ui(), 'svn://%s:%d/' % (self.host, self.port),