comparison tests/test_util.py @ 888:c6388ed0ec0a

svnmeta: only remove directory components in normalize() Previously, a file beginning with the repository subdirectory would be stripped, resulting in a leftover file name with a wrong name. A subsequent pull of a revision modifying the file would add it under its correct name, but leave the leftover file.
author Dan Villiom Podlaski Christiansen <dan@cabo.dk>
date Wed, 14 Dec 2011 00:07:57 +0100
parents d3ff5807f1bd
children 78db88de9622
comparison
equal deleted inserted replaced
887:f95c429124f3 888:c6388ed0ec0a
94 'empty_dir_in_trunk_not_repo_root.svndump': '/project', 94 'empty_dir_in_trunk_not_repo_root.svndump': '/project',
95 'project_root_not_repo_root.svndump': '/dummyproj', 95 'project_root_not_repo_root.svndump': '/dummyproj',
96 'project_name_with_space.svndump': '/project name', 96 'project_name_with_space.svndump': '/project name',
97 'non_ascii_path_1.svndump': '/b\xC3\xB8b', 97 'non_ascii_path_1.svndump': '/b\xC3\xB8b',
98 'non_ascii_path_2.svndump': '/b%C3%B8b', 98 'non_ascii_path_2.svndump': '/b%C3%B8b',
99 'subdir_is_file_prefix.svndump': '/flaf',
99 } 100 }
100 101
101 FIXTURES = os.path.join(os.path.abspath(os.path.dirname(__file__)), 102 FIXTURES = os.path.join(os.path.abspath(os.path.dirname(__file__)),
102 'fixtures') 103 'fixtures')
103 104