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

[TSVN] Feature request: automation autocheck and autoadd

From: Arne Haarseth Christian <arnechaa_at_online.no>
Date: 2005-07-20 01:13:52 CEST


I am making an OpenOffice macro which will automatically version control a document when you close the document. I do this with a command line called from the macro like this:

TortoiseProc.exe /notempfile /command:commit /path:"C:\Some_path\Some_file.sxw" /logmsg:"Some msg entered in Open Office" /closeonend

Since TortoiseProc will automatically run "add" I do not bother to do this first.

To automate this as much as possbile I would like TortoiseProc to check the specified automatically so that all the user has to do is click OK (possibly after checking if there are som other files that needs versioning). The way it is now (in v. 1.2.1) the file is only automatically checked if the file is already versioned.

This could either be fixed silently by automatically check all files that are listed on the command line or perhaps with a spesific option?

If the directory is new then TortoiseSvn will give an error message:
'C:\Some_path\Some_file.sxw' is not a working copy'
I guess this is because the directory is not versioned yet. In this case I would like TortoiseSVN to suggest adding the directory as well as the file without giving an error message.

There should also be an option to only display a "completed message", possibly with a warning if the folder contains non versioned files. (It doesn't seem like "/closeonend" has any effect?).

NB! I do not subscribe to this list, please CC reply to arnechaa @ online.no


To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Jul 20 23:06:26 2005

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.