Clone SVN repository with empty folder structure

168 views Asked by At

For the purposes of training new devs in our team, I would like to clone an SVN repository with its folder structure without any files or history in it.

  • SVN version 1.8.10 (r1615264)
  • Running on Debian 7
  • I have root permissions on the VM if needed

Thank you VERY much for your help!

1

There are 1 answers

1
bro On

Possible duplicate: SVN: Checkout/export only the directory structure

It is possible using

svn ls -R

From the first answer of the provided link (svn directory structure without checkout)

svn ls -R {svnrepo} | grep "/$" | xargs -n 1 mkdir -p