开发者

Subversion command scripts

开发者 https://www.devze.com 2022-12-17 06:26 出处:网络
i have this command \"TortoiseProc.exe\" /command:update /path:\"D:\\Work_SVN\\projectname\"/notempfi开发者_C百科le

i have this command "TortoiseProc.exe" /command:update /path:"D:\Work_SVN\projectname"/notempfi开发者_C百科le

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


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)


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?


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号