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

Patch\bug: when entering unvers. dir with versioned subdirs, subdirs get status-none

From: Gunnar Dalsnes <hardon_at_online.no>
Date: Thu, 3 Sep 2009 16:11:17 -0700 (PDT)

Never got a reply to http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2388701.

Patch fix a bug introduced in r16659 (Prevent a stack overflow under certain circumstances by preventing an endless recursion if the path doesn't change). This change effectively disabled 'return dirEntry->GetStatusForMember(path,bRecursive)', because (!dirEntry->m_directoryPath.IsEquivalentToWithoutCase(path)) can never be true.
This cause (initial) status to always be status-none for WC base folders.

Patch uses mush simpler\better logic to prevent (infinite) recursion.

Received on 2009-09-04 05:27:52 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.