Github migration dir restructure

How do I checkout from the top branch without checking out a slew of stuff I don't need?

  • Answer: use subversion sparse directories feature, requires newer svn client with --depth option
  • Use borax, work /usr/workspace/wsa/visit/miller86/visit_git_migration
svn checkout svn+ssh://miller86@edison.nersc.gov/project/projectdirs/visit/svn/visit/branches/2.13RC --depth immediates
cd 2.13RC
for d in data docs test; do pushd $d; svn update --set-depth infinity; popd; done
  • The above commands have the effect of checking out only immediate children of top level dir and then expanding fully only the data docs and test dirs.