Difference between revisions of "Github migration dir restructure"

(New page: 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 ...)
 
m
 
Line 8: Line 8:
 
</source>
 
</source>
 
* 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.
 
* 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.
 +
 +
[[Category: Software Engineering]]

Latest revision as of 21:16, 12 July 2018

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.