Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
746 views
in Technique[技术] by (71.8m points)

svn - How to use TortoiseSVN via command line?

I use TortoiseSVN and want to use command line SVN options.

I used the command:

svn checkout [-N] [--ignore-externals] [-r rev] URL PATH

and get the following error:

'svn' is not recognized as an internal or external command

Is it because I need to add some environment variable? Or can't TortoiseSVN be used from the command line?

Question&Answers:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

By default TortoiseSVN always has a GUI (Graphical User Interface) associated with it. But on the installer (of version 1.7 and later) you can select the "command line client tools" option so you can call svn commands (like svn commit and svn update) from the command line.

Here's a screenshot of the "command line client tools" option in the installer, you need to make sure you select it:

How-to-install-TortoiseSvn-CommandLineTools


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...