Import a local directory to Subversion repository
Install the Subversion plugin
This functionality relies on the Subversion plugin that should be installed and enabled in your IDE.
Press Ctrl+Alt+S to open the IDE settings and select.
Switch to the Marketplace tab and use the search field to find the Subversion plugin.
Click Install and restart the IDE if prompted.
You can import an entire directory to your Subversion repository provided that you have access rights. This is helpful for putting a whole project under version control.
Import to the repository is always available, even if Subversion integration is not enabled for your project.
To import a directory to a Subversion repository, do the following:
From the main menu, choose.
In the Import into Subversion dialog that opens, select the target Subversion repository. If the desired target repository location is not in the list, click the button to add it (for more details, see Configure Subversion repository location). Click Import.
In the Select Path dialog that opens, specify the directory you want to import and click OK.
In the SVN Import Options dialog that opens, check the Import to and Import from paths and specify the following options:
Depth: use this list to specify the range of recursion into Subversion subdirectories. The available options are:
working copy: select this option to get files/directories from the repository subtrees that have not been checked out yet.
empty: select this option to involve only the current file.
files: select this option to involve files from the current folder.
immediates: select this option to involve direct children of the current file.
infinity: select this option to enable full recursion.
Include ignored resources: select this option to include files that have been added to the Subversion ignore list and are not subject to version control into the import.
Optionally, enter a commit message, or select one from the Recent Messages list and click OK.