SVN Client setup

From gtwiki

Jump to: navigation, search
«««(?)


Contents

Installation

Install Subversion V1.4.6 or later


To enable SVN integration in Digital Project, you must first install the SVN client. You could do this in two ways.

1. During Digital Project V1R4 installation, check the "Install Subversion client" option Image:SVNInstallation.JPG
and the SVN client will be installed as part of the Digital Project installation process.


2. Download and install the free subversion client package from

Subversion Downloads

Contact your 3D coordinator to obtain the exact version you need to install

Install Tortoise SVN V1.4.8 or later

To enable SVN integration in Microsoft Windows Explorer so that you could carry out SVN commands using Explorer contextual menus,
download and install the free tortoise subversion client from Subversion

Tortoise Subversion client downloads


Contact your 3D coordinator to obtain the exact version you need to install

Configuring locking for CAD usage

To enable management of Digital Project, and other binary, files in SVN, see SVN Locking.

Getting Started with SVN

Create a sandbox

A sandbox is a directory to host your local copy of the master model. The SVN Checkout command will copy all master model files from the server repository into your sandbox folder.

Checkout - Contact your 3D coordinator to obtain the server information for your Project

1. Right click on your sandbox folder, for example, C:\DP_SVN.

Image:Svn sandbox 11.gif

2. Select SVN Checkout

Image:Svn sandbox 22.gif

3. Click OK. Notice the folder is created under the C:\DP_SVN.

Image:Svn sandbox 33.gif

SVN Basic Functions

Lock

Lock will make the selected file modifiable if no other user has it for lock. Once you acquire the lock to the file, other user's request will be rejected.

You can Lock the file directly from Digital Project. Select the documents(s) to be locked, then click the Lock icon in the SVN toolbar.

You can also Lock the file from Windows Explorer by right clicking on the file and select SVN->Get Lock. If you do so, you must make sure that the files are not loaded in Digital Project; otherwise, you won't be able to save the changes you've made to the file.

Release Lock

Release Lock will release the lock on the file so other users are able to modify it.

You can Release Lock the file directly from Digital Project. Select the documents(s) to be released, then click the Release Lock icon in the SVN toolbar.

In Windows Explorer, right click on the folder(s) or the documents(s) and select SVN->Release Lock.


Commit

Commit will promote your changes into the master model server and create a new revision number for the modified files.

In Windows Explorer, right click on the folder, such as C:\DP_SVN\B3, and select SVN Commit... to commit all the edited files under the folder.

Update

Update will update your sandbox with the latest changes from the master model server.

In Window Explorer, right click on the folder, such as C:\DP_SVN\B3, and select SVN Update.


Digital Project SVN Icons

Toolbar

Image:I_GTCCVSRefreshCmd.GIF Refresh the SVN status in the spec tree.

Image:I_GTCCVSEditCmd.GIF Lock the selected files.

Image:I_GTCCVSUneditCmd.GIF Release Lock the selected files.

Image:I_GTCCVSStatusCmd.GIF Check the SVN status.

Spec Tree Icons

Image:I_GTCCVSReadOnly.GIF The file is in SVN and is read only. You can request to Lock it.

Image:I_GTCCVSLocked.GIF The file is in SVN and another user is editing it. Click the SVN Status command for more information.

In these 2 modes, Digital Project will not prevent you from modifying the file. However, you will not be able to save any changes at the end of your session.


Image:I_GTCCVSEdit.GIF You have the read write access.

Personal tools