git svn clone results in empty directory

git, svn

Solution

Below command did the job:

  git svn clone -r HEAD <url>/root/projectA 

Problem

I have an svn repository with project structure: ``` /root/projectA/trunk /root/projectA/branches /root/projectA/tags /root/projectB/trunk /root/projectB/branches /root/projectB/tags ``` I want to clone projectA. When I run: ``` git svn clone -r <revision number>:HEAD <url>/root/projectA ``` I get no errors and a git repository is created under the new projectA directory. However the directory is empty. Am I missing soemthing?

Original source

Related problems