mirror of
				https://github.com/clearml/clearml
				synced 2025-06-26 18:16:07 +00:00 
			
		
		
		
	Fix dataset not synced if the changes are only modified files (#835)
This commit is contained in:
		
							parent
							
								
									64e1fb8571
								
							
						
					
					
						commit
						7d6897f91b
					
				| @ -667,7 +667,7 @@ def ds_sync(args): | ||||
|     print("Sync completed: {} files removed, {} added, {} modified".format(removed, added, modified)) | ||||
| 
 | ||||
|     if not args.skip_close: | ||||
|         if dataset_created and not removed and not added: | ||||
|         if dataset_created and not removed and not added and not modified: | ||||
|             print('Zero modifications on local copy, reverting dataset creation.') | ||||
|             Dataset.delete(ds.id, force=True) | ||||
|             return 0 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user