Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to use svn commands in Cygwin

Tags:

svn

cygwin

How can I use svn export, svn checkout etc commands in Cygwin?

Do I need to install any other feature? I am using version 2.738.

For example, I'd like to be able to run

svn export http://svn/trunk/Test/code /TESTEXPORT
like image 504
Code Hungry Avatar asked Feb 21 '12 14:02

Code Hungry


People also ask

How do I access TortoiseSVN from command line?

Locate TortoiseSVN and click on it. Select "Change" from the options available. Refer to this image for further steps. After completion of the command line client tools, open a command prompt and type svn help to check the successful install.

How do I get svn on Windows?

You can download svn on windows without registration. Install Chocolatey chocolatey.org/docs/installation , and then type choco install svn . The subversion download on CollabNet is no where to be found and all the links are redirected to the home page.

How can I tell if svn is installed on Windows?

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.


1 Answers

Yes, you do. Check the packagelist in the cygwin setup.exe, and pick all the svn-like packages then install them. For typical usage such as update, commit, show history it's almost perfect.

UPDATE
(not to steal credit but apparently an important addition)

The package "subversion" should be installed as well.

like image 129
Gergely Bacso Avatar answered Oct 05 '22 23:10

Gergely Bacso