[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[TSVN] Question about TortoiseSVN automation

From: vcf <vcf_at_free.fr>
Date: Wed, 09 Jan 2008 18:10:42 +0100

( 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.

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 ?

I see in sources code of TortoiseProc some progDlg.DoModal(); so mabe
add a return value from DoModal, step by step will be great.
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 ;(

If anybody have already a solution ( not CommitMonitor!! ) , you can
contact me.


Olivier ( one of french translators of TSVN )
Received on 2008-01-09 18:10:52 CET

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.