27

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

1 Answer 1

29

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.

Sign up to request clarification or add additional context in comments.

4 Comments

Thanks i have updated my packages now svn commands are working.
You can also use the Tortoise SVN installed svn client from within Cygwin. Remember to adjust the paths for non-unix requirements though.
Search for 'subversion' in setup.exe. (Found by searching cygwin.com/packages for 'svn'.)
The "UPDATE" in the answer is the key thing. The svn command-line command is packaged under "subversion".

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.