Export a subversion working copy
Sometimes you need.svnDirectory working directory tree, for example, creating a compressed source code file or exporting a copy as a web server. You do not need to copy it first, and then manually delete all.svnDirectory. Tortoisesvn provides the command tortoisesvn → export .... If you use this function to have a copy of work, you will be asked to save a clean file. Exporting from URLs or working copies is slightly different.
Figure 5.47. Export from URL dialog box
If you execute this command in a directory without version control, tortoisesvn assumes that this directory is the target. In the displayed dialog box, enter the URL and version to export. This dialog box exports only top-level directories, omitting external references, andsvn:eol-styleTo reset the row end style and other options.
Of course, you can also export data directly from the version library. Use the version library browser to browse the relevant subtree, and then right-click the menu → export. The export from URL dialog box is displayed.
If you want to use this function to operate the work copy, you will be asked to saveCleanWithout.svnDirectory copy to where. By default, only files under version control are exported, however, you can export files not under version control at the same time to export files not in the version Library but in your local copy. You can also usesvn:externalsTo ignore external references.
Another method of export is to right-click and drag the working copy to another storage location, and choose right-click menu> SVN export here or right-click menu> SVN export all here. The latter can also export files not under version control.
When exporting a work copy, if the target directory contains a directory with the same name as the one you export, you need to use this option to overwrite existing content, or use an automatically generated name, suchObjective (1).
Remove a working copy from Version Control
Sometimes you have a working copy which you want to convert back to a normal folder without.svnDirectories. What you really need is an export-in-place command, that just removes the control directories rather than generating a new clean directory tree.
The answer is surprisingly simple-export the folder to itself! Tortoisesvn detects this special case and asks if you want to make the working copy unversioned. If you answerYesThe control directories will be removed and you will have a plain, unversioned directory tree.