Use SVN command line tool Subversion download in Windows

Source: Internet
Author: User
Tags subversion download svn client tortoisesvn
Of course, you don't need to install any more software in Linux. we have introduced TortoiseSVN, the svn client software in Windows, which is a completely graphical interface.

Of course, you don't need to install any more software in Linux. I have introduced TortoiseSVN, the svn client software in Windows. it is a completely graphical interface, and I am very upset, if you want to use the command line in windows, you must install the Subversion. (We recommend that you download Win32SVN ).
After the installation is complete, you need to add the Subversion bin directory to the path environment variable.
At the beginning, an error occurred when using the command:
Svn: E205007: log information cannot be obtained using the external editor. consider setting the environment variable $ SVN_EDITOR or using the-message (-m) or-file (-F) option.
Svn: E205007: SVN_EDITOR, VISUAL, or EDITOR environment variables are not set. The "editor-cmd" option is not available in the configuration parameters during runtime.
This prompt requires you to specify a log recording file or add a SVN_EDITOR variable to the system environment variable. Select either of them.
Method 1: Add a SVN_EDITOR variable to the system environment variable.
1. right-click "My Computer"-> Properties-> Advanced-> environment variables-> System variables-> New-> variable name: SVN_EDITOR; variable value: notepad-> OK.
2. open the svn repository Directory-> open the conf Directory-> open svnserve in Notepad or editor. conf-> Find a row: # anon-access = read-> Delete #, and then add anon-access = write to the row.
After completing the settings. Open a new command line window so that the modification will take effect.
Ps: If the second step is not completed, the system prompts "authentication failed ". This method is inconvenient because a window will pop up every time svn is executed.
Method 2: specify a log file.
1. create a log file log.txt on drive C, with the content blank.
2. execute the command svn commit abc.txt-F c: \ log.txt

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.