Mercurial > hgsubversion
diff tests/test_util.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 | 3c3c3264c362 |
children | 76c833526fbc |
line wrap: on
line diff
--- a/tests/test_util.py +++ b/tests/test_util.py @@ -14,7 +14,7 @@ from mercurial import hg from mercurial import node from mercurial import ui -import util +from hgsubversion import util # Fixtures that need to be pulled at a subdirectory of the repo path subdir = {'truncatedhistory.svndump': '/project2', @@ -50,7 +50,7 @@ def load_fixture_and_fetch(fixture_name, load_svndump_fixture(repo_path, fixture_name) if subdir: repo_path += '/' + subdir - + _ui = ui.ui() _ui.setconfig('hgsubversion', 'stupid', str(stupid)) commands.clone(_ui, fileurl(repo_path), wc_path, noupdate=noupdate)