Reputation: 161
I am trying to automate my checkout process using SVN version 1.6.6.
When I call
call "C:\Program Files\TortoiseSVN\bin\SubWCRev.exe" checkout URL
I get this message.
SubWCRev 1.6.6, Build 17493 - 32 Bit
And when I call the following just a window pops up.
call "C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe.exe" checkout URL
What am I doing wrong?
Upvotes: 0
Views: 36022
Reputation: 395
Writing a batch file and including the checkout command would be a better option to fully automate the given scenario.
svn checkout [url] [path]
[path] is optional.
Upvotes: 0
Reputation: 97280
TortoiseSVN 1.7 has a command-line Subversion client. Check the installer.
Upvotes: 1
Reputation: 51311
TortoiseSVN is a program for SVN integration into the Windows Explorer shell. You get the normal command-line Subversion at http://subversion.apache.org/packages.html
.
The command-line for checkout is (if the Subversion directory isn't in the PATH
-variable, you have to prepend the command with the path to Subversion):
svn checkout <url>
Upvotes: 7
Reputation: 15525
It looks like you have (only?) installed TortoiseSVN under Windows. For using the command line efficiently, you should install the command line version of Subversion, you will find installation files at Download Binary Packages at subversion.apache.org.
If you insist to do a checkout with TortoiseSVN by using the command line, this is documented in the help of TortoiseSVN under "Appendix D. Automating TortoiseSVN".
The command you search for looks like
"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:checkout /path:my-example /url:"http://my.server.com/svn/trunk/my-example"
But be aware: This will open a dialog window, and you have to manually press the "Ok" button for it to work.
Upvotes: 6