Mercurial > hgsubversion
comparison tests/test_push_command.py @ 576:d96aa92d9ad9
tests: silence test suite by using quiet UIs everywhere
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Fri, 26 Feb 2010 14:50:22 +0100 |
parents | d74bf020a61c |
children | 96552e855d7e |
comparison
equal
deleted
inserted
replaced
575:c278a225b750 | 576:d96aa92d9ad9 |
---|---|
9 | 9 |
10 from mercurial import context | 10 from mercurial import context |
11 from mercurial import commands | 11 from mercurial import commands |
12 from mercurial import hg | 12 from mercurial import hg |
13 from mercurial import node | 13 from mercurial import node |
14 from mercurial import ui | |
15 from mercurial import revlog | 14 from mercurial import revlog |
16 from mercurial import util as hgutil | 15 from mercurial import util as hgutil |
17 | 16 |
18 import test_util | 17 import test_util |
19 import time | 18 import time |
92 self.svnserve_pid = svnserve.pid | 91 self.svnserve_pid = svnserve.pid |
93 try: | 92 try: |
94 time.sleep(2) | 93 time.sleep(2) |
95 import shutil | 94 import shutil |
96 shutil.rmtree(self.wc_path) | 95 shutil.rmtree(self.wc_path) |
97 commands.clone(ui.ui(), 'svn://%s:%d/' % (self.host, self.port), | 96 commands.clone(self.ui(), 'svn://%s:%d/' % (self.host, self.port), |
98 self.wc_path, noupdate=True) | 97 self.wc_path, noupdate=True) |
99 | 98 |
100 repo = self.repo | 99 repo = self.repo |
101 old_tip = repo['tip'].node() | 100 old_tip = repo['tip'].node() |
102 expected_parent = repo['default'].node() | 101 expected_parent = repo['default'].node() |