Importing a Local Directory to Subversion Repository
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 VCS | Import into Version Control | Import into Subversion.
- 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 Configuring 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 specfiy the following options:
use this drop-down 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.
- Depth: use this drop-down list to specify the range of recursion into Subversion subdirectories. The available options are:
- Optionally, enter a commit message, or select one from the Recent Messages drop-down list and click OK.