Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SVN check out linux

Tags:

My uname -a reads :

root@edu [~]# uname -a Linux edu.educationlinked.com 2.6.18-028stab068.3 #1 SMP Tue Feb 16 20:21:42 MSK 2010 x86_64 x86_64 x86_64 GNU/Linux 

I am not sure which Linux OS is this?

I already have a repository hosted at a free repository and i use Tortoise SVN on windows as the client. I need to do the check out etc on a Linux machine mentioned above.

I have read and read and got confused about what to use? Can someone please help me.

like image 641
Asif Avatar asked Jan 26 '11 12:01

Asif


People also ask

How do I check out in svn?

Check out files from Subversion repositoryIn the Get from Version Control dialog, click Add Repository Location and specify the repository URL. Click Check Out. In the dialog that opens, specify the destination directory where the local copy of the repository files will be created, and click OK.

How do I checkout from svn in terminal?

Open the SVN server, right-click on the repository and select the copy URL to clipboard (for the VIsualSVN server) and paste it on the command line. User credentials will be the same as what we set at the time of user creation. After every successful checkout operation, the output will print a revision number.

What does check out mean in svn?

svn checkout checks out (retrieves) a working copy of the repository into the specified folder. If you don't have access to the repository, and there's not already a current copy of the source in the folder, you can't possibly do a build. If there is a current copy of the source there, it should include build. xml .

How do I checkout tag in svn?

As such, to checkout a tag, you check out with your URL referencing the directory. To commit back that tag, you do a normal commit. To commit back to a different tag, you svn copy the files into the new "correct" tag directory, which you might have to mkdir ...; svn add (dir) prior to the svn copy.


2 Answers

There should be svn utility on you box, if installed:

$ svn checkout http://example.com/svn/somerepo somerepo 

This will check out a working copy from a specified repository to a directory somerepo on our file system.

You may want to print commands, supported by this utility:

$ svn help 

uname -a output in your question is identical to one, used by Parallels Virtuozzo Containers for Linux 4.0 kernel, which is based on Red Hat 5 kernel, thus your friends are rpm or the following command:

$ sudo yum install subversion 
like image 101
YasirA Avatar answered Sep 27 '22 20:09

YasirA


You can use checkout or co

$ svn co http://example.com/svn/app-name directory-name 

Some short codes:-

  1. checkout (co)
  2. commit (ci)
  3. copy (cp)
  4. delete (del, remove,rm)
  5. diff (di)
like image 38
Arshid KV Avatar answered Sep 27 '22 19:09

Arshid KV