Mercurial > hgsubversion
diff tests/test_util.py @ 112:e58c2f1de059
Fix a regression in converting repositories with files copied in from outside
branches/tags/trunk where repo root != project root.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Tue, 25 Nov 2008 16:21:57 -0600 |
parents | 9b5e528f67f8 |
children | 40474f6c1f84 |
line wrap: on
line diff
--- a/tests/test_util.py +++ b/tests/test_util.py @@ -40,8 +40,10 @@ def load_svndump_fixture(path, fixture_n proc.stdin.flush() proc.communicate() -def load_fixture_and_fetch(fixture_name, repo_path, wc_path, stupid=False): +def load_fixture_and_fetch(fixture_name, repo_path, wc_path, stupid=False, subdir=''): load_svndump_fixture(repo_path, fixture_name) + if subdir: + repo_path += '/' + subdir fetch_command.fetch_revisions(ui.ui(), svn_url=fileurl(repo_path), hg_repo_path=wc_path,