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
317 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

A short article about problems I had with the new location API and permissions in Marshmallow
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 will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump 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 …

726 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