Configuring Zend Studio for Subversion

To configure Zend Studio for Subversion, follow these steps:

 

If you have already checked out a module:

  1. Open a Project.

  2. Add the file/directories to the Project.

  3. Perform Subversion actions from the Project tab.

If you have not checked out a module:

  1. Go to Tools | Subversion | Checkout.

  2. Enter the details in the Checkout dialog and click OK.

  3. Make sure that the Checkout operation was successful.

  4. Open a Project

  5. Add the files/directories to the Project.

  6. In the Project tab, perform the necessary Subversion actions.

 

To display the following Subversion commands, right-click on a Project file/directory and select Subversion. Perform this operation either from the Project Manager window, or in the Editing window.

Setting

Description

Update

Get the most recent copy of the file from the Subversion repository, and merges it with the local version.

Commit

Commit changes to the Subversion server repository.

Add

Specifies files to be added to the Subversion repository. The files will be added only after you commit them.

Delete

Immediately Delete files or links from your working copy. If it is a directory, it is not deleted, but Subversion schedules it for deletion. When you commit your changes, the directory will be removed from your working copy and the repository.

 

Revert

Reverts the file to its pre-modified state by overwriting it with the cached "pristine" copy from the .svn area

Resolve

Once conflicts between files have been resolved, use Resolve to let Subversion know. This removes three temporary files (filename.mine, filename.rOLDREV, filename.rNEWREV ). Subversion no longer considers the file to be in a state of conflict

Status

Show the current status of the files as defined in the Subversion server.

Diff

 

Compares between your local copy of the file and the one located on the Subversion server repository, and lists the difference between them.

Log

Prints out a log containing all the information relevant to the file or the directory, as appears in the Subversion.

Checkout

Checkout a new module on your disk. You can Checkout a module using the File System window as well as the Project system.

The output of the above actions is displayed in the Messages window's Subversion Output tab.

 

 

Related Links

Related Links:
Source Control

Using Source Control DIFF

Configuring Zend Studio for CVS

Configuring the CVS Communication Tunnel

Source Control File Status