Mercurial > hgsubversion
comparison tests/test_push_command.py @ 337:46e69be8e2c8
Reorganize to have a more conventional module structure.
This means that hgsubversion now uses absolute imports instead of
relative ones, which makes the tests more reliable.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Wed, 13 May 2009 21:39:39 -0500 |
parents | c0b943cef0c3 |
children | 88ba55ad58c0 |
comparison
equal
deleted
inserted
replaced
336:c0b943cef0c3 | 337:46e69be8e2c8 |
---|---|
61 '--root=%s' % self.repo_path] | 61 '--root=%s' % self.repo_path] |
62 | 62 |
63 self.svnserve_pid = subprocess.Popen(args).pid | 63 self.svnserve_pid = subprocess.Popen(args).pid |
64 try: | 64 try: |
65 time.sleep(2) | 65 time.sleep(2) |
66 import shutil | |
67 shutil.rmtree(self.wc_path) | |
66 commands.clone(ui.ui(), 'svn://%s:%d/' % (self.host, self.port), | 68 commands.clone(ui.ui(), 'svn://%s:%d/' % (self.host, self.port), |
67 self.wc_path, noupdate=True) | 69 self.wc_path, noupdate=True) |
68 | 70 |
69 repo = self.repo | 71 repo = self.repo |
70 old_tip = repo['tip'].node() | 72 old_tip = repo['tip'].node() |