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