Forcefully create path for symlink (hack)
diff --git a/trsync/objects/rsync_ops.py b/trsync/objects/rsync_ops.py
index 794feb8..ff79eb4 100644
--- a/trsync/objects/rsync_ops.py
+++ b/trsync/objects/rsync_ops.py
@@ -207,6 +207,7 @@
raise RuntimeError('Symlink {} already exists'.format(symlink))
temp_dir = self._tmp.get_temp_dir()
remote_path, symlink = os.path.split(self.url.a_file(symlink))
+ self.mk_dir(remote_path)
# check that target is exists on remote
if not self.ls(os.path.join(remote_path, target)):
raise RuntimeError('Target {} does not exists'.format(target))