PhpStorm 2017.1 Help

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:

  1. From the main menu, choose VCS | Import into Version Control | Import into Subversion.
  2. 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 /help/img/idea/2017.1/new.png button to add it (for more details, see Configuring Subversion Repository Location). Click Import.
  3. In the Select Path dialog that opens, specify the directory you want to import and click OK.
  4. In the SVN Import Options dialog that opens, check the Import to and Import from paths and specfiy the following options:
    • Depth: 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.
  5. Optionally, enter a commit message, or select one from the Recent Messages drop-down list and click OK.

See Also

Last modified: 19 July 2017