Mercurial > hgsubversion
diff 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 |
line wrap: on
line diff
--- a/tests/test_util.py +++ b/tests/test_util.py @@ -96,6 +96,7 @@ subdir = {'truncatedhistory.svndump': '/ 'project_name_with_space.svndump': '/project name', 'non_ascii_path_1.svndump': '/b\xC3\xB8b', 'non_ascii_path_2.svndump': '/b%C3%B8b', + 'subdir_is_file_prefix.svndump': '/flaf', } FIXTURES = os.path.join(os.path.abspath(os.path.dirname(__file__)),