mirror of
				https://github.com/clearml/clearml-agent
				synced 2025-06-26 18:16:15 +00:00 
			
		
		
		
	Fix symbolic links not copied from cached VCS into working copy. Windows platform will result with default copy content instead of original symbolic link (issue #89)
This commit is contained in:
		
							parent
							
								
									fa1307e62c
								
							
						
					
					
						commit
						363aaeaba8
					
				| @ -663,7 +663,9 @@ def clone_repository_cached(session, execution, destination): | ||||
| 
 | ||||
|             vcs.pull() | ||||
|             rm_tree(destination) | ||||
|             shutil.copytree(Text(cached_repo_path), Text(clone_folder)) | ||||
|             shutil.copytree(Text(cached_repo_path), Text(clone_folder), | ||||
|                             symlinks=select_for_platform(linux=True, windows=False), | ||||
|                             ignore_dangling_symlinks=True) | ||||
|             if not clone_folder.is_dir(): | ||||
|                 raise CommandFailedError( | ||||
|                     "copying of repository failed: from {} to {}".format( | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 allegroai
						allegroai