SlideShare a Scribd company logo
1 of 11
Download to read offline
T.U. Cluj-Napoca, C.S. Dept. TortoiseSVN Short Tutorial Andrei Vatavu & Marius Joldoş
1/11
TortoiseSVN Short Tutorial
This tutorial presents some basic steps for using SVN and accessing your assigned Subversion account. To get familiar
with Apache Subversion see http://en.wikipedia.org/wiki/Apache_Subversion
1. Getting and Installing TortoiseSVN
1. Download the last version of TortoiseSVN from this link:
http://tortoisesvn.net/downloads.html
2. Choose the 32-bit or 64-bit version depending on your operating system (most of you will have a 32 bit OS
version, either MS Windows XP or MS Windows 7). Fig. 1 shows a snapshot of a part of the download page for
TortoiseSVN.
Figure 1. A snapshot of a part of the download page for TortoiseSVN
During the installation process you may rely on the default settings.
T.U. Cluj-Napoca, C.S. Dept. TortoiseSVN Short Tutorial Andrei Vatavu & Marius Joldoş
2/11
2. Using TortoiseSVN
Create a SVN Repository
1. Create a folder.
2. Right-click the newly created folder  SVN check out (cf. Fig. 2 )
Figure 2. Choosing SVN checkout
3. In the “URL of repository” field, copy the one of the below URLs:
• To access repository from outside T.U. Cluj-Napoca network (e.g. from home or hostel):
https://os.obs.utcluj.ro:22443/user
• To access repository from INSIDE T.U. Cluj-Napoca network (e.g. from the laboratories):
https://10.158.0.45:443/user
Note: You should replace user with your given username. See Figure 3. In Fig. 3 the placeholder user is
symbolized by USERNAME.
4. Press OK
T.U. Cluj-Napoca, C.S. Dept. TortoiseSVN Short Tutorial Andrei Vatavu  Marius Joldoş
3/11
Figure 3. Checking out a repository.
An authentication dialog will appear (cf. Fig. 4) : fill in your assigned username and password
Figure 4. Authentication dialog.
After Check out, you should have the content from server stored in your local folder.
Update
An update operation is used for getting a repository version of your work from a SVN server down to your computer.
To perform an Update:
5. Right click in our folder  SVN Update (see Fig. )
The local copy will be updated from the repository.
T.U. Cluj-Napoca, C.S. Dept. TortoiseSVN Short Tutorial Andrei Vatavu  Marius Joldoş
4/11
Figure 5. Updating a local copy
Note: If a red line is shown, then there is a conflict between the repository version and the local copy. Conflicts
must be solved with great attention, as they may cause undesired changes.
Commit
Commit is used for storing your local copy to the SVN repository. To achieve this:
1. Right click  SVN Commit. A windows similar to the one shown in Fig. pops up.
T.U. Cluj-Napoca, C.S. Dept. TortoiseSVN Short Tutorial Andrei Vatavu  Marius Joldoş
5/11
Figure 6. A commit window.
Notes:
• In the Message area, you have to write a description of, e.g., the changes made relative to the previous version,
or, in general, a message which helps to identify that version with ease..
• In the Changes Made area, you choose what you want to commit by hand. It just lists all changes (and sometimes
it does not include all of them).
3. Using Codeblocks with TortoiseSVN
In order to use Codeblocks with TortoiseSVN, you should take the following steps:
1. Create a new folder on your Desktop (e.g. use right-click-New folder, see Fig. 7).
T.U. Cluj-Napoca, C.S. Dept. TortoiseSVN Short Tutorial Andrei Vatavu  Marius Joldoş
6/11
Figure 7. Creating a folder on the Desktop
2. Rename your new folder to YourNames (e.g MariusJoldos - see Fig. 8)
Figure 8. Renaming your newly created folder
3. Do a checkout on your repository using the supplied authentication credentials as shown in Fig. 9 and Fig. 10
Figure 9. Selecting SVN Checkout
T.U. Cluj-Napoca, C.S. Dept. TortoiseSVN Short Tutorial Andrei Vatavu  Marius Joldoş
7/11
Figure 10. Checking out repository
A window covered by an authentication popup appeara. Type your credentials – see Fig. 11. You may choose to save
authentication.
Figure 11. Supplying authentication credentials on SVN checkout.
On success, a window similar to the one of Fig. 12 appears.
T.U. Cluj-Napoca, C.S. Dept. TortoiseSVN Short Tutorial Andrei Vatavu  Marius Joldoş
8/11
Figure 12. Finishing checkout.
4. Run Codeblocks and create your project INSIDE the SVN repository working copy on your Desktop (see Fig. 13 and
14).
Figure 13. New Codeblocks project inside repository.
T.U. Cluj-Napoca, C.S. Dept. TortoiseSVN Short Tutorial Andrei Vatavu  Marius Joldoş
9/11
Figure 14. Complete project data for Codeblocks. Note that project name is YourNames-1 as it will hold a solution for
Assignment 1.
5. Do your work with Codeblocks. Save your work and leave Codeblocks.
6. Commit the changes to the server. Do this with right-click on the folder and selecting SVN Commit (see Fig. 15).
In a window similar to Fig. 16 select what you desire to submit (e.g. use Select all checkbox). Press OK.
A window shows that you are done (Fig. 17).
Figure 15. Choosing Commit
T.U. Cluj-Napoca, C.S. Dept. TortoiseSVN Short Tutorial Andrei Vatavu  Marius Joldoş
10/11
Figure 16. Selecting what to
commit.
T.U. Cluj-Napoca, C.S. Dept. TortoiseSVN Short Tutorial Andrei Vatavu  Marius Joldoş
11/11
Figure 17. Commit done.
You may now check that your changes are on the server using a browser and the same URL.

More Related Content

Similar to SVN Tutorial.pdf

Part 2 generating a client_from_wsdl
Part 2 generating a client_from_wsdlPart 2 generating a client_from_wsdl
Part 2 generating a client_from_wsdlkrishmdkk
 
Compile open cpn on windows
Compile open cpn on windowsCompile open cpn on windows
Compile open cpn on windowsrandikaucsc
 
Building A Simple Web Service With CXF
Building A Simple Web Service With CXFBuilding A Simple Web Service With CXF
Building A Simple Web Service With CXFCarl Lu
 
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development team
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development teamMoving from CruiseControl.NET to Jenkins in the PVS-Studio development team
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development teamSofia Fateeva
 
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development team
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development teamMoving from CruiseControl.NET to Jenkins in the PVS-Studio development team
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development teamPVS-Studio
 
Installing OpenCV 2.4.x with Qt
Installing OpenCV 2.4.x with QtInstalling OpenCV 2.4.x with Qt
Installing OpenCV 2.4.x with QtLuigi De Russis
 
Workshop/Tutorial WSO2 Micro Services Server
Workshop/Tutorial WSO2 Micro Services ServerWorkshop/Tutorial WSO2 Micro Services Server
Workshop/Tutorial WSO2 Micro Services ServerEdgar Silva
 
Credentials and VM Installation - Basic course.pdf
Credentials and VM Installation - Basic course.pdfCredentials and VM Installation - Basic course.pdf
Credentials and VM Installation - Basic course.pdfShubham Sidana
 
Integrating VNC in Weston with the Yocto Project and OpenEmbedded
Integrating VNC in Weston with the Yocto Project and OpenEmbeddedIntegrating VNC in Weston with the Yocto Project and OpenEmbedded
Integrating VNC in Weston with the Yocto Project and OpenEmbeddedLeon Anavi
 
Analyze a SVC, STORWIZE metro/ global mirror performance problem-v58-20150818...
Analyze a SVC, STORWIZE metro/ global mirror performance problem-v58-20150818...Analyze a SVC, STORWIZE metro/ global mirror performance problem-v58-20150818...
Analyze a SVC, STORWIZE metro/ global mirror performance problem-v58-20150818...Michael Pirker
 
Hol 1940-01-net pdf-en
Hol 1940-01-net pdf-enHol 1940-01-net pdf-en
Hol 1940-01-net pdf-endborsan
 
PVS-Studio Now Supports Any Build System under Windows and Any Compiler. Easy...
PVS-Studio Now Supports Any Build System under Windows and Any Compiler. Easy...PVS-Studio Now Supports Any Build System under Windows and Any Compiler. Easy...
PVS-Studio Now Supports Any Build System under Windows and Any Compiler. Easy...Andrey Karpov
 
BLCN532 Lab 1Set up your development environmentV2.0.docx
BLCN532 Lab 1Set up your development environmentV2.0.docxBLCN532 Lab 1Set up your development environmentV2.0.docx
BLCN532 Lab 1Set up your development environmentV2.0.docxmoirarandell
 
SVN Usage & Best Practices
SVN Usage & Best PracticesSVN Usage & Best Practices
SVN Usage & Best PracticesAshraf Fouad
 

Similar to SVN Tutorial.pdf (20)

Part 2 generating a client_from_wsdl
Part 2 generating a client_from_wsdlPart 2 generating a client_from_wsdl
Part 2 generating a client_from_wsdl
 
Compile open cpn on windows
Compile open cpn on windowsCompile open cpn on windows
Compile open cpn on windows
 
Building A Simple Web Service With CXF
Building A Simple Web Service With CXFBuilding A Simple Web Service With CXF
Building A Simple Web Service With CXF
 
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development team
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development teamMoving from CruiseControl.NET to Jenkins in the PVS-Studio development team
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development team
 
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development team
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development teamMoving from CruiseControl.NET to Jenkins in the PVS-Studio development team
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development team
 
Installing OpenCV 2.4.x with Qt
Installing OpenCV 2.4.x with QtInstalling OpenCV 2.4.x with Qt
Installing OpenCV 2.4.x with Qt
 
Workshop/Tutorial WSO2 Micro Services Server
Workshop/Tutorial WSO2 Micro Services ServerWorkshop/Tutorial WSO2 Micro Services Server
Workshop/Tutorial WSO2 Micro Services Server
 
Unit 5
Unit 5Unit 5
Unit 5
 
Credentials and VM Installation - Basic course.pdf
Credentials and VM Installation - Basic course.pdfCredentials and VM Installation - Basic course.pdf
Credentials and VM Installation - Basic course.pdf
 
Jsf tutorial
Jsf tutorialJsf tutorial
Jsf tutorial
 
Integrating VNC in Weston with the Yocto Project and OpenEmbedded
Integrating VNC in Weston with the Yocto Project and OpenEmbeddedIntegrating VNC in Weston with the Yocto Project and OpenEmbedded
Integrating VNC in Weston with the Yocto Project and OpenEmbedded
 
Readme trainer
Readme trainerReadme trainer
Readme trainer
 
Technical Note - ITME: Running StADOSvr.exe as a Service
Technical Note - ITME: Running StADOSvr.exe as a ServiceTechnical Note - ITME: Running StADOSvr.exe as a Service
Technical Note - ITME: Running StADOSvr.exe as a Service
 
Devstack lab guide
Devstack lab guideDevstack lab guide
Devstack lab guide
 
Dev stacklabguide
Dev stacklabguideDev stacklabguide
Dev stacklabguide
 
Analyze a SVC, STORWIZE metro/ global mirror performance problem-v58-20150818...
Analyze a SVC, STORWIZE metro/ global mirror performance problem-v58-20150818...Analyze a SVC, STORWIZE metro/ global mirror performance problem-v58-20150818...
Analyze a SVC, STORWIZE metro/ global mirror performance problem-v58-20150818...
 
Hol 1940-01-net pdf-en
Hol 1940-01-net pdf-enHol 1940-01-net pdf-en
Hol 1940-01-net pdf-en
 
PVS-Studio Now Supports Any Build System under Windows and Any Compiler. Easy...
PVS-Studio Now Supports Any Build System under Windows and Any Compiler. Easy...PVS-Studio Now Supports Any Build System under Windows and Any Compiler. Easy...
PVS-Studio Now Supports Any Build System under Windows and Any Compiler. Easy...
 
BLCN532 Lab 1Set up your development environmentV2.0.docx
BLCN532 Lab 1Set up your development environmentV2.0.docxBLCN532 Lab 1Set up your development environmentV2.0.docx
BLCN532 Lab 1Set up your development environmentV2.0.docx
 
SVN Usage & Best Practices
SVN Usage & Best PracticesSVN Usage & Best Practices
SVN Usage & Best Practices
 

More from badrfathallah2

Java-Design-Patterns.pdf
Java-Design-Patterns.pdfJava-Design-Patterns.pdf
Java-Design-Patterns.pdfbadrfathallah2
 
design_pattern_tutorial.pdf
design_pattern_tutorial.pdfdesign_pattern_tutorial.pdf
design_pattern_tutorial.pdfbadrfathallah2
 
hibernate_tutorial.pdf
hibernate_tutorial.pdfhibernate_tutorial.pdf
hibernate_tutorial.pdfbadrfathallah2
 
LE PROCESSUS DE GESTION DES HABILITATIONS.pdf
LE PROCESSUS DE GESTION DES HABILITATIONS.pdfLE PROCESSUS DE GESTION DES HABILITATIONS.pdf
LE PROCESSUS DE GESTION DES HABILITATIONS.pdfbadrfathallah2
 
INTRODUCTION A LA FINANCE DE MARCHE.pdf
INTRODUCTION A LA FINANCE DE MARCHE.pdfINTRODUCTION A LA FINANCE DE MARCHE.pdf
INTRODUCTION A LA FINANCE DE MARCHE.pdfbadrfathallah2
 
Collatéral_Management.pdf
Collatéral_Management.pdfCollatéral_Management.pdf
Collatéral_Management.pdfbadrfathallah2
 
Cash_management_et_paiements.pdf
Cash_management_et_paiements.pdfCash_management_et_paiements.pdf
Cash_management_et_paiements.pdfbadrfathallah2
 
Gestion de projets agiles avec Scrum.pdf
Gestion de projets agiles avec Scrum.pdfGestion de projets agiles avec Scrum.pdf
Gestion de projets agiles avec Scrum.pdfbadrfathallah2
 
Introduction à Spring.pdf
Introduction à Spring.pdfIntroduction à Spring.pdf
Introduction à Spring.pdfbadrfathallah2
 
La Gestion de Projet.pdf
La Gestion de Projet.pdfLa Gestion de Projet.pdf
La Gestion de Projet.pdfbadrfathallah2
 
Introduction à git.pdf
Introduction à git.pdfIntroduction à git.pdf
Introduction à git.pdfbadrfathallah2
 
A Tutorial for GitHub.pdf
A Tutorial for GitHub.pdfA Tutorial for GitHub.pdf
A Tutorial for GitHub.pdfbadrfathallah2
 
JIRA Fundamentals Course.pdf
JIRA Fundamentals Course.pdfJIRA Fundamentals Course.pdf
JIRA Fundamentals Course.pdfbadrfathallah2
 

More from badrfathallah2 (19)

Java-Design-Patterns.pdf
Java-Design-Patterns.pdfJava-Design-Patterns.pdf
Java-Design-Patterns.pdf
 
design_pattern_tutorial.pdf
design_pattern_tutorial.pdfdesign_pattern_tutorial.pdf
design_pattern_tutorial.pdf
 
Octo Maven.pdf
Octo Maven.pdfOcto Maven.pdf
Octo Maven.pdf
 
hibernate_tutorial.pdf
hibernate_tutorial.pdfhibernate_tutorial.pdf
hibernate_tutorial.pdf
 
Les Processus IAM.pdf
Les Processus IAM.pdfLes Processus IAM.pdf
Les Processus IAM.pdf
 
LE PROCESSUS DE GESTION DES HABILITATIONS.pdf
LE PROCESSUS DE GESTION DES HABILITATIONS.pdfLE PROCESSUS DE GESTION DES HABILITATIONS.pdf
LE PROCESSUS DE GESTION DES HABILITATIONS.pdf
 
PrésQL.pdf
PrésQL.pdfPrésQL.pdf
PrésQL.pdf
 
INTRODUCTION A LA FINANCE DE MARCHE.pdf
INTRODUCTION A LA FINANCE DE MARCHE.pdfINTRODUCTION A LA FINANCE DE MARCHE.pdf
INTRODUCTION A LA FINANCE DE MARCHE.pdf
 
Collatéral_Management.pdf
Collatéral_Management.pdfCollatéral_Management.pdf
Collatéral_Management.pdf
 
Cash_management_et_paiements.pdf
Cash_management_et_paiements.pdfCash_management_et_paiements.pdf
Cash_management_et_paiements.pdf
 
Scrumguide.pdf
Scrumguide.pdfScrumguide.pdf
Scrumguide.pdf
 
Gestion de projets agiles avec Scrum.pdf
Gestion de projets agiles avec Scrum.pdfGestion de projets agiles avec Scrum.pdf
Gestion de projets agiles avec Scrum.pdf
 
tp-spring.pdf
tp-spring.pdftp-spring.pdf
tp-spring.pdf
 
Introduction à Spring.pdf
Introduction à Spring.pdfIntroduction à Spring.pdf
Introduction à Spring.pdf
 
La Gestion de Projet.pdf
La Gestion de Projet.pdfLa Gestion de Projet.pdf
La Gestion de Projet.pdf
 
Introduction à git.pdf
Introduction à git.pdfIntroduction à git.pdf
Introduction à git.pdf
 
A Tutorial for GitHub.pdf
A Tutorial for GitHub.pdfA Tutorial for GitHub.pdf
A Tutorial for GitHub.pdf
 
JIRA-Tutorial-pdf.pdf
JIRA-Tutorial-pdf.pdfJIRA-Tutorial-pdf.pdf
JIRA-Tutorial-pdf.pdf
 
JIRA Fundamentals Course.pdf
JIRA Fundamentals Course.pdfJIRA Fundamentals Course.pdf
JIRA Fundamentals Course.pdf
 

Recently uploaded

complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...asadnawaz62
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONjhunlian
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating SystemRashmi Bhat
 
Cooling Tower SERD pH drop issue (11 April 2024) .pptx
Cooling Tower SERD pH drop issue (11 April 2024) .pptxCooling Tower SERD pH drop issue (11 April 2024) .pptx
Cooling Tower SERD pH drop issue (11 April 2024) .pptxmamansuratman0253
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Autonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.pptAutonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.pptbibisarnayak0
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfRajuKanojiya4
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating SystemRashmi Bhat
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catcherssdickerson1
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdf11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdfHafizMudaserAhmad
 
BSNL Internship Training presentation.pptx
BSNL Internship Training presentation.pptxBSNL Internship Training presentation.pptx
BSNL Internship Training presentation.pptxNiranjanYadav41
 
Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Romil Mishra
 
Risk Management in Engineering Construction Project
Risk Management in Engineering Construction ProjectRisk Management in Engineering Construction Project
Risk Management in Engineering Construction ProjectErbil Polytechnic University
 
chpater16.pptxMMMMMMMMMMMMMMMMMMMMMMMMMMM
chpater16.pptxMMMMMMMMMMMMMMMMMMMMMMMMMMMchpater16.pptxMMMMMMMMMMMMMMMMMMMMMMMMMMM
chpater16.pptxMMMMMMMMMMMMMMMMMMMMMMMMMMMNanaAgyeman13
 
Crushers to screens in aggregate production
Crushers to screens in aggregate productionCrushers to screens in aggregate production
Crushers to screens in aggregate productionChinnuNinan
 

Recently uploaded (20)

complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...complete construction, environmental and economics information of biomass com...
complete construction, environmental and economics information of biomass com...
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTIONTHE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
THE SENDAI FRAMEWORK FOR DISASTER RISK REDUCTION
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
Input Output Management in Operating System
Input Output Management in Operating SystemInput Output Management in Operating System
Input Output Management in Operating System
 
Cooling Tower SERD pH drop issue (11 April 2024) .pptx
Cooling Tower SERD pH drop issue (11 April 2024) .pptxCooling Tower SERD pH drop issue (11 April 2024) .pptx
Cooling Tower SERD pH drop issue (11 April 2024) .pptx
 
Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Autonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.pptAutonomous emergency braking system (aeb) ppt.ppt
Autonomous emergency braking system (aeb) ppt.ppt
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdf
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating System
 
young call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Serviceyoung call girls in Green Park🔝 9953056974 🔝 escort Service
young call girls in Green Park🔝 9953056974 🔝 escort Service
 
Designing pile caps according to ACI 318-19.pptx
Designing pile caps according to ACI 318-19.pptxDesigning pile caps according to ACI 318-19.pptx
Designing pile caps according to ACI 318-19.pptx
 
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor CatchersTechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
TechTAC® CFD Report Summary: A Comparison of Two Types of Tubing Anchor Catchers
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdf11. Properties of Liquid Fuels in Energy Engineering.pdf
11. Properties of Liquid Fuels in Energy Engineering.pdf
 
BSNL Internship Training presentation.pptx
BSNL Internship Training presentation.pptxBSNL Internship Training presentation.pptx
BSNL Internship Training presentation.pptx
 
Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________Gravity concentration_MI20612MI_________
Gravity concentration_MI20612MI_________
 
Risk Management in Engineering Construction Project
Risk Management in Engineering Construction ProjectRisk Management in Engineering Construction Project
Risk Management in Engineering Construction Project
 
chpater16.pptxMMMMMMMMMMMMMMMMMMMMMMMMMMM
chpater16.pptxMMMMMMMMMMMMMMMMMMMMMMMMMMMchpater16.pptxMMMMMMMMMMMMMMMMMMMMMMMMMMM
chpater16.pptxMMMMMMMMMMMMMMMMMMMMMMMMMMM
 
Crushers to screens in aggregate production
Crushers to screens in aggregate productionCrushers to screens in aggregate production
Crushers to screens in aggregate production
 

SVN Tutorial.pdf

  • 1. T.U. Cluj-Napoca, C.S. Dept. TortoiseSVN Short Tutorial Andrei Vatavu & Marius Joldoş 1/11 TortoiseSVN Short Tutorial This tutorial presents some basic steps for using SVN and accessing your assigned Subversion account. To get familiar with Apache Subversion see http://en.wikipedia.org/wiki/Apache_Subversion 1. Getting and Installing TortoiseSVN 1. Download the last version of TortoiseSVN from this link: http://tortoisesvn.net/downloads.html 2. Choose the 32-bit or 64-bit version depending on your operating system (most of you will have a 32 bit OS version, either MS Windows XP or MS Windows 7). Fig. 1 shows a snapshot of a part of the download page for TortoiseSVN. Figure 1. A snapshot of a part of the download page for TortoiseSVN During the installation process you may rely on the default settings.
  • 2. T.U. Cluj-Napoca, C.S. Dept. TortoiseSVN Short Tutorial Andrei Vatavu & Marius Joldoş 2/11 2. Using TortoiseSVN Create a SVN Repository 1. Create a folder. 2. Right-click the newly created folder SVN check out (cf. Fig. 2 ) Figure 2. Choosing SVN checkout 3. In the “URL of repository” field, copy the one of the below URLs: • To access repository from outside T.U. Cluj-Napoca network (e.g. from home or hostel): https://os.obs.utcluj.ro:22443/user • To access repository from INSIDE T.U. Cluj-Napoca network (e.g. from the laboratories): https://10.158.0.45:443/user Note: You should replace user with your given username. See Figure 3. In Fig. 3 the placeholder user is symbolized by USERNAME. 4. Press OK
  • 3. T.U. Cluj-Napoca, C.S. Dept. TortoiseSVN Short Tutorial Andrei Vatavu Marius Joldoş 3/11 Figure 3. Checking out a repository. An authentication dialog will appear (cf. Fig. 4) : fill in your assigned username and password Figure 4. Authentication dialog. After Check out, you should have the content from server stored in your local folder. Update An update operation is used for getting a repository version of your work from a SVN server down to your computer. To perform an Update: 5. Right click in our folder SVN Update (see Fig. ) The local copy will be updated from the repository.
  • 4. T.U. Cluj-Napoca, C.S. Dept. TortoiseSVN Short Tutorial Andrei Vatavu Marius Joldoş 4/11 Figure 5. Updating a local copy Note: If a red line is shown, then there is a conflict between the repository version and the local copy. Conflicts must be solved with great attention, as they may cause undesired changes. Commit Commit is used for storing your local copy to the SVN repository. To achieve this: 1. Right click SVN Commit. A windows similar to the one shown in Fig. pops up.
  • 5. T.U. Cluj-Napoca, C.S. Dept. TortoiseSVN Short Tutorial Andrei Vatavu Marius Joldoş 5/11 Figure 6. A commit window. Notes: • In the Message area, you have to write a description of, e.g., the changes made relative to the previous version, or, in general, a message which helps to identify that version with ease.. • In the Changes Made area, you choose what you want to commit by hand. It just lists all changes (and sometimes it does not include all of them). 3. Using Codeblocks with TortoiseSVN In order to use Codeblocks with TortoiseSVN, you should take the following steps: 1. Create a new folder on your Desktop (e.g. use right-click-New folder, see Fig. 7).
  • 6. T.U. Cluj-Napoca, C.S. Dept. TortoiseSVN Short Tutorial Andrei Vatavu Marius Joldoş 6/11 Figure 7. Creating a folder on the Desktop 2. Rename your new folder to YourNames (e.g MariusJoldos - see Fig. 8) Figure 8. Renaming your newly created folder 3. Do a checkout on your repository using the supplied authentication credentials as shown in Fig. 9 and Fig. 10 Figure 9. Selecting SVN Checkout
  • 7. T.U. Cluj-Napoca, C.S. Dept. TortoiseSVN Short Tutorial Andrei Vatavu Marius Joldoş 7/11 Figure 10. Checking out repository A window covered by an authentication popup appeara. Type your credentials – see Fig. 11. You may choose to save authentication. Figure 11. Supplying authentication credentials on SVN checkout. On success, a window similar to the one of Fig. 12 appears.
  • 8. T.U. Cluj-Napoca, C.S. Dept. TortoiseSVN Short Tutorial Andrei Vatavu Marius Joldoş 8/11 Figure 12. Finishing checkout. 4. Run Codeblocks and create your project INSIDE the SVN repository working copy on your Desktop (see Fig. 13 and 14). Figure 13. New Codeblocks project inside repository.
  • 9. T.U. Cluj-Napoca, C.S. Dept. TortoiseSVN Short Tutorial Andrei Vatavu Marius Joldoş 9/11 Figure 14. Complete project data for Codeblocks. Note that project name is YourNames-1 as it will hold a solution for Assignment 1. 5. Do your work with Codeblocks. Save your work and leave Codeblocks. 6. Commit the changes to the server. Do this with right-click on the folder and selecting SVN Commit (see Fig. 15). In a window similar to Fig. 16 select what you desire to submit (e.g. use Select all checkbox). Press OK. A window shows that you are done (Fig. 17). Figure 15. Choosing Commit
  • 10. T.U. Cluj-Napoca, C.S. Dept. TortoiseSVN Short Tutorial Andrei Vatavu Marius Joldoş 10/11 Figure 16. Selecting what to commit.
  • 11. T.U. Cluj-Napoca, C.S. Dept. TortoiseSVN Short Tutorial Andrei Vatavu Marius Joldoş 11/11 Figure 17. Commit done. You may now check that your changes are on the server using a browser and the same URL.