> ( Hops.. my first message was in the wrong topic :-( )
> Hello All ;)
> Sorry for my english, I need some help about my project.
> The goal is make an application tray , able to check for defined working
> copies, check if needs an update ( check server side revision ) and by
> option, automatic/silent update.
Very bad idea. Automatic updates can only lead to problems. What do you
do if there's a conflict during an update?
Or if someone has a file open with unsafed changes, and your automatic
update modifies the underlying file? The user would loose his changes.
> As this project is for client desktop only, already using TSVN, I
> prefere to NOT instal SVN on this computers.
> As I prefere installing only TSVN on this computers, I DO NOT WANT write
> myself again another SVN client.
> As TSVN have nice update checking system, my client so be updated in
> easy way.
> So something as TortoiseProc.exe /command:update but if only needed will
> be nice, with success/fail box ( |/closeonend:5 -> only result box
> showed ? )|
> I test TortoiseProc.exe automation, but , according the question of
> Sönke Frantz ( Subject: Re: Return values from TortoiseProc?
> ) My question it is noway to have any return action from TortoiseProc.exe ?
No, as explained several times already, there's no way to return a value
on the command line. TSVN is a GUI app, not a console app.
> I see in sources code of TortoiseProc some progDlg.DoModal(); so mabe
> add a return value from DoModal, step by step will be great.
But where would that return value be passed on?
> Or, just an idea, add a special parameter for example "/output" as
> *TortoiseProc.exe /command:update** /output:"c:\svn_result.xml\"**
> /path:"c:\svn_ct\" /notempfile /closeonend
> For instance I just launch _spawnl(_P_WAIT, "C:\\Program
> Files\\TortoiseSVN\\bin\\TortoiseProc.exe", "TortoiseProc.exe",
> "/command:update /path:\"F:\\Dev\\MyProject\" /notempfile
> /closeonend:1", NULL); but no idea about success or not, or last commit
> revision/author/date, any server error or, lol, locals files busy..
> So not a 'blind' automation in fact ;(
Use the right tool for the right job: use the command line tool.
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
To unsubscribe, e-mail: dev-unsubscribe_at_tortoisesvn.tigris.org
For additional commands, e-mail: dev-help_at_tortoisesvn.tigris.org
Received on 2008-01-09 19:03:32 CET