Changeset View
Changeset View
Standalone View
Standalone View
swh/loader/svn/replay.py
Show First 20 Lines • Show All 458 Lines • ▼ Show 20 Lines | ) -> DirEditor: | ||||
url = svn_urljoin(self.svnrepo.remote_url, copyfrom_path) | url = svn_urljoin(self.svnrepo.remote_url, copyfrom_path) | ||||
self.remove_child(path_bytes) | self.remove_child(path_bytes) | ||||
self.svnrepo.export( | self.svnrepo.export( | ||||
url, | url, | ||||
to=fullpath, | to=fullpath, | ||||
peg_rev=copyfrom_rev, | peg_rev=copyfrom_rev, | ||||
ignore_keywords=True, | ignore_keywords=True, | ||||
overwrite=True, | overwrite=True, | ||||
ignore_externals=True, | |||||
) | ) | ||||
self.directory[path_bytes] = from_disk.Directory.from_disk(path=fullpath) | self.directory[path_bytes] = from_disk.Directory.from_disk(path=fullpath) | ||||
return DirEditor( | return DirEditor( | ||||
self.directory, | self.directory, | ||||
self.rootpath, | self.rootpath, | ||||
path_bytes, | path_bytes, | ||||
self.file_states, | self.file_states, | ||||
▲ Show 20 Lines • Show All 613 Lines • Show Last 20 Lines |