git svn clone -s -r HEAD http://svn/java/<projectname>

Not that you can do a range with a -r 2039:HEAD for revisions 2039 -> HEAD.

Mario Loria is a builder of diverse infrastructure with modern workloads on both bare-metal and cloud platforms. He's traversed roles in system administration, network engineering, and DevOps. You can learn more about him here.