Adding files

When you add files, Surround SCM checks in the files. When you add a directory, a repository with the same name as the directory is created. Files are added to the corresponding repository. Surround SCM optionally repeats the process recursively for all subdirectories.

  1. Select the repository you want to add files to. Choose Activities > Add Files.
  2. The Add File(s) dialog box opens.

  3. Click Browse to select the directory you want to add files from.
  4. The Browse for Folder dialog box opens.

  5. Select the directory and click OK.
  6. You return to the Add File(s) dialog box. It is populated with the files and folders from the directory.

  7. Select the files or folders you want to add.
  8. To add multiple files or a combination of files and folders, Ctrl + click each item. To add specific files from a folder, double-click the folder to open it then select the files.

    Tip: To quickly add one file, select options then double-click the file.
  9. Select Show all files to view all files in the directory, including files already added to Surround SCM.
  10. For example, select this option to add files from a directory that is another branch’s working directory.

  11. Enter optional comments about the files you are adding. The comment is applied to all files.
  12. Get files after add creates a read-only copy of the files in your working directory. This option is selected by default if a working directory is set for the repository you are adding files to.
  13. This option is not enabled or selected if a working directory is not set for the repository.

  14. Select Make files writable to leave the files in read-write mode.
  15. Select Check out files after add to immediately check out the files.
  16. Select Exclusive check out to prevent other users from checking out the files.
  17. Multiple checkouts are disabled if the checkbox is selected and inactive.

  18. Overwrite file if found removed is selected by default. If a file matches a removed file, the removed file is overwritten. The added file is checked in and the version number is updated.
  19. If you clear the checkbox, and a file matches a removed file, you are prompted to replace the removed file or skip the add.

  20. Select Recursive if you are adding a directory and want to automatically add all subdirectories and files.
  21. Select a type from the File type menu.
  22. Auto Detect lets Surround SCM determines the file type

  23. Click OK.
  24. The files are added to Surround SCM.