You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

In case of a sparse checkout (i.e. not fully recursive), externals are omitted

In case of large repositories, which is often the case with data repositories such as openearthrawdata, it is recommended to create a sparse checkout. This allows you to maintain the directory structure identical to the repository itself, but only get the data for specific parts that are of interest for you. In order to create a sparse checkout, you use the same menu of TortoiseSVN you would use for an usual (fully recursive) checkout; the only difference is the checkout depth:

Another option is to use command line tools. The options for the checkout depth are:

  • Fully recursive: Checkout the entire tree, including all child folders and sub-folders. PLEASE NOTE: this one is default but is certainly not recommended here since the size of the data will soon grown beyond the storage capacity of your computer.
     svn checkout --username=USERNAME --depth infinity https://svn.oss.deltares.nl/repos/openearthrawdata/trunk/ openearthrawdata
  • Immediate children, including folders: Checkout the specified directory, including all files and child folders, but do not populate the child folders.
     svn checkout --username=USERNAME --depth immediates https://svn.oss.deltares.nl/repos/openearthrawdata/trunk/ openearthrawdata
  • Only file children: Checkout the specified directory, including all files but do not checkout any child folders.
     svn checkout --username=USERNAME --depth files https://svn.oss.deltares.nl/repos/openearthrawdata/trunk/ openearthrawdata
  • Only this item: Checkout the directory only. Do not populate it with files or child folders.
     svn checkout --username=USERNAME --depth empty https://svn.oss.deltares.nl/repos/openearthrawdata/trunk/ openearthrawdata
  • No labels