Mercurial > hgsubversion
comparison tests/test_single_dir_push.py @ 1343:e597714cb420 stable
tests: pass --quiet anyplace we call dispatch to run a command
Without this the now-in-core progress code will fire when we run
dispatch since that picks up a clean ui.ui() instance that we can't
set .quiet on easily.
author | Augie Fackler <raf@durin42.com> |
---|---|
date | Tue, 11 Aug 2015 16:56:37 -0400 |
parents | c6b01fd34694 |
children | 0ebcc5bbf692 |
comparison
equal
deleted
inserted
replaced
1342:c6b01fd34694 | 1343:e597714cb420 |
---|---|
169 @test_util.requiresoption('branch') | 169 @test_util.requiresoption('branch') |
170 def test_push_single_dir_renamed_branch(self): | 170 def test_push_single_dir_renamed_branch(self): |
171 # Tests pulling and pushing with a renamed branch | 171 # Tests pulling and pushing with a renamed branch |
172 # Based on test_push_single_dir | 172 # Based on test_push_single_dir |
173 repo_path = self.load_svndump('branch_from_tag.svndump') | 173 repo_path = self.load_svndump('branch_from_tag.svndump') |
174 cmd = ['clone', '--layout=single', '--branch=flaf'] | 174 cmd = ['clone', '--quiet', '--layout=single', '--branch=flaf'] |
175 if self.stupid: | 175 if self.stupid: |
176 cmd.append('--stupid') | 176 cmd.append('--stupid') |
177 cmd += [test_util.fileurl(repo_path), self.wc_path] | 177 cmd += [test_util.fileurl(repo_path), self.wc_path] |
178 test_util.dispatch(cmd) | 178 test_util.dispatch(cmd) |
179 | 179 |