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

bug\patch: In UpdateCurrentStatus(): UpdateShell not always called if status changed

From: Gunnar Dalsnes <hardon_at_online.no>
Date: Thu, 27 Aug 2009 15:19:41 -0700 (PDT)

if ((newStatus != m_currentFullStatus)&&(m_ownStatus.IsVersioned()))
        {
                if ((m_currentFullStatus != svn_wc_status_none)&&(m_ownStatus.GetEffectiveStatus() != svn_wc_status_ignored))
                {

The m_currentFullStatus != svn_wc_status_none seems wrong, and causes a problem where the shell status is not refreshed if a WC don't have any changes. How the problem appears for me:
I have a folder E:\X containing 3 WC's where 2 have changes and one don't. I start at E:\, kill TSVNCache then enter folder X. Overlay for the WC without changes never shows (must press F5).

I rewrote the code how I think is more correct (patch) and it seems to fix the problem, thou it could be wrong (I didn't really understand the old code).

Received on 2009-08-28 08:29:16 CEST

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.