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

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

From: Arne Haarseth Christian <arnechaa_at_online.no>
Date: 2005-07-24 17:56:13 CEST

Thank you for your answer.

I should have been more presise. I do not ask for automatic adding, only that files that have been specified with the path option be automatically checked.

I find this logical. If a file has been explicitely marked for commit with path option then it is most likely that the user actually wants to (add and) commit the file. The user can always change his mind as long as the file is only pre-checked, not autoadded. Don't you agree?

The reason I don't add the files is that it is tricky to figure out if the file is already versioned from the OpenOffice macro (and global variables seem to be lost in close-event i OO).

Arne

PS: Please send CC reply to arnechaa @ online.no

> From: SteveKing [steveking@gmx.ch]
> Sent: 2005-07-23 10:31:05 CEST
> To: dev@tortoisesvn.tigris.org
> Cc: arnechaa@online.no
> Subject: Re: [TSVN] Feature request: automation autocheck and autoadd
>
> 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
>
> Stefan
>
> --
> ___
> 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 Sun Jul 24 17:57:47 2005

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