Note |
---|
In 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.
Sparse checkout with TortoiseSVN
In order to create a sparse checkout, you use the same menu of TortoiseSVN you would use for an a usual (fully recursive) checkout; the only difference is the checkout depth:
- Checkout the main directory of openearthrawdata. Set Checkout Depth to 'Only this item' or 'Immediate children, including folders'. Do not choose 'Fully recursive'!
- Open the Repository Browser: Right-Mouse Button (RMB) on the newly created folder ==> TortoiseSVN ==> Repo-browser (or immediately Update to revision on a subfolder).
- Navigate to the folder you want to checkout completely.
- Press RMB on that subfolder, and select 'Update item to revision'.
- Press OK
You now have a partial checkout. If you later decide to checkout more, you can use the 'Update item to revision' trick on other folders.
Sparse checkout with command line tools
Another option is to use command 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 oneNote "Fully recursive" is default but is certainly not recommended here since the size of the data will soon grown beyond the storage capacity of your computer. Code Block 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.
Code Block 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.
Code Block 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.
Code Block svn checkout --username=USERNAME --depth empty https://svn.oss.deltares.nl/repos/openearthrawdata/trunk/ openearthrawdata