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
310 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
 
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
Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

 
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

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.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

758 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now