Blender SVN: New Features #273
@ -337,10 +337,11 @@ def update_file_list_svn_list(context, svn_list_str: str) -> Dict:
|
|||||||
file_infos = svn_list_xml['lists']['list']['entry']
|
file_infos = svn_list_xml['lists']['list']['entry']
|
||||||
|
|
||||||
for file_info in file_infos:
|
for file_info in file_infos:
|
||||||
svn_path = file_info['name']
|
svn_path = str(Path(file_info['name']).as_posix())
|
||||||
kind = file_info['@kind']
|
kind = file_info['@kind']
|
||||||
file_entry = repo.external_files.get(svn_path)
|
file_entry = repo.external_files.get(svn_path)
|
||||||
if not file_entry:
|
if not file_entry:
|
||||||
|
continue
|
||||||
file_entry = repo.external_files.add()
|
file_entry = repo.external_files.add()
|
||||||
file_entry.svn_path = svn_path
|
file_entry.svn_path = svn_path
|
||||||
file_entry.absolute_path = str(repo.svn_to_absolute_path(svn_path))
|
file_entry.absolute_path = str(repo.svn_to_absolute_path(svn_path))
|
||||||
|
Loading…
Reference in New Issue
Block a user