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

Re: Betr.: Re: Betr.: Enhancement Request: Icon overlays for non-updated working copies

From: Gert Kello <gert.kello_at_gmail.com>
Date: Fri, 5 Aug 2011 09:13:02 +0300

>> To keep everyone happy, isn't there a simpler sollution to this problem
>> than the overlay icons?
>> How about including a simple GUI tool that allows to search for pre 1.7
>> working copies in a given path, show the user a list and offering to
>> upgrade the ones they select.
>> That way the code is only in memory if needed, typically only executes
>> once and the user doesn't even have to browse to all the working copies
>> and click them individually so he could win some time.
>
> Well, we *could* do something like this.
> But it's like spending a years salary on one meal - I know there are
> crazy people who actually do that, but I'm not one of them.

What about following script? You could call some "upgrade wc" command
instead of echo

(saved in some xxx.cmd file)

@ECHO OFF
set testwc=%~f0
set loc=%1
for /D %%i IN (%LOC%\*.*) DO IF EXIST %%~fi\.svn (IF NOT EXIST
%%~fi\.svn\wc.db ECHO %%~fi) ELSE (call %testwc% "%%~fi")

Gert

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2809596

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2011-08-05 08:13:07 CEST

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