适用于 Windows 的命令行 svn? [英] Command-line svn for Windows?
问题描述
是否有用于 Windows 的基于命令行的 svn
版本?我知道我可以获得 TortoiseSVN,但这对我不起作用.
Is there a command-line based version of svn
for Windows? I know I can get TortoiseSVN, but that just doesn't work for me.
推荐答案
TortoiseSVN 包含控制台 svn 客户端,但默认情况下安装时不启用相应选项.
TortoiseSVN contains a console svn client, but by default the corresponding option is not enabled during installation.
svn.exe
可执行文件不是独立的,它依赖于分发中的一些其他文件1,但这在大多数情况下应该不是问题.
The svn.exe
executable is not standalone and it depends on some other files1 in the distribution but this should not be a problem in most cases.
安装后,您可能需要将包含 svn.exe
的文件夹添加到系统 PATH
中,如此处 以便它在您的控制台中可用.要检查它是否已由安装程序添加,请打开 new 控制台并键入 echo %PATH%
.单独使用 set
来查看所有环境变量.
Once installed you might need to add the folder containing svn.exe
to the system PATH
as described here so that it is available in your console. To check if it was already added by the installer open a new console and type echo %PATH%
. Use set
on its own to see all environmental variables.
1 对于 TortoiseSVN 1.14.1 中的 svn*
可执行文件,PATH
上需要以下文件:
1 for the svn*
executables in TortoiseSVN 1.14.1, the following files are required on the PATH
:
intl3_tsvn.dll
libaprutil_tsvn.dll
libapr_tsvn.dll
libsasl.dll
libsvn_tsvn.dll
这篇关于适用于 Windows 的命令行 svn?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!