# HG changeset patch # User Dan Villiom Podlaski Christiansen # Date 1242151952 -7200 # Node ID a59ab58969d9470c59605282967de3f63e408e26 # Parent 56d877e6ccbb06176fd71ace9643b3a15d59379a test_util: normalize path in svnls() diff --git a/tests/test_util.py b/tests/test_util.py --- a/tests/test_util.py +++ b/tests/test_util.py @@ -14,6 +14,8 @@ from mercurial import hg from mercurial import node from mercurial import ui +import util + # Fixtures that need to be pulled at a subdirectory of the repo path subdir = {'truncatedhistory.svndump': '/project2', 'fetch_missing_files_subdir.svndump': '/foo', @@ -116,7 +118,7 @@ class TestBase(unittest.TestCase): def svnls(self, path, rev='HEAD'): path = self.repo_path + '/' + path - path = fileurl(path) + path = util.normalize_url(fileurl(path)) args = ['svn', 'ls', '-r', rev, '-R', path] p = subprocess.Popen(args, stdout=subprocess.PIPE,