Solved

To get the latest version of a project under source control of SVN, which is the correct one in the shot given?

Posted on 2011-09-26
9
315 Views
Last Modified: 2013-11-13
Hi there;

To get the latest version of a project under source control of SVN, which is the correct one in the shot given?


SVN Checkout or Export.

Which one?

Kind regards.
svn.png
0
Comment
Question by:jazzIIIlove
  • 5
  • 4
9 Comments
 
LVL 35

Accepted Solution

by:
torimar earned 500 total points
ID: 36600358
It's "SVN checkout". This will let you specify the URL of the SVN repository.

Once a local repo was created, you simply have to right-click its root folder, and there will be another context menu item named "Update".
0
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 36600548
What about import or export?

And does local repo mean, the files in a local machine as the files i need in a remote server?

Kind regards.
0
 
LVL 35

Assisted Solution

by:torimar
torimar earned 500 total points
ID: 36601237
By "local repo" I meant the local mirror of the online repository which you create on your local machine by using an SVN client. That is the main point of using SVN in the first place.

If you are just a user, not a developer or administrator of the project, then basically all you need are the "checkout" and "update" commands.
The "import" command is of adminstrative use. The "export" feature only works if a working local mirror already exists, it will then strip the internal SVN meta folders from the project. If this is what you want (i.e. a working copy of the project for further distribution untainted by SVN version management), then you will have to "checkout" first, "export" afterwards.
0
Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
LVL 12

Author Comment

by:jazzIIIlove
ID: 36707931
So; to rephrease (correct me if I am wrong):

1) checkout = get the latest copy?
2) update = update an existing copy to its latest version?
3) import = ?
4) export = get the latest copy without the meta folders of SVN?
5) To have the copy for the first time; in local machine, create folder and checkout?
6) To have the latest copy right ; in local machine, click on the existing copy and update?

Right?

Kind regards.
0
 
LVL 35

Assisted Solution

by:torimar
torimar earned 500 total points
ID: 36708522
That's mostly correct with one exception:

In order to do 4) you first need to have done 5). You can only export an existing version folder (to some other folder where you will then have the purged version for further use).
0
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 36708721
Ok, so exporting means that exporting from svn server to local machine?

What about importing?

Regards.
0
 
LVL 35

Assisted Solution

by:torimar
torimar earned 500 total points
ID: 36708782
No, exporting means to create a non-SVN local copy of the project from the local SVN mirror on your machine; this is for using/distributing the project itself, without the version control overhead.

Importing will import another project or parts of it into the present project. You should not use it unless you are an administrator.
0
 
LVL 12

Author Comment

by:jazzIIIlove
ID: 36708907
"... from the local SVN mirror on your machine"
or from remote SVN server?

Right?

(This is the final question, thanks for your patience :)

Kind regards.
0
 
LVL 35

Assisted Solution

by:torimar
torimar earned 500 total points
ID: 36709214
"or from remote SVN server?"

No, from the local SVN mirror. If you want the exported copy to reflect the current newest version as held by the remote SVN server, run an "update" on the local mirror first before you "export".
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Apps blocked by Java 9 88
Regular Expression Calculator Tester 2 80
Bot application - advice 3 38
Create .bat File 16 34
This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question