Mercurial > hgsubversion
diff tests/test_util.py @ 242:06130689a2c8
Move push into svncommands.
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Wed, 08 Apr 2009 17:53:48 +0200 |
parents | 4950b18cf949 |
children | ffccf0080e54 |
line wrap: on
line diff
--- a/tests/test_util.py +++ b/tests/test_util.py @@ -14,7 +14,6 @@ from mercurial import node from mercurial import ui import svncommands -import push_cmd # Fixtures that need to be pulled at a subdirectory of the repo path subdir = {'truncatedhistory.svndump': '/project2', @@ -122,9 +121,8 @@ class TestBase(unittest.TestCase): def pushrevisions(self, stupid=False): before = len(self.repo) - push_cmd.push_revisions_to_subversion( - ui.ui(), repo=self.repo, hg_repo_path=self.wc_path, - svn_url=fileurl(self.repo_path), stupid=stupid) + svncommands.push(ui.ui(), repo=self.repo, hg_repo_path=self.wc_path, + svn_url=fileurl(self.repo_path), stupid=stupid) after = len(self.repo) self.assertEqual(0, after - before)