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

Re: Updating the "check for modifications" dialog after file updating?

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Wed, 26 Sep 2012 21:58:24 +0200

On 26.09.2012 10:20, Niemann, Hartmut wrote:
> Hi!
> I just ran the "check for modifications" dialog.
> Then I updated some files.
> For these updated files to vanish from the list of modifications, I
> needed to press "Refresh".
> I wonder whether it would be a good idea to "auto-refresh" those lines that
> have been acted on in this dialog window. The "Refresh" button would
> then be needed
> only for those changes that happen "behind the back", in another window
> or on the server.
> Would that be possible? Would you think that would help?
> Interestingly: if you delete a file, it vanishes from the list immediately.

When you update files from the CfM dialog, a new TortoiseProc.exe
process is started which does the updating.
Since the CfM dialog does not know when and if the update finishes and
if it finishes successfully, it can't refresh itself.

We'd have to implement some IPC mechanism to improve that situation. Not
sure if this is worth the effort.

When you delete a file, it's deleted directly in the CfM dialog and
therefore the UI can be updated after the deletion.

> A little irritating is that you can check the server state, but if you
> refresh afterwards, the
> "Remote status" is empty again. One might think that there are no
> differences left.
> I would prefer that the "remote" information is kept current, i.e. if
> the user pressed
> "Check Repository", the check will be performed after every refresh.
> An alternative would be to mark the Remote stautus as unknown ("?") to
> distinguish
> a clean status (WC equal to server side) better from unknown (server has
> not been asked).

For slow servers or connections, checking the remove state can take a
very long time. So refreshing alone should not check the repository.
If you really want to always check the repository:
Settings dialog->Dialogs 2->Contact the repository on startup

However showing "???" for remote info if the repository hasn't been
asked is a good idea.
http://code.google.com/p/tortoisesvn/issues/detail?id=419

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=3010472
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-09-26 21:58:33 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.