Adobe Dreamweaver CC 2014 v.13 User Manual
Page 408
Select a protocol from the Protocol pop-up menu. The available protocols are HTTP, HTTPS, SVN, and SVN+SSH.
Note: Using the SVN+SSH protocol requires special configuration. For more information, see
Enter the address for the SVN server in the Server address text box (typically in the form of servername.domain.com).
Enter the path to your repository on the SVN server in the Repository path text box (typically something like /svn/your_root_directory. It is
up to the server administrator to name the root folder for the SVN repository.)
(Optional) If you want to use a server port other than the default server port, select Non Default and enter the port number in the text
box.
Enter your SVN server user name and password.
5. Click Test to test your connection, or click OK to close the dialog box. Then click Done to close the Manage Sites dialog box.
Once the connection with the server established, your SVN repository is available for viewing in the Files panel. To view it, you can select
Repository View from the View pop-up menu, or click the Repository Files button
in the expanded Files panel.
Get the latest versions of files
When you get the latest version of a file from the SVN repository, Dreamweaver merges the contents of that file with the contents of its
corresponding local copy. (In other words, if someone else has updated the file since you last committed it, those updates are merged into the local
version of the file on your computer.) If the file does not yet exist on the local hard drive, Dreamweaver simply gets the file.
Note: When getting files for the first time from the repository, you should work with a local directory that is empty, or a local directory that does
not contain files with the same names as files in the repository. Dreamweaver will not mount repository files to the local drive upon first try if the
local drive contains files whose names match files in the remote repository.
1. Make sure that you’ve successfully set up an SVN connection.
2. Do one of the following:
Display the local version of your SVN files in the Files panel by selecting Local view from the View pop-up menu. (If you are working in
the expanded Files panel, the Local view is automatically displayed.) Then right-click (Windows) or Control-click (Macintosh) the file or
folder you’re interested in and select Version Control > Get Latest Versions.
Display the SVN repository files by selecting Repository View from the View pop-up menu in the Files panel, or by clicking the Repository
Files button in the expanded Files panel. Then right-click (Windows) or Control-click (Macintosh) the file or folder you’re interested in and
select Get Latest Versions.
Note: You can also either right-click a file and choose Check Out from the context menu, or select the file and click the Check Out button to get
the latest version. Because SVN does not support a check-out workflow, however, this action does not actually check out the file in the traditional
sense.
Commit files
1. Make sure that you’ve successfully set up an SVN connection.
2. Do one of the following:
Display the local version of your SVN files in the Files panel by selecting Local view from the View pop-up menu. (If you are working in
the expanded Files panel, the Local view is automatically displayed.) Then select the file you want to commit and click the Check In
button.
Display the SVN repository files by selecting Repository View from the View pop-up menu in the Files panel, or by clicking the Repository
Files button in the expanded Files panel. Then right-click (Windows) or Control-click (Macintosh) the file you want to commit and select
Check In.
3. Review the actions in the Commit dialog box, make changes if necessary, and click OK.
You can change actions by selecting the file whose action you want to change, and clicking the buttons at the bottom of the Commit dialog
box. Two choices are available: commit and ignore.
Note: A green check mark on a file in the Files panel denotes a changed file that has not yet been committed to the repository.
Update status of files or folders in the repository
You can update the SVN status of a single file or folder. The update does not refresh the entire display.
1. Make sure that you’ve successfully set up an SVN connection.
2. Display the SVN repository files by selecting Repository View from the View pop-up menu in the Files panel, or by clicking the Repository
Files button in the expanded Files panel.
3. Right-click (Windows) or Control-click (Macintosh) any folder or file in the repository and select Update Status.
401