Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I check my svn connection?

Tags:

How can I check my svn connection?

I just want to try to connect to server and check the status of my connection.. After that I will do something like check out and etc. well may be another way to get it?

like image 389
Vepr Avatar asked May 11 '10 08:05

Vepr


People also ask

How do I know if I have svn access?

To check whether it is installed or not use following command. If Subversion client is not installed, then command will report error, otherwise it will display the version of the installed software. If you are using RPM-based GNU/Linux, then use yum command for installation.

How can I tell if svn is working?

Use svn status command to get the status of the file in the working copy. It displays whether the working copy is modified, or its been added/deleted, or file is not under revision control, etc.

How do I check 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.


1 Answers

If you do not have any checked-out working copy, you can use

svn ls svn://server/repo 

which lists contents of the repository if connection is successfull.

Other parameters like --username ABC --password XYZ and --non-interactive can be useful too if you are e.g. testing your credentials validity. Also, adding --depth empty should produce empty output if it succeeds (could be useful for scripting purposes).

like image 191
cin Avatar answered Sep 28 '22 03:09

cin