tags:

views:

73

answers:

3

i have this command "TortoiseProc.exe" /command:update /path:"D:\Work_SVN\projectname"/notempfile

to update working copy.

I also have 'svn st -u' to check for modifications from repository. How to use this command in above syntax.

Bibhu

+1  A: 

Read the manual!

In general, you cannot just execute the status command of SVN with TortoiseProc. However, you can open the repostatus window using /command:repostatus.

(here follows a rephrase from the Manual)

Remember that TortoiseSVN is a GUI client, and this TortoiseProc allows you to make the TortoiseSVN dialogs appear to collect user input. If you want to write a script which requires no input, you should use the official Subversion command line client instead.

(rephrase from the Manual ends here... geesh)

Kornel Kisielewicz
You should blockquote the passage from the documentation so that it's clear that it's not your words.
Michael Hackner
@Michael - it isn't a direct quote.
Kornel Kisielewicz
Replace "TortoiseProc allows you" with "automation guide shows you how" and the rest is, word-for-word, identical to the second paragraph in the link you included to the documentation! Maybe it's a coincidence.
Michael Hackner
A: 

Use the command line client for scripting, not a GUI. You wouldn't script copying files from one directory to another by simulating the mouse clicking and dragging, would you?

Michael Hackner
A: 

You use the update subcommand:

svn update "D:\Work_SVN\projectname"

Type svn help update to see all its options and svn help to learn about all subcommands. See also the svn update chapter in the Version Control with Subversion book.

Álvaro G. Vicario