[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
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
Medium Priority
?
333 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 2000 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 2000 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
Independent Software Vendors: 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!

 
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 2000 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 2000 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 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

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.
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
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 …
Progress

834 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