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
314 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
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

ScreenConnect 6.0 Free Trial

Discover new time-saving features in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
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 …

832 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