Checking out individual files from a Subversion repository
Subversion does not directly support checking out individual files from a repository, however you can use sparse directories to achieve the same result.
Note: While you can view and work with svn sparse directories in Versions, the initial directory and all file checkouts must be performed using the
svn command line.
- Open the Terminal app and change to the directory where the working copy will be stored, e.g.:
- Use the
--depth emptyparameter to check out an empty directory, where the single files are located, from the server :
svn checkout --depth empty https://server/branches/directory
- Change directory into the working copy:
- Use the
svn updatecommand to checkout invididual files:
svn update filename
- (Optional) Use the
lscommand in the working copy directory to verify the files have been checked out:
- Add the new working copy to Versions: Click Bookmarks > New Working Copy Bookmark and follow the prompts