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

Re: [TSVN] Feature request: automation autocheck and autoadd

From: SteveKing <steveking_at_gmx.ch>
Date: 2005-07-23 10:31:05 CEST

Arne Haarseth Christian wrote:

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

TSVN will only add files that you *check* in the commit dialog. Adding
files automatically without user interaction is a *very bad thing* to do!

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

Sure, see my comment above.
If you really want to have files added automatically, use the add
command before you commit.

> 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?).

The '/closeonend' param has changed in 1.2.x. Check the docs!
You now need to add a number indicating when to close automatically to
the param:

/closeonend:0 don't close the dialog automatically
/closeonend:1 auto close if no errors
/closeonend:2 auto close if no conflicts
/closeonend:3 auto close if no merges


   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Sat Jul 23 10:31:29 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.