Empty folders are not mirrored into bitbucket

Hi Team,

we have some empty folders in svn repo and which are not mirrored into the bitbucket, can you please advise if there any configuration to add?

(e.g, empty folders in svn repo are .folder1 .folder2 and .deps)

Hi Manjunatha,

this actually not something SVN Mirror add-on is doing, this is Git limitation – Git just does not support empty directories:

https://git.wiki.kernel.org/index.php/GitFaq#Can_I_add_empty_directories.3F

A possible workaround is to add some stub file to the directory that should be present in Git (say, zero-size ‘.empty’ file). In this case, the directory will appear in Git.

Thanks for details