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

Re: /closeonend: commandline parameters

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 15 Jul 2011 18:18:10 +0200

On 15.07.2011 16:31, Tommi Prami wrote:
> Hello,
>
> I think that Documentation on this should be more clear. Because I
> (Maybe it is just my English skills), really don't understand how that
> really should work.
>
> /closeonend:3 seems to my testing be close what I need, but either it is
> not actually what I need or it is buggy. I was using it very happily,
> when I realized one project had been quite active for long time, and I
> never saw that activity. There had been lots of updates etc...

/closeonend:3 auto close if no errors, conflicts and merges

That means it closes if there are either no updates, or updates that
went through without merging, i.e. the updates files had no local
modifications.

So it's working properly.

> I need the parameter which closes all those windows where are no
> updates, additions, merges, deletes or errors. So basically close those
> updates which log look like this :
>
> Command Update
> Completed At revision: 4657
>
> or
>
> Command: Update
> External: C:\Source\Graphics32\externals\VPR
> Completed: C:\Source\Graphics32\externals\VPR - at revision: 23
> External: C:\Source\Graphics32\externals\Clipper
> Completed: C:\Source\Graphics32\externals\Clipper - at revision: 170
> External: C:\Source\Graphics32\externals\PascalType
> Completed: C:\Source\Graphics32\externals\PascalType - at revision: 49
> Completed: At revision: 1407
>
> And documentation is here :
>
> http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-automation.html
>
> And /closeonend:4 will (in my expirience) never close the window...

No, /closeonend:4 will auto close windows for local operations like
revert. But update isn't a local operation since it contacts the
repository. So for updates, it never closes the window automatically.

What you want is to autoclose for nops (operations where nothing is
actually done). There's no option for that, and honestly: I won't add
one - I don't see any _good_ reason to add that option. If you want to
monitor a project for updates, use the CommitMonitor:
http://tools.tortoisesvn.net/CommitMonitor.html

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2794304
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-07-15 18:18:24 CEST

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

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