Automating 'Checkout' using TortoiseProc

600 views
Skip to first unread message

Sharma, Taruna

unread,
May 28, 2010, 4:57:50 PM5/28/10
to d...@tortoisesvn.tigris.org, us...@tortoisesvn.tigris.org

Hello,

 

I’m wanting to use the Command line Client of Tortoise SVN : TortoiseProc, to do an automated Checkout of a given URL, to a given path.

 

If I use the command:

TortoiseProc.exe /command:checkout /path:”<path>” /url:"<URL>"

TortoiseProc is still showing up the Dialog box, where I need to click on “OK” button, so that the checkout can begin.

 

If I want this process to run silently, in a command line, when no one is physically in front of the machine to hit the OK button,

How can I do this ?

 

 

How can I avoid the Dialog box from being shown ? In other words, is there a fully CLI version of Tortoise SVN ?

 

 

Thanks,

Taruna

Dmitriy Kravtsov

unread,
May 29, 2010, 5:54:41 AM5/29/10
to d...@tortoisesvn.tigris.org
Hi,
You can read this appendix of TortoiseSVN manual - http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-automation.html
And add this options to your CLI query:
  • /closeonend:0 don't close the dialog automatically

  • /closeonend:1 auto close if no errors

  • /closeonend:2 auto close if no errors and conflicts

  • /closeonend:3 auto close if no errors, conflicts and merges

--
Dmitry S. Kravtsov

Dmitriy Kravtsov

unread,
May 29, 2010, 6:00:12 AM5/29/10
to d...@tortoisesvn.tigris.org
Oh, I'm sorry, I give you a wrong info, because I misunderstood your question.
I guess you can use a standard command line client for Subversion, which you can get from Collabnet
http://www.collab.net/downloads/subversion/
After installing you can enter "svn help co" and read how to use a checkout from CLI.

--
Dmitry S. Kravtsov
Reply all
Reply to author
Forward
0 new messages