Skip to content

Commit 68d6ab1

Browse files
committed
tree,remote: uploading to WebDAV only create directories if not exist
1 parent 5df4829 commit 68d6ab1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dvc/tree/webdav.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ def remove(self, path_info):
183183
# Creates directories
184184
def makedirs(self, path_info):
185185
# Terminate recursion
186-
if path_info.path == self.path_info.path:
186+
if path_info.path == self.path_info.path or self.exists(path_info):
187187
return
188188

189189
# Recursively descent to root

0 commit comments

Comments
 (0)