Adobe Dreamweaver CC 2014 v.13 User Manual
Page 409

Update status of local file or folders
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 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.)
3. Right-click (Windows) or Control-click (Macintosh) any folder or file in the Files panel and select Update Status.
View revisions for a file
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 you
want to see revisions for and select Version Control > Show Revisions.
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 see revisions for
and select Show Revisions.
3. In the Revision History dialog box, select the revision or revisions you’re interested in and do one of the following:
Click Compare to Local to compare the selected revision with the local version of the file.
Note: You must install a third-party file comparison tool before you can compare files. For more information on file comparison tools,
use a web search engine such as Google Search to search for “file comparison” or “diff” tools. Dreamweaver works with most third-party
tools.
Click Compare to compare two selected revisions. Control-click to select two revisions simultaneously.
Click View to view the selected revision. This action does not overwrite the current local copy of the same file. You can save the
selected revision to your hard drive just as you would save any other file.
Click Promote to make the selected revision the most current revision in the repository.
Lock and unlock files
Locking a file in the SVN repository lets other users know that you are working on a file. Other users can still edit the file locally, but will not be
able to commit the file until you’ve unlocked it. When you lock a file in the repository, you’ll see an open-lock icon on the file. Other users see a
completely locked icon.
1. Make sure that you’ve successfully set up an SVN connection.
2. Do one of the following:
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’re interested in and select
Lock or Unlock.
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
you’re interested in and select Lock or Unlock.
Add a new file to the repository
A blue plus sign on a file in the Files panel denotes a file that does not yet exist in the SVN repository.
1. Make sure that you’ve successfully set up an SVN connection.
2. In the Files panel, select the file you want to add to the repository and click the Check In button.
3. Make sure that the file is selected for Commit in the Commit dialog box and click OK.
Move, copy, delete, or revert files
To move a file, drag the file to the destination folder in your local site.
When you move a file, Dreamweaver marks the file in the new location with an Add With History sign, and marks the file in the old location
with a Delete sign. When you Commit these files, the file in the old location disappears.
To copy a file, select the file, copy it (Edit > Copy), and paste (Edit > Paste) the file in the new location.
When you copy and paste a file, Dreamweaver marks the file in the new location with an Add With History sign.
402