using tortoisesvn

Post on 05-Jan-2016

133 Views

Category:

Documents

1 Downloads

Preview:

Click to see full reader

DESCRIPTION

Using TortoiseSVN. Tortoise SVN. If you are working on a system outside of the CSCI domain, you will need to install SVN. On a windows system, I recommend tortoisesvn You can go to the class web site for a link to tortoisesvn The slides that follow will demonstrate tortoisesvn. - PowerPoint PPT Presentation

TRANSCRIPT

Using TortoiseSVN

Tortoise SVN

• If you are working on a system outside of the CSCI domain, you will need to install SVN.

• On a windows system, I recommend tortoisesvn

• You can go to the class web site for a link to tortoisesvn

• The slides that follow will demonstrate tortoisesvn

• Your team repositories have already been created for you

• A repository is where you will share pages among team members.

• The following slides show you how to create a web site and share it among your team members.

• First create a new web site with Expression Web. You should agree upon folders needed in the web site.

• Suppose your site is named website.

Example

• Create the website• After you get to a point that you want to store

a copy in your team’s repository, then do the following steps.

Example

• First check out your team’s repository into a folder on your local system that is NOT in any repository.

• To do this, first create a folder to hold the repository, say cs4410/Project

Using Tortoisesvn

• Using tortoisesvn, right click on the Project folder previously created.

• The first time, you should get a pop up menu with the SVN Checkout option.

• Select the menu choice SVN Checkout• The following window should appear.• For the URL, team 1 would typesvn://svn.cs.mtsu.edu/c1426600/team/c142661

Replace the ‘1’ with your team’s number

Using Tortoisesvn

• After entering your team’s number on the previous screen and clicking ‘ok’, you should get an authentication window.

• Enter your 4410 account and original password.

• IF you are the only one using this computer system, i.e., your personal computer system, you may want to check the box ‘save authentication’

Authentication Window

Using Tortoisesvn

• If you are authenticated, then you will get a window similar to the following---the first time you checkout your repository

Click OK

Using Tortoisesvn

• Now on your windows system, go the folder containing your website directory.

• Copy the entire website directory• Save the website directory inside the Project

directory

Using Tortoisesvn

• Right click on the website directory found inside of the Project folder

• Choose the menu choice TortoiseSvn -> Add• You should get the next screen.

Using Tortoisesvn

• Click ok• You should get the next screen

Using Tortoisesvn

• Click ok• Now right click on the Project folder name• You should get a menu choice of SVN Commit• Select the SVN Commit option• You should then get a window similar to the

following

Using Tortoisesvn

• Click OK• You should get a screen similar to the

following

Using Tortoisesvn

• Click OK• Your website has been submitted to the

team’s repository

• SEE THE NEXT SLIDES FOR SUBMITTING CHANGES

Using TortoiseSVN AFTER you create website

• After you initially commit your website to your repository, use Expression Web on this copy as follows.

• Start Expression Web• Open existing website and browse to the

website under the Project folder, and open that website.

Using TortoiseSVN AFTER you create website

• Use Expression Web to make changes, edit, etc as desired. Save your work.

• Afterwards, right click on the website folder in the Project folder.

• Choose TortoiseSVN->Add• Click OK===there may be nothing to add• Right click on website folder again, choose

SVN Commit• Be sure to click ok after committing…

Get changes made by others

• Periodically, you should ensure that changes done by other team members get incorporated in your local working copy.

• This is known as updating.• This can be done on single files, as set of

selected files, or on an entire directory.• To update, select the files you want, right click

and select TortoiseSVN -> Update

Get changes made by others

• A window will pop up displaying the progress of the update as it runs.

• Changes done by others will be merged into your files, keeping any changes you may have done to the same files.

• The progress dialog uses color to highlight the different update actions:– Purple – New item added– Dark red – Redundant item deleted or missing

item replaced in your working copy– Green – Changes from repository successfully

merged with your local changes.– Bright red – Changes from repository merged

with local changes, resulting in conflicts which you need to resolve.

– Black – Unchanged item in your working copy updated with newer version from the repository.

top related